The idea behind Timeshift is pretty simple, but it doesn't seem to be able to run in a terminal-only mode, XServer is a dependency, so I made the same thing, but for terminal-only situations.
This parameter is used to create a new snapshot
List all currently available local snapshots
Delete everything inside the /backups folder, including archives
Delete everything inside the archives
folder
Restore the selected backup
Clone the project
git clone https://github.com/andrei1015/makeshift-timeshift
Go to the project directory
cd makeshift-timeshift
(make the file executable)Run the script to create a new snapshot (or whatever)
sudo ./snap.sh -c
You can also add an alias into your .bashrc file
alias mkshift='~/makeshift-timeshift/snap.sh'
Needless to say, I am not responsible for what horrible things might happen to you on restore. Good luck!