btrfs ways to travel back in time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can think of few ways to revert changes with btrfs, but I wonder
what are the trade-offs between each method and perhaps there is
already research done on this?

ways to restore a snapshot ( post kernel 3.* ):
a) via set-default
 1. btrfs subvolume set-default / $id
 2. reboot
b) always mount into snapshot
 1. mount -o suvol=/.current $disk # at initrd
 2. btrfs subvol del /.current
 3. btrfs subvol snapshot /.snapshotA /.current
 4. reboot
c) rsync
 1. rsync $options /.snapshotA /.current
 2. reboot

- Vytas Dauksa
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux