Data Backup and Recovery

autodelete snapshot after replicate

benwade
1,816 Views

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
1,278 Views

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
1,764 Views

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
1,279 Views

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.

Public