Modifying the Storage Pool Snapshot Retention Policy
- 1 Minute to read
- Print
- PDF
Modifying the Storage Pool Snapshot Retention Policy
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
By default, the snapshot retention policy specifies that 32 snapshots will be retained for the storage pool. You can change this default using the following procedure.
To modify the maximum number of snapshots stored on a machine:
- Log in to the AWS Management Console and in the EC2 service, click Instances > Instances in the navigation pane.
- Select the CTERA Portal instance and click Connect.
- Select the Session Manager tab and click Connect.
- Change to the root user by running the following command:
sudo -i
- Run the following command to stop the portal services:
portal-manage.sh stop
- Edit the file
/etc/ctera/portal.cfg
. - Change the value of
CTERA_STORAGE_MAX_SNAPSHOTS
to the number of snapshots you would like the machine to maintain.
The default value is 32. - Save your changes.
- Restart the portal server, by entering the following command:
portal-manage.sh restart
Was this article helpful?