Restoring an Enterprise NetProfiler

The mazu-sync utility restores the Enterprise NetProfiler to the state that existed when the backup was created, except that it does not change the basic network settings that are configured on the Administration > General Settings page.  

Current data on the Enterprise NetProfiler is lost when the mazu-sync utility is run.

The mazu-sync utility is run from the command line on the Database Module in the format:

mazu-sync --pull SOURCE-DIR [options]

where SOURCE-DIR is the backup directory and is specified using the [user@]host:path syntax as with the scp command.  For example, to restore from a full backup:

  1. Ensure that the restore requirements have been met.   more

  2. Ensure that keyless SSH access between the backup server admin account and the NetProfiler mazu account is configured.

  3. Ensure that all applicable licenses are installed on the Enterprise NetProfiler that is to be restored. 

  4. Initiate an SSH connection to NetProfiler Database Module and log in as mazu.

  1. On the NetProfiler, if no password is required for the backup image, run the restore command as follows:

To run a full restore of the NetProfiler (requires that you ran a full backup), run the restore command in the following format:

/usr/mazu/bin/mazu-sync --pull admin@backup-server.company.com:/backup/mazu --all

To restore a NetProfiler without restoring traffic flow logs or user identity logs, run the restore command in the following format:

/usr/mazu/bin/mazu-sync --pull admin@backup-server.company.com:/backup/mazu --no-logs

  1. If the sensitive data in the backup image has been protected by a password and encryption, you must enter the password either on the command line or from STDIN.

For entering a password from the command line, use the following commands instead of the commands shown in Step 5:

/usr/mazu/bin/mazu-sync --pull admin@backup-server.company.com:/backup/mazu --all --pass 'yourpassword'

/usr/mazu/bin/mazu-sync --pull admin@backup-server.company.com:/backup/mazu --no-logs --pass 'yourpassword'

For receiving a password from STDIN, use the following commands instead of the commands shown above:

/usr/mazu/bin/mazu-sync --pull admin@backup-server.company.com:/backup/mazu --all --pass STDIN

/usr/mazu/bin/mazu-sync --pull admin@backup-server.company.com:/backup/mazu --no-logs --pass STDIN

Notes

  • To see other available options for mazu-sync, run mazu-sync --help on the NetProfiler command line.

  • If there are multiple backup image folders in the path you specified, mazu-sync will restore the latest image available.

Requirements for restoring a system

Restoring a system