Managing Snapshots
- 21 Mar 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
Managing Snapshots
- Updated on 21 Mar 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
To take snapshots:
- Stop the portal server:
portal-manage.sh stop
- 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>
- Start the portal server:
portal-manage.sh start
You can manually create snapshots of the CTERA datapool iSCSI volumes, using theportal-storage-util.sh
command. Use the following commands to manage snapshots:NoteThe datapool must be a single disk for snapshot support.
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?