Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

3401

August 15th, 2016 05:00

Multiple snapshot schedules for a FS in unity

Hi,

Is there a way to assign multiple snapshot schedules to a unity NAS FS? I would like to have two schedules for one FS. In the VNX we had for example: one schedule would take a daily snapshot at 6PM and save it for a month. Another schedule would take 2 more daily snapshots (10 AM, 1 PM) and save them for  7 days. In the Unity GUI allows only selection of one snapshot schedule / filesystem.

19 Posts

August 28th, 2016 07:00

Hi to all,

With support's help I got this to work as we had on the VNX. We just must do one schedule with multiple rules on the schedule. This is possible from the command line.

Here is an example for the next person who needs it

One schedule to do snapshot of FS: (gmt+2)

Every Monday, Friday, Thursday, Wednesday and Tuesday at 8:16 AM, retain for 7 days

and every Monday, Friday, Thursday, Wednesday and Tuesday at 4:16 PM, retain for 14 days

and every Tuesday, Friday, Thursday, Wednesday and Monday at 1:16 PM, retain for 7 days

uemcli -d [FQDN] -u Local/admin -p [password] /sys/task/rule create -schedName [name] -type weekdayslist -days "Mon,Tue,Wed,Thu,Fri" -at 14:16 -keepFor 14d

uemcli -d [FQDN] -u Local/admin -p [password] /sys/task/rule create -schedId [checktheID form 1st comand result set] -type weekdayslist -days "Mon,Tue,Wed,Thu,Fri" -at 11:16 -keepFor 7d

uemcli -d [FQDN] -u Local/admin -p [password] /sys/task/rule create -schedId [checktheID from 1st command result set] -type weekdayslist -days "Mon,Tue,Wed,Thu,Fri" -at 06:16 -keepFor 7d

uemcli uses gmt time

Then assign this schedule to the FS.

Easy to do, after you get the idea how it works.

Annoyingly if you use the hourlist rule, you can only have 2 hours in one rule. If you add more than two you'll get an error: Exceeded number of snapshots for the rule. Each rule may have a max of 2 snapshot hours ... (You can create more rules to compensate), but still.. only 2 snapshots per hourlist??? WHY?

Updated with correct time values.

4.5K Posts

September 8th, 2016 09:00

Would you please mark your question as "Answered" - that way someone else looking for this same issue can find your solution.

glen

8.6K Posts

September 8th, 2016 10:00

If you want to provide input to product mangement see here

Product Enhancement Request

https://emcinformation.com/PERS


1 Message

August 12th, 2019 02:00

Hello,

Can I allocate two schedule snapshot on one Filesystem ?

For exemple :

Schedule00 at 6H30 - retain 30j

Schedule01 at 13H30 - retain 30j

 

This two schedule on filesystem  data01

 

Sincerely, Eric

No Events found!

Top