Backing up ElastiCenter configurations
How to backup and restore ElastiCenter configuration
By default CloudByte schedules a backup everyday. You can modify the settings using the following options in Global Settings:
But, in the case you need to do a manual backup, follow the steps:
- In the ElastiCenter server, at command prompt, run the following:
- Run the following command to create backup file:
./backup.sh. The backup file is created in the /var/devman/backups (unless you modify the path). The following is a sample file name: backup_Jul26_1374815679.tar.bz2.
- Copy the file and store it elsewhere.
- Copy the backed up TAR file to a location on ElastiCenter, for example /var.
- Go to the directory /usr/local/cb/bin and then run the following command:
./restore.sh <path of backedup file>. For example
The configuration is restored.
How to backup and restore Node configuration
By default, CloudByte schedules a daily backup of the location
/var/backup. CloudByte recommends you to move this backup daily to a safe location. Either schedule a cron job or manually copy the files from the conf directory.
You can backup configurations manually by doing the following:
cp -r /cf/conf .
cp /usr/local/agent/cb* .
- Reinstall the Node with the same configurations (for example, same IP address, Hostname, and ElastiCenter details) as in the previous installation.
- Copy the following backed up files to the reinstalled Node:
config.xmlfile to the location
haconfig.xmlfile to the location
ipmi.conffile to the location
cbc_node_idfile to the location
cbd_node_idfile to the location