Hi,
Thanks for your answers.
Le 07/08/2015 22:12, Michael Morgan a écrit :
Btrfs root, snapper, and python-dnf-plugins-extras-snapper have been a > godsend for me in this regard. I also run snapper-timeline on my
/home > subvol which has saved me from frustration a few times already. btrfs sounds good but I will need to wait for the next installation from scratch as I run on ext4, on multiple partitions /boot (ext2), /etc, /opt, etc.. And conversion from ext4 does not seem worth the risk, for the moment.
http://snapper.io/ http://rpm-software-management.github.io/dnf-plugins-extras/snapper.html
The documentation says that snapper supports ext4 but only experimentally, do you have any feedback on the matter ?
Le 08/08/2015 02:52, Chris Murphy a écrit :
The closest it comes is choosing Btrfs for installation (you can use something else for /home if you want). The root subvolume on Btrfs can then be snapshot before you do a dnf update, update the snapshot's copy of fstab, and if things go bad you can change the rootflags=subvol=<subvolname> boot parameter to that of the snapshot name. But this assumes some Btrfs knowledge, which at least is not nearly as esoteric and complicated like the rabbit hole that is LVM thin volume snapshots. But that's also an option if you're at least semi-comfortable with LVM.
I even saw there :
https://wiki.archlinux.org/index.php/Btrfs_-_Tips_and_tricks#Automatic_snaps...
that one can configure automatic snapshots at boot which is not far from what you propose.
I guess this is reproducible on Fedora and that would definitely be my preference.
Another option, which is still maturing and really intended now only as a platform for deploying containers, is Fedora Atomic (rpm-ostree). This is really where rollbacks are at, because updates are atomic, and it deals with all the gory bootloader details. The tea leaves suggests this is the direction for a future Workstation product that can do what you describe.
That, seems to be way over my head and what I want to achieve as I just have one computer to manage.
Le 08/08/2015 04:58, Michael D. Setzer II a écrit :
Not a snapshot, but there are various programs that can do a bare image of > the system and it works with Windows and Linux. They can be done at
the > partition level or the entire disk. > > I am the current maintainer of the G4L project, and there is also GNU and > Clonezilla that can do similar things. I actually went for redobackup : http://redobackup.org/ It has a web access as it runs on ubuntu, that's what convince me. So I will go for this for now, and I will update my system to btrfs next time I install. Le 08/08/2015 15:57, Heinz Diehl a écrit :
rsync -avxHSAX /source/ /target
Heinz.. Try to catch up please.. Sorry ! I couldn't resist.. :)
Seriously, I'm not sure that rsync, even executed with root privileges, will have access to all files and will be able to copy the entire /dev/sd[n] identically. Will it ?
Thanks again to all ! ;)