On 07/ 9/10 01:29 PM, zfsnoob4 wrote:
Hi,
I have a question about snapshots. If I restore a file system based on some
snapshot I took in the past, is it possible to revert back to before I
restored? ie:
zfs snapshot t...@yesterday
mkdir /test/newfolder
zfs rollback t...@yesterday
so now newfolder is gone. But is there a way to take a snapshot so I can revert
back be before I restored? ie, get newfolder back after the rollback?
You could clone the newer snapshot and promote the clone before rolling
back. What particular problem are you trying to solve?
Also from what I understand if I have two snapshots and revert to the older
one, the newer one will be deleted. Is that correct?
Yes.
--
Ian.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss