I’ve had timeshift running for quite a while and have on several occasions used it to restore the root partition without a problem (obviously no guarentees and if you try this, I suggest to backup your partition with fsarchiver or similar if you have any doubt).
It’s not perfect, in that you can’t set automatic backups using cron, but you can make manual backups on demand, and that may be enough for some (it is also possible to incorporate it into a script to be run by systemd and make automatic backups that way, more about that later)
How to:
Download the latest version of timeshift run file from:
https://github.com/teejee2008/timeshift/releases
For example timeshift-v19.01-amd64.run
Install needed dependancies:
sudo eopkg install libgee libvte rsync dcron libjson-glib
Caveat: this worked very well until dcron was removed from the current repo. But you can still download it from here:
https://packages.getsol.us/shannon/d/dcron/dcron-4.5-3-1-x86_64.eopkg
The friday updates seem to automatically remove it, but that can be overcome, by reinstalling it.
Install timeshift
chmod +x timeshift-v19.01-amd64.run
./timeshift-v18.6.1-amd64.run
Now it will install, but show the following error :
Installing dependency packages...
E: Unknown distribution and package manager
E: Dependency packages must be installed manually:
> libgee
> libvte
> json-glib
> rsync
but no need to worry as the dependencies have been installed manually above.
You should now be able to run Timeshift from the menu.
Backups using a script (possible to automate)
You can create a bash script to make a snapshot using the following couple of commands. First install dcron which, takes only seconds, in case it has been removed by the Friday upates and if it’s already installed no harm is done - it will just install again. (To automate creation and deletion of old snapshots you can write a script and run it using a systemd timer) :
# make sure dcron is installed – there are probably other ways to do it – but this is simple
eopkg install /wherever-you-keep-it/dcron-4.5-3-1-x86_64.eopkg
# basic command to created a snapshot, you can add a comment etc.
# Run timeshift --help in your terminal to get other options
timeshift --create
Fixing the Missing Icon
If you want to give the menu launcher a suitable icon, edit:
/usr/share/applications/timeshift-gtk.desktop
and in the line:
Icon=timeshift
change it to a path containing the icon you wish to use
To Uninstall timeshift
Run the following command in a terminal window:
sudo timeshift-uninstall
****