Timeseries database - backup
Run the backupRestoreClient.sh script that is available in
/opt/IBM/basecamp/basecamp-timeseries/bin directory. It can be used for both
backup and restore operations on timeseries database in Network Performance Insight®.
About this task
When the
action for the script is backup, the
backupRestoreClient.sh script calls the
/opt/IBM/basecamp/basecamp-timeseries/bin/backup.sh script to perform the
backup operations.Note: Make sure that the directory that is specified in the
backupPath option exists before you perform the operation.Procedure
Run the
backupRestoreClient.sh script for backup as follows:
cd /opt/IBM/basecamp/basecamp-timeseries/bin
./backupRestoreClient.sh -action=backup -backupPath=<LOCAL_BACKUP_DIRECTORY> - backupHost=<myserver.ibm.com>Where:actioncan bebackuporrestoreoptions.backupPathis the path where backup data can be placed.backupHostis the Fully qualified domain name of the server where the backup data is available.
./backupRestoreClient.sh -action=backup -backupPath=/tmp/backup - backupHost=<myserver.ibm.com>
If your Network Performance Insight cluster has three agent
nodes, the backup script archives the data from each node and save the TAR
files on the host that is specified in the script. For example, the following archived files are
available in <myserver.ibm.com>:
- Cassandra_backup_<hostname1>.tar
- Cassandra_backup_<hostname2>.tar
- Cassandra_backup_<hostname3>.tar