[zfs-discuss] ZFS Snapshot destroy to

2007-05-11 Thread Jason J. W. Williams
Hey All, Is it possible (or even technically feasible) for zfs to have a destroy to feature? Basically destroy any snapshot older than a certain date? Best Regards, Jason ___ zfs-discuss mailing list zfs-discuss@opensolaris.org

Re: [zfs-discuss] ZFS Snapshot destroy to

2007-05-11 Thread Mark J Musante
On Fri, 11 May 2007, Jason J. W. Williams wrote: Is it possible (or even technically feasible) for zfs to have a destroy to feature? Basically destroy any snapshot older than a certain date? Sorta-kinda. You can use 'zfs get' to get the creation time of a snapshot. If you give it -p, it'll

Re: [zfs-discuss] ZFS Snapshot destroy to

2007-05-11 Thread Jason J. W. Williams
Hi Mark, Thank you very much. That's what I was kind of afraid of. Its fine to script it, just would be nice to have a built in function. :-) Thank you again. Best Regards, Jason On 5/11/07, Mark J Musante [EMAIL PROTECTED] wrote: On Fri, 11 May 2007, Jason J. W. Williams wrote: Is it

Re: [zfs-discuss] ZFS Snapshot destroy to

2007-05-11 Thread Matthew Ahrens
Jason J. W. Williams wrote: Hi Mark, Thank you very much. That's what I was kind of afraid of. Its fine to script it, just would be nice to have a built in function. :-) Thank you again. Note, when writing such a script, you will get the best performance by destroying the snapshots in order