# Backing up and Restoring Nx Witness Database

Navigation: Working with Nx Witness > # Backing up and Restoring Nx Witness Database |

You can c reate a backup of the System database of System settings, user rights and settings, and device configurations, which can be restored in case of failure. I f a user creates the backup in the Client, the file is saved as a *.db file. Nx Witness creates a database backup automatically when the product version is updated and when Systems are merged (see "Merging Servers with Another System"). If the backup is created automatically, the file is saved as a *.backup file.

The System database does not include archives, server data, or local settings.

The default database backup location is C:\Windows\System32\config\systemprofile\AppData\Local\Network Optix\Network Optix Media Server on Windows and /opt/networkoptix/mediaserver/var on Linux.

IMPORTANT: It is best to backup and restore the database on the same computer.

To back up Nx Witness database

1.Go to Main Menu -> System Administration.

2.In the Backup and Restore section, c lick Create Backup.

3.In the dialog that opens, choose a location on the local file system, enter a file name for the backup, then click Save.

To restore Nx Witness settings from backup

1.Go to Main Menu -> System Administration -> General.

2.In the Backup and Restore section, click Restore from Backup.

3.In the dialog that opens, find the desired database backup file (*.db), then click Open.

4.Click OK in the confirmation dialog to restore the database.

Servers will restart automatically when the System is restored from backup. It will

IMPORTANT: It may be necessary to restart s ervers and Nx Witness clients after restoring a database.