Is it possible to modify retention of an existing snapshot stored in object-store?
Applies to
- Cloud Backup
- BlueXP
- Snapshot Management
Answer
No, Snapshot retention works based on the snapmirror policy's 'Label' and 'Keep' function. Snapshots has no expiry-date set on them.
Additional Information
- Below output shows an example "
snapmirror policy
" with daily label and keep count of 7.
::> snapmirror policy show
Vserver Policy Policy Number Transfer
Name Name Type Of Rules Tries Priority Comment
------- ------------------ ------ -------- ----- -------- ----------
test_vserver CloudBackupDefault vault 1 8 normal Vault policy with daily rule.
SnapMirror Label: daily Keep: 7
Total Keep: 7
- After accumulation of 7 daily snapshots, next "
snapmirror update
" which replicates a new 'daily' snapshot will replace the oldest 'daily' snapshot present on the volume/object-store.