Backing Up the Database
To protect against accidental loss of data, we recommend you to take regular backups of the internal database in which CentraSite's registry and repository data is stored. When you make a backup, you copy the contents of the internal database to a file on the file system. At a later stage, you can retrieve the contents of a backup and restore them into the internal database.
When you create a backup, the backup file is stored by default in the predefined location for backups, but you can optionally specify a different backup location. For more information about predefined locations, see
Locations.
Note: | During the installation of CentraSite, a backup of the initial database state is automatically created, with a timestamp equal to the date and time when you install the product. If you for any reason wish to restore the database to its initial state, i.e., the state immediately after product installation, you can use this backup. |
To back up the internal database
1. Decide whether you want to create the backup in the default backup location or in a different location.
2. If you want to create the backup in the default backup location, use the following command:
inoadmin backup CentraSite
If you want to create the backup in a location other than the default backup location, use the following command:
inoadmin backup CentraSite <Location>
where <Location> is the path where the backup will be created, for example:
inoadmin backup CentraSite C:\SoftwareAG\AnotherBackupLocation
The location you specify must exist already, otherwise the backup will not run.
The Backup Key
When the backup completes, a status message is output on the command line, indicating the date and time when the backup was created. In addition, a backup key is displayed. The backup key is a unique identifier for the backup. If you wish to restore the backup at a later stage, you identify the backup using the backup key.