Backing Up the Database
Pre-requisites:
To back up the database information through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
To protect against accidental loss of data, Software AG recommends that you 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.
CentraSite provides a command tool named backup for this purpose.
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
Configuring
CentraSite Database LocationsNote:
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, that is, the state immediately after product installation, you can use this backup.
You must decide whether you want to create the backup in the default backup location or in a different location. If you are choosing a different location, you must specify a location that already exists, otherwise the backup will not run.
To back up the internal database
To create the backup in the default backup location, run the command backup. The syntax is of the format: inoadmin backup <server>
Example (all in one line):
inoadmin backup CentraSite
To create the backup in a location other than the default backup location, run the command backup with <Location> parameter. The syntax is of the format: inoadmin backup <server> <Location>
where, <Location> is the path where the backup will be created.
Example (all in one line):
inoadmin backup CentraSite C:\SoftwareAG\AnotherBackupLocation
The Backup Key
When the backup completes, a status message appears 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.