Document toolboxDocument toolbox

Archiving the NetMRI Database

Use the Archive Database tool (Settings icon > Database Settings > Archive Database) to manually generate a local archive of the current database. The database can also be automatically archived; see Remote Config Archive for more information.

To prevent loss of data in the event of an appliance hardware failure, make database archive copies on a regular basis and store them in a safe place. If no recent database archive exists and NetMRI has an unrecoverable error, then all data will be lost.

By default, NetMRI automatically generates a database archive file once every week. Depending on the size of the database, archiving may take a few minutes, because the entire database is copied to a disk file and compressed.

Note

Because the NetMRI data collection continues during archiving, plan both processes accordingly.

Note

In case of low space to extend the backup storage, run the provisiondisk command in the administrative shell and re-execute the creation of the archive file. For more information, see provisiondisk command.

To archive the NetMRI Database locally, perform the following:

  1. Go to the Settings icon > Database Settings > Archive Database.
  2. Choose Download archive file to the local system.
  3. Click Create Archive.

To create an archive file on a remote system, perform the following:

  1. Go to the Settings icon > Database Settings > Archive Database.
  2. Choose Upload archive to a remote system.
  3. For each remote system, specify the following:
    • Hostname/IP Address
    • Port
    • Username
    • Password
    • Use SSH keys: Select this to use SSH keys instead of passwords. For more information about SSH keys, see ssh-key commands.
    • Directory
    • Include date in filename: Check to date-stamp the archive file name.
      To archive the database to another NetMRI appliance, enter admin as the Username and enter Backup as the Directory.

  4. To test the configuration, click Test Connection.
  5. If the test is successful on the remote server, click Create Archive.
  6. In the Create Archive dialog box, click Show Details to view the process as it happens.
    During archiving, do not refresh the page or close the window. Such actions may generate an incomplete database archive file.
  7. When archiving is complete, a status message allows return to the original page and provides a link to a generated MD5 Checksum file. This file is recommended if you need to restore from a database you have stored on your computer. Click the MD5 Checksum link and choose Save in the dialog.