My test of Timeshift was pretty simple and straightforward.
Fresh install Linux Mint
Install most of the main software I wanted.
Do a Timeshift backup.
Install some extra software I didn’t necessarily need, but might want to use someday.
Restore the backup from step 3.
Results: Everything from step 4 was still registered as installed, but almost nothing from step 4 actually worked.
So I brute force reinstalled everything in place, and haven’t used Timeshift since. I’m perfectly comfortable using the terminal, and at worst a live boot media, to fix any issues that might come up.
Timeshift is a good piece of software doing a tired trick.
The new hotness is copy on write file systems and snapshots. I can snapshot, instantly, then do a system update and revert to the previous snapshot also instantly.
Instead of using symlinks files, like Timeshift, the filesystem is keeping track of things at the block level.
If you update a block it writes a new copy of the block (copy on write). The old copy is still there and will be overwritten unless it is part of a snapshot. Since the block is already written, snapshots don’t require any data to be copied so they’re instant.
Once you finish the system update, all of the overwritten blocks are still there (part of the snapshot) and reverting is also just a filesystem operation, theres no mass data to be copied and so it is also instant.
It does use disk space, as allocated blocks AND snapshotted blocks are stored. It uses less than Timeshift though, since Timeshift copies the entire file when it changes
Didn’t quite follow what you were saying completely.
Are you suggesting a new program over time shift or change the file system type like ZFS and Btrfs?
I’m using Ubuntu and not sure if I seen those before.
Timeshift was a gamechanger
Timeshift itself borked my shit up. I had to reinstall all registered packages to fix its fuckups…
sudo aptitude reinstall '~i'
Edit: Sure it took a long while, about as long as a full OS reinstall, but never once was there any issue with the kernel.
While only once, timeshift destroyed my bootloader. Don’t update and reboot before a meeting, kids
My test of Timeshift was pretty simple and straightforward.
Fresh install Linux Mint
Install most of the main software I wanted.
Do a Timeshift backup.
Install some extra software I didn’t necessarily need, but might want to use someday.
Restore the backup from step 3.
Results: Everything from step 4 was still registered as installed, but almost nothing from step 4 actually worked.
So I brute force reinstalled everything in place, and haven’t used Timeshift since. I’m perfectly comfortable using the terminal, and at worst a live boot media, to fix any issues that might come up.
Timeshift is a good piece of software doing a tired trick.
The new hotness is copy on write file systems and snapshots. I can snapshot, instantly, then do a system update and revert to the previous snapshot also instantly.
Instead of using symlinks files, like Timeshift, the filesystem is keeping track of things at the block level.
If you update a block it writes a new copy of the block (copy on write). The old copy is still there and will be overwritten unless it is part of a snapshot. Since the block is already written, snapshots don’t require any data to be copied so they’re instant.
Once you finish the system update, all of the overwritten blocks are still there (part of the snapshot) and reverting is also just a filesystem operation, theres no mass data to be copied and so it is also instant.
It does use disk space, as allocated blocks AND snapshotted blocks are stored. It uses less than Timeshift though, since Timeshift copies the entire file when it changes
ZFS and btrfs are the ones to use.
Didn’t quite follow what you were saying completely. Are you suggesting a new program over time shift or change the file system type like ZFS and Btrfs? I’m using Ubuntu and not sure if I seen those before.
Snapshots are one of the features of copy on write filesystems like ZFS or btrfs.
It looks like Ubuntu has btrfs support, so you could do things like configure the package manager to automatically snapshot before a system upgrade.
https://blackstewie.com/posts/install-ubuntu-24.04-with-proper-btrfs-setup/
That looks like a current guide for setting it up
Thank you for sharing!
I also can’t get over the fact that it doesn’t understand RAID or filesystems somehow.