A properly planned backup strategy is essential, to
safeguard against data loss in the case of system failure.
CodeMatrix supports in flight backups with no loss or
degradation of service during the backup process.
Furthermore CodeMatrix has the facility to record client
changes in the database allowing a centralised backup to
protect against client data loss. See
recovery for
details on restoring a backup in the event of failure.
To take a backup copy of the database take the following
steps.
1) Issue the command
cx snapshot
this records the latest complete transaction and puts the
server in backup mode. Backup mode alters the manner in
which database writes occur, but does not affect operation
or performance. It does use extra disk space for updates
so should be turned off upon completion.
2) Use your chosen backup software to copy all
repositories and the CodeMatrix install folder
to the backup media. Partial backups should not be taken.
3) Issue the command
cx snapshot
-end this turns off backup mode.
To identify a list of repositories and their physical
locations use the command
cx ls -nS //.
To ensure that all client updates are uploaded to the
database prior to a backup use the
synchronize command on each client computer.
NB; It is essential that newly created repositories are
included in the backup strategy. For this reason you
should adopt a policy to ensure this happens, either by
using a common root folder for repositories or by
extending the backup to include new repositories. In the
CodeMatrix enterprise edition this can be enforce through
access rules.
|