I have created a script that gets a snapshot and backs the snapshot to
tape.  I would like to keep the snapshot around for one week, than
destroy it using the following command:

 

"zfs destroy snapshotlvolume."

 

 

Is there a way to automate the destroying of snapshots that are older
that x amount of days?    



This message and its attachments may contain legally privileged or confidential 
information.  It is intended solely for the named addressee.  If you are not 
the addressee indicated in this message (or responsible for delivery of the 
message to the addressee), you may not copy or deliver this message or its 
attachments to anyone.  Rather, you should permanently delete this message and 
its attachments and kindly notify the sender by reply e-mail.  Any content of 
this message and its attachments that does not relate to the official business 
of News America Incorporated or its subsidiaries must be taken not to have been 
sent or endorsed by any of them.  No warranty is made that the e-mail or 
attachment(s) are free from computer virus or other defect.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to