cancel
Showing results for 
Search instead for 
Did you mean: 

Backup of netapp filers - weekly snapshot creation date/times

afacey
Level 4
We backup a few filers and the problem is the weekly snapshots are created at midnight Sunday. Is there a way to change the snapshot creation date/time? Or if anyone has an alternative - that would be great. Thanks!
3 REPLIES 3

Andy_Welburn
Level 6
Not sure if they can be changed or not.

You could, instead of backing up /vol/vol1/.snapshot/weekly.0/FOLDER for example, amend your path to backup /vol/vol1/FOLDER as your selection. A specific snapshot for the backup would then be taken when the backup starts.

rj_nbu
Level 6
Employee Accredited Certified
Hi

If these are Netapp filders , you can manage snapshots through the snap command. See this link for details:

http://ecserv1.uwaterloo.ca/netapp/man/man1/na_snap.1.html


DESCRIPTION
The snap family of commands provides a means to create and manage snapshots in each volume.

A snapshot is a read-only copy of the entire file system, as of the time the snapshot was created. The filer uses a copy-on-write technique to create snapshots very quickly without consuming any disk space. Only as blocks in the active file system are modified and written to new locations on disk does the snapshot begin to consume extra space.



snap list [ vol_name ]

snap create vol_name name

snap delete vol_name name

snap rename vol_name from to

snap reserve [ vol_name [ percent ] ]

snap restore [ -f ] [ -t vol | file ] [ -s snapshot_name ] [ -r restore_as_path ] vol_name | restore_from_path

snap sched [ vol_name [ weeks [ days [ hours[@list] ] ] ] ]




snap sched [ vol_name [ weeks [ days [ hours [ @list ] ] ] ] ] sets the schedule for automatic snapshot creation. The argument vol_name identifies the volume the schedule should be applied to. The second argument indicates how many weekly snapshots should be kept on-line, the third how many daily, and the fourth how many hourly. If an argument is left off, or set to zero, then no snapshot of the corresponding type is created. Daily snapshots are created at 24:00 of each day except Sunday, and weekly snapshots are created at 24:00 on Sunday. Only one snapshot is created at a time. If a weekly snapshot is being created, for instance, no daily or hourly snapshot will be created even if one would otherwise be scheduled. For example, the command

snap sched vol0 2 6

indicates that two weekly snapshots and six daily snapshots of volume vol0 should be kept on line. No hourly snapshots will be created. For snapshots created on the hour, an optional list of times can be included, indicating the hours on which snapshots should occur. For example the command

snap sched vol0 2 6 8@8,12,16,20

indicates that in addition to the weekly and daily snapshots, eight hourly snapshots should be kept on line, and that they should be created at 8 am, 12 am, 4 pm, and 8 pm. Hours must be specified in 24-hour notation.

With no argument, snap sched prints the current snapshot schedule for all volumes in the system. With just the vol_name argument, it prints the schedule for the specified volume.




Deepak_W
Level 6
Partner Accredited
You cannot change the time for Nightly and Weekly snapshots, that will be taken automatically at midnight 12.