Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are these the commands I would run to create a snapshot policy on the volume “xxxx01_vol1” to take snapshots every 8 hours and keep them for 60 days?
What would happen with the snapshots created under the existing policy?
#volume snapshot policy create -vserver xxxx01 -policy snappolicy_8hrs -schedule1 8hrs -count1 240 -prefix1 every_8_hour
#volume modify -vserver xxxx01 -volume xxxx01_vol1 -snapshot-policy snappolicy_8hrs
Solved! See The Solution
1 ACCEPTED SOLUTION
Bill has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Bill
You need to create a cron job schedule before creating policy. Please fnd the below command to create a 8 hours cron job for snapshots.
job schedule cron create -name 8hours -minute 0 -hour 0,8,16
Next please use the above schedule in snapshot policy
snapshot policy create -policy policy1 -enabled true -schedule1 8hour -count1 180
1 REPLY 1
Bill has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Bill
You need to create a cron job schedule before creating policy. Please fnd the below command to create a 8 hours cron job for snapshots.
job schedule cron create -name 8hours -minute 0 -hour 0,8,16
Next please use the above schedule in snapshot policy
snapshot policy create -policy policy1 -enabled true -schedule1 8hour -count1 180
