This section describes the backup routines for the Data Repository, how to backup and restore the system as well as the daily and weekly maintenance tasks that you are recommended to perform.
Backups for Couchbase
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Backups and Backup Schedules for MySQL Cluster
Backup schedules can be created from the CMON web interface, located at http://<[CZ] host name or IP address>/cmon
, or by using a command line:
Making a backup from the Web Interface
To create a backup schedule using the CMON web interface:
In the CMON Monitoring Dashboard, click on the cluster you want to make a backup for in the menu to the left.
Click on the Backups option in the menu to the right.
The Backup Management page is displayed.
CMON Backup Management
If you want to start a backup immediately, click on the backup button.
The Preparing: Start Backup dialog opens.
CMON Preparing Backup
Change the path to the backup directory if you want to save the backup somewhere else than in the default directory, otherwise click on the Proceed button to start the backup.
The Executed: Backup dialog opens displaying information about the backup.
Click on the Close button to close the dialog and return to the Backup Management page.
If you want to set up scheduled backups, select the check boxes for the days you want backups to be made, enter at what time you want the backup to be made, enter the path to the directory where you want to save the backup and click on the schedule button.
You will then see a message that the backup schedule was added successfully.
Making a backup with the command line tool
To start a backup using a command line tool:
Start a command line tool and go to the scripts directory:
Code Block $ cd mysqlcluster-71/cluster/scripts
Run the script for starting the backup:
Code Block $ ./start-backup.sh /<path to the directory where you want to save the backup files>
Restoring Backups
To restore a backup using a command line tool:
Start a command line tool and go to the scripts directory:
Code Block $ cd mysqlcluster-71/cluster/scripts
Run the script for restoring a backup:
Code Block $ ./restore-backup.sh --backupdir=/<path to the directory where the backup is stored, including the actual backup directory>
Backup and Maintenance for Redis
You can specify how you want to back up and maintain your Redis cluster via the Advanced Settings in your ElastiCache Dashboard.
Dialog to configure backup and maintenence for ElastiCache
Alternatively, you can do a manual backup by selecting the Backup button in the ElastiCache Dashboard.
For further information, see https://aws.amazon.com/documentation/elasticache/.