Running an ad hoc backup

Create an ad hoc backup job that runs immediately and runs only once.

Run an ad hoc backup. A one-time backup runs only once and starts immediately after creating the job in the OpsCenter UI. You can also schedule a one-time backup that does not repeat if you do not want to run the backup now.


Important: The Backup Service requires control over the data and structure of its destination locations. The AWS S3 bucket and the Local file system destinations must be dedicated for use only by OpsCenter. Any additional directories or files in those destinations can prevent the Backup Service from properly conducting a Backup or Restore operation.


  1. Click cluster name > Services.
  2. Click the Configure link for the Backup Service.
  3. Click Create Backup.
    The Create Backup dialog appears.

  4. For Type, click Run Now.
  5. Keyspaces: Click the plus (+) icon to select one or more keyspaces to back up. To keep the list open when making multiple selections, press and hold the Cmd key (Mac) or Ctrl key (Windows/Linux). Select All Keyspaces to back up all keyspaces.
  6. Location: Snapshots are saved to the node's snapshot directory for the table being saved. For example, /var/lib/cassandra/data/OpsCenter/settings/snapshots. To edit the Location and Retention Policy, click the edit icon in the Location pane. Or, to copy the snapshot to an additional location, click Add Location. For more information, see adding a backup location.
  7. Change the staging directory if necessary by setting the backup_staging_directory configuration option in address.yaml.
  8. To set custom pre- or post-backup scripts, click Advanced Options:
    1. Pre-Backup Script: Enter the name of a script to run before the backup starts.
    2. Post-Backup Script: Enter the name of a script to run after the backup is done.
  9. Click Create Backup.


The ad hoc backup starts running. 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.