OpsCenter can create a one-time backup operation.
Run an ad hoc backup. A one-time backup only runs once and starts immediately after
creating the job in the OpsCenter UI.
Procedure
-
Click the name of the cluster you want to manage from the left navigation pane
and click Services.
-
Click View Details for the Backup Service.
-
Click Create Backup.
The Create Backup dialog appears.
-
Under Type, click Run Now.
-
Select a Keyspace to backup—Select the keyspace that you
want to back up, or select All Keyspaces.
-
Location—Snapshots are saved to the node's
snapshot directory for the table being saved. For example,
/var/lib/cassandra/data/OpsCenter/settings/snapshots.
If you want the snapshot copied to an additional location in Amazon S3,
click Add Location.
The Add Location dialog appears.
-
Note: You must use Java 7 or greater to store at an S3 location.
To save the snapshot data to Amazon S3, select Amazon
S3 for the Location, set the bucket name, and enter your
AWS key and secret. Make sure you have the proper AWS IAM
privileges.The bucket name must
conform to the S3 guidelines.
-
To avoid saturating your network, set a maximum upload rate. Select
Throttle S3 transfer rate and set the maximum
MB per second to upload the data. To compress the data, select
Enable compression. This reduces the amount
of data going through your network and reduces the disk and data usage
in S3, but increases the CPU load for the server.
- Optional:
To set custom pre- or post-backup scripts, click Advanced
Options:
Pre-Backup Script— Enter the name of a script
to run before the backup is started.
Post-Backup Script— Enter the name of a script
to run after the backup is completed.
For details, see Using custom scripts before and after backups.
-
Click Create Backup.
Results
A progress dialog displays the status of the backup operation. If the progress dialog
is closed, you can continue to view the operation in the
Activities tab.