Live data from Hacker News

Timeshift: System Restore Tool for Linux

github.com

121–130 of 180 posts

Re: Timeshift: System Restore Tool for Linux

#121

I've probably spent way too much time thinking about Linux backup over the years. But thankfully, I found a setup that works really well for me in 2018 or so, used it for the last few years, and I wrote up a detailed blog post about it just a month ago: https://amontalenti.com/2024/06/19/backups-restic-rclone The tools I use on Linux for backup are restic + rclone, storing my restic repo on a speedy USB3 SSD. For off…

I have used pretty much the same setup for the last 6 years. I run borg to a small server then rclone the encrypted backup nightly to B2 storage.

Re: Timeshift: System Restore Tool for Linux

#122

I've probably spent way too much time thinking about Linux backup over the years. But thankfully, I found a setup that works really well for me in 2018 or so, used it for the last few years, and I wrote up a detailed blog post about it just a month ago: https://amontalenti.com/2024/06/19/backups-restic-rclone The tools I use on Linux for backup are restic + rclone, storing my restic repo on a speedy USB3 SSD. For off…

Enjoyed the post, thanks. One question: why don’t you use restic+rclone on macOS? They both support it and I’d assume you could simplify your system a bit…

Re: Timeshift: System Restore Tool for Linux

#123
post #118

My system is different and simpler: The root partition / and the home partition /home are different. There's a /home/etc/ folder with a very small set of configuration files I want to save, everything else is nuked on reinstall. When I do a reinstall, the root partition is formatted, the /home partition is not. This allows me to test different distros and not be tied to any particular distro or any particular backup…

The implication here is that your home directory can actually work across distros? How in the world do you do that? Surely you have to encounter errors sometimes when cached data or configs point to nonexistent paths, or other incompatibilities come up?

Re: Timeshift: System Restore Tool for Linux

#124
post #118

My system is different and simpler: The root partition / and the home partition /home are different. There's a /home/etc/ folder with a very small set of configuration files I want to save, everything else is nuked on reinstall. When I do a reinstall, the root partition is formatted, the /home partition is not. This allows me to test different distros and not be tied to any particular distro or any particular backup…

/home/etc or ~/etc?

Those are equivalent.

Re: Timeshift: System Restore Tool for Linux

#125

I've probably spent way too much time thinking about Linux backup over the years. But thankfully, I found a setup that works really well for me in 2018 or so, used it for the last few years, and I wrote up a detailed blog post about it just a month ago: https://amontalenti.com/2024/06/19/backups-restic-rclone The tools I use on Linux for backup are restic + rclone, storing my restic repo on a speedy USB3 SSD. For off…

Enjoyed the post, thanks. One question: why don’t you use restic+rclone on macOS? They both support it and I’d assume you could simplify your system a bit…

I only have one macOS system (a Mac Mini) and Arq works well for me. Also I prefer to use Time Machine for the local backups (to a USB3 SSD) on macOS since Apple gives Time Machine all sorts of special treatment in the OS, especially when it comes time to do a hardware upgrade.

Re: Timeshift: System Restore Tool for Linux

#126
post #114
post #71

ZFS Snapshots + Sanoid and Syncoid to manage and trigger them is what people should be doing. Unfortunately, booting from ZFS volumes seems to be some form of black art unless things have changed over the last couple of years. The license conflict and OpenZFS always having to chase kernel releases often resulting in delayed releases for new kernels means I cannot confidently use them with rolling release distros on t…

Best option to date: https://github.com/zbm-dev/zfsbootmenu A shame most distro's installers don't support it natively, but an encrypted rootfs on ZFS is great once you get it setup.

Yeah.

I am somewhat wary of trying this, mucking something up and wasting a lot of time wrestling with it. Will probably play around with it in a vm and use it during the next ssd upgrade.

Would have been so much better if the distros showed more interest in ZFS

Re: Timeshift: System Restore Tool for Linux

#127

Earlier quoted context omitted.

/home/etc or ~/etc?

Those are equivalent.

On most systems, that is not the case. Typically a user's home directory is `/home/USERNAME` so `~/etc` would be `/home/USERNAME/etc`.

Re: Timeshift: System Restore Tool for Linux

#129
post #68

Earlier quoted context omitted.

While it's not quite average-user-friendly (YET), one of the reasons I switched to NixOS is because it provides this out-of-the-box. I was frustrated with every other Linux for the reasons you cite, but NixOS I can deal with, since 1) screwing up the integrity of a system install is hard to begin with, 2) if you DO manage to do it, you can reboot into any of N previous system updates (where you set N). Linux is simul…

NixOS also has out of the box support for zfs auto snapshots, where you can tell it to keep 3 months, four weeks, 24 hourly, and frequent snapshots evert fifteen minutes so you can time shift your home directory, too

I'm zfs on root and haven't set that up yet! I should

Re: Timeshift: System Restore Tool for Linux

#130
I've found Debian Stable to be extremely stable, especially in recent years, I honestly don't think about system restore as much as I worry about a drive crashing or a laptop getting stolen. I assumed Linux Mint LTS was similarly stable.

Folks who have run into issues, what was the root cause?

Post reply on HN