Using OpsCenter Enterprise Edition, you can take, schedule, and manage backups across all registered clusters.
A backup is a snapshot of all on-disk data files (SSTable files) stored in the data directory. Backups are taken per keyspace and while the system is online. A backup first flushes all in-memory writes to disk, then makes a hard link of the SSTable files for each keyspace. Backups are stored in the snapshots directory of the column family that's being snapshotted. For example, /var/lib/cassandra/data/cfs/snapshots.
You must have enough free disk space on the node to accommodate making snapshots of your data files. A single snapshot requires little disk space. However, snapshots will cause your disk usage to grow more quickly over time because a snapshot prevents old obsolete data files from being deleted. OpsCenter Data Backups allows you to specify a schedule to remove old backups and prevent backups from being taken when disk space falls below a specified level.
OpsCenter Data Backups does not show or manage manual snapshots taken using the nodetool snapshot command.
To schedule a backup:
In the OpsCenter Dashboard, click Data Backups.
Click Schedule Backup.
In Add Backup, select the backup parameters:
To set the percentage of free disk space at which backups are prevented, click Configure and then enter the appropriate information.
The percentage of free disk space that you set applies to all nodes in the cluster.
Detailed information about the backup is recorded in the Event Log.
You can restore from any local backups that have been run by OpsCenter, but not from snapshots run from nodetool. You can pick any subset of column families that exist in the snapshot to restore.
To restore a backup: