Hello zfs-discuss,

  I'm writing a script to do automatically snapshots and destroy old
  one. I think it would be great to add to zfs destroy another option
  so only snapshots can be destroyed. Something like:

     zfs destroy -s SNAPSHOT

     so if something other than snapshot is provided as an argument
     zfs destroy wouldn't actually destroy it.
     That way it would be much safer to write scripts.

     What do you think?

     I can implement it and send diffs - should be really simple.

-- 
Best regards,
 Robert                          mailto:[EMAIL PROTECTED]
                                     http://milek.blogspot.com

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to