Locking databases for backups

Locking the database prevents users from performing actions that write to the database, such as adding and checking out files. Users can only perform read-only actions, such as getting or viewing files. This helps ensure that all data is included in the backup.

Note: The database is automatically unlocked if you restart the Surround SCM Server.

1. Choose Tools > Administration > Database Lock.

The Database Lock dialog box opens.

2. Click Lock Database.

The database is locked. If users perform actions that require writing to the database while it is locked, a message is displayed that explains that the action cannot be performed because the database is locked.

3. After you complete the backup, unlock the database. Choose Tools > Administration > Database Lock, select the locked database, and click Unlock Database.