Data Backup and Recovery Discussions

autodelete snapshot after replicate

benwade

Hi,

 

we need a backup concept where there no local snapshots  remain.

 

so the source will create a snapshot with label "daily" for example, it will be replicated and once replication is completed that local snapshots will be deleted. is there any way to configure such?

 

Thanks.

 

 

1 ACCEPTED SOLUTION

benwade

Thanks for the reply.

 

The solution is the configure snapmirror policy with "-prefix" parameter. Then you do not need any local snapshots on the source.

View solution in original post

2 REPLIES 2

donny_lang

Not *exactly* what you asked for, but you could create a snapshot policy on the source side with a configuration that will retain a single copy of your daily snapshot, and then a vault policy and schedule on the destination side that has your desired retention. 

 

That won't delete the local snapshot once the SnapVault relationship is updated though, it'll just ensure that only the most recent daily snapshot exists on the source volume while retaining x copies on the destination volume according to the policy. If you wanted to specifically delete the source snapshot as soon as the replication completes, a script/workflow of some sort would likely be required. 

benwade

Thanks for the reply.

 

The solution is the configure snapmirror policy with "-prefix" parameter. Then you do not need any local snapshots on the source.

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public