Managing Snapshots
  • 21 Mar 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Managing Snapshots

  • Dark
    Light
  • PDF

Article Summary

To take snapshots:

  1. Stop the portal server: portal-manage.sh stop
  2. Add the following settings to the portal server in /etc/ctera/portal.cfg:
    CTERA_STORAGE_MAX_SNAPSHOTS = <maximum_number_of_snapshots_allowed>
    SNAPSHOTS_INTERVAL = <interval_in_hours_between_snapshots>
    SOFTLAYER_API_KEY = <softlayer_api_key>
    SOFTLAYER_USERNAME = <softlayer_account_username>
  3. Start the portal server: portal-manage.sh start
    You can manually create snapshots of the CTERA datapool iSCSI volumes, using the portal-storage-util.shcommand.
    Note
    The datapool must be a single disk for snapshot support.
    Use the following commands to manage snapshots:
    To take a snapshot: portal-storage-util.sh take_snapshot
    To display the list of existing snapshots: portal-storage-util.sh display_snapshots
    To destroy a specific snapshot: portal-storage-util.sh destroy_snapshot <snapshot_id>
    To restore the file system to a specific snapshot: portal-storage-util.sh rollback_snapshots <snapshot_id>
    When a volume is deleted the snapshots for that volume are also deleted. If the volume is detached from the portal instance, the snapshot is not accessible.

Was this article helpful?