Windows enables "restore points" to enable users to restore their systems to an earlier time, thus guarding against malware or user mistakes. Could this be achieved and implemented in Ubuntu? How?
2 Answers
The closest thing to a Windows-like restore point is by using Timeshift
. I use it to save snapshots to an external USB hard drive. Although it can, it's normally not used for backing up your /home directory, just system-level changes. Use Backups
(Déjà Dup) for backing up /home files.
Timeshift is a system restore utility which takes snapshots
of the system at regular intervals. These snapshots can be restored
at a later date to undo system changes. Creates incremental snapshots
using rsync or BTRFS snapshots using BTRFS tools.
More information at https://github.com/teejee2008/timeshift
Add the PPA and install with:
sudo add-apt-repository -y ppa:teejee2008/ppa
sudo apt update
sudo apt install timeshift
Update #1:
Timeshift can now be found in the Ubuntu 19.x repos.

- 70,711
After many months of trials, I think the simplest means to restore a system is a 2-stage process.
Stage 1: restore boot when the machine will not boot. Use "boot-repair". https://linuxhint.com/ubuntu_boot_repair_tutorial/ The best approach is to install "boot-repair" into the bootable startup USB drive, created from the ubuntu iso file. [This requires knowledge of "terminal", how to add a repository and install files.] Boot from the USB drive and follow the instructions per the link/menus.
2/ Stage 2: restore files after successful boot. Use "Timeshift". Of course, Timeshift must have been installed prior, and snapshot been taken. [Note: Timeshift requires the hard disk be formatted to "btrfs". It will not work on ext4 drives.]*
I hope this may be of help to users.
*EDIT: Per the comments below, I stand corrected. The "note:" above should read: I could not cause Timeshift to work on my ext4 drives, so I reformatted my drives to btrfs.

- 1,068
-
2Timeshift does NOT require a btrfs to work. I'm using it on an external ext4 partition now. – heynnema Oct 04 '19 at 13:20
-
Downvoted because of factual error - the claim that btrfs is required to run Timeshift. I have it running on 2 pc's, neither uses btrfs. – Organic Marble Oct 04 '19 at 14:05
Stage 1: restore if the machine will not boot. Use "boot-repair".
– rob grune Oct 04 '19 at 06:45