Thank you so much for the script, I have been searching for this solution from few days, However, I need few modifications in this script, Could you please help me to get proper script to match my requrirement
I am using VSC 4.2.1 and doing the snapmirror from vol A to vol B, Now I want to set snapvault relation from Vol A to Vol C( new volume) by using the snapshot created by VSC for snapmirror update.
At the moment VSC creating hourly, daily and weekly snapshots and performing mirror updates, Now I want to select only weekly recent snapshot send to vault and I dont want hourly and daily recent snapshot), In your script, you are selecting the recent snapshot with tailend parameter recent, Could you please let me know, if there is a way to select only weekly recent snapshots, but not the hourly and daily
You can create a new backup job for weekly updates in VSC and just add the script there. The case would be hourly and daily in one job and weekly backups in another job with the script attached. In my opinion this should work.
If you don't have any cascades on the SnapVault destination volumes the script will do nothing.
If something don't work send me a message and we can correct it. I hope it will work 😉
I have used your scripts both new and old, but I can't get to continue the process. It is stucked on data protection part. Can you give me advice or suggestions on this? I have attached a portion of the log below:
Hoping to get a response from you soon. Thanks!
Rename Snapshot smvi_test_novmsnap_recent to smvi_test_novmsnap_20151026233619 for Volume esx_ds_t060_lin_app_vol_Vault... Searching for data_protection destinations for Volume esx_ds_t060_lin_app_vol_Vault...
Ended script (version 26102015223739) at 26-10-2015 22:38:23 -------------------------------------------------
Hi Syntax, thanks for responding promptly to my question.
Before the update to ONTAP 8.3, "Searching for vault destinations" part was working fine, but now it is not working same as my previous issue which is the data protection. Right now, my log ends at "Searching for vault destinations..", and yes I have created a snapmirror relationship for XDP, none for DP.
Could this be because of the upgrade to ONTAP 8.3?
Now my log is stucked here:
Setting label VSC_DAILY to esx_ds_t060_lin_app_vol...
Searching for vault destinations for Volume esx_ds_t060_lin_app_vol...
Ended script (version 27102015012203) at 27-10-2015 01:22:23
We are using "Vault" relationship for this environment (non-prod), and will be using "Mirror-Vault" for another environment (Prod). Just a thought, this could be the reason why data_protection part of the script is not working?
I haven't updated the PS yet after upgrading to ONTAP 8.3.