Data Backup and Recovery
Data Backup and Recovery
We will move a volume, with snapmirror all snapshots, that contains snapshots with long retention. No new snapshot will be taken on the destination when mirroring is complete.
Is there a way to set up a snapshot policy that maintain the retention of the snapshots, i.e. delete the daily snapshots when retention period is outdated?
RETENTION COUNT
daily 60 weekly 52 monthly 36
Solved! See The Solution
I think I see. You want to retain your volume with all snapshots as of, say today, on your array (primary or secondary). All you need do is change your snapshot policy to none. By doing so, no new snapshots will be created, and none rotated/deleted. You will have to do it manually at the end of your rotation period.
Is that what you were asking? You can check it by setting your policy to none, and checking your next daily. It should still be there.
If you need to lock the volume for legal reasons, you can also do that, but you need to speak to your sales rep to see if you have the license.
Don't forget to quiesce and break your snapmirror if your volume is secondary so it doesn't update the base.
Thanks Tas
I just want to keep the snapshots in the mirrored volume, mirrored with MirrorAllSnapshots policy.
No new snapshot shall be taken on the volume.
So the question is: Is it possible to get the the snapshots deleted when the retention is out?
What I came up to is that is not possible to get Ontap to do as the retention is a number of snapshot i.e. daily 60 and the oldest will be deleted when the 61:st is created. And as I said no more snapshots shall be taken as these backup just shall be kept until retention is reached.
I think I see. You want to retain your volume with all snapshots as of, say today, on your array (primary or secondary). All you need do is change your snapshot policy to none. By doing so, no new snapshots will be created, and none rotated/deleted. You will have to do it manually at the end of your rotation period.
Is that what you were asking? You can check it by setting your policy to none, and checking your next daily. It should still be there.
If you need to lock the volume for legal reasons, you can also do that, but you need to speak to your sales rep to see if you have the license.
Don't forget to quiesce and break your snapmirror if your volume is secondary so it doesn't update the base.
Yes, that's right.
That's what I asumed, that we have to keep track of the retention and delete manually.
Thanks Tas