On 5/11/07, Lars-Erik Bj?rk <Lars-Erik.Bjork at sun.com> wrote: > > Hi all! > > I see that the zfs_rollback(zfs_handle_t *zhp, zfs_handle_t *snap, int > flag) function destroys the more recent snapshots no matter what. > Does anybody know a good way to avoid this if there are newer snapshots > than the one specified? What is the meaning of the flag parameter in this > function?
you can copy/rsync from the previous snapshot to the current files without destroying snapshots, or you can clone the snapshot and work from that, though rollback is probably faster. Best regards, > Lars-Erik > > > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > _______________________________________________ > zfs-code mailing list > zfs-code at opensolaris.org > http://opensolaris.org/mailman/listinfo/zfs-code > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-code/attachments/20070511/bc641aa7/attachment.html>