Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

ONTAP Discussions

snapshot policy question

Bill

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

 

1 ACCEPTED SOLUTION

Naveenpusuluru

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

 

 

View solution in original post

1 REPLY 1

Naveenpusuluru

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

 

 

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public