How to Backup & Restore Your Linux Installation With Timeshift

How to Backup & Restore Your Linux Installation With Timeshift

Subscribers:
10,800
Published on ● Video Link: https://www.youtube.com/watch?v=o3X4TJAOXaU



Category:
Tutorial
Duration: 4:52
8,504 views
184


In this video I cover installing and using Timeshift, a simple to use backup and restore utility for Linux configurations.

https://github.com/teejee2008/timeshift#timeshift

Timeshift provides similar functionality to the System Restore feature in Windows and Time Machine in Mac OS, and works by taking incremental snapshots of your file system at regular intervals, which can then be restored later to undo all changes to a system.

Step 1. Install Timeshift.

Timeshift can be installed using your distribution’s package manager.

Some supported distributions include Ubuntu and its flavours, Zorin OS, Elementary OS, Pop OS, Fedora, Debian, Manjaro OpenSUSE, and Arch.

But if you are using Linux Mint or Garuda Linux, then Timeshift is already installed.

Step 2. Using Timeshift.

The first time you run Timeshift you will be greeted with a wizard, giving you the option of either using RSYNC or BTRFS for the Snapshot type, so unless you are using BTRFS as your file system choose the RSYNC option.

No matter what option you choose, you need specify the Snapshot location, which by default will be the root directory, set a time for when a snapshot is created, and how many snapshots you wish at one time.

By default, this will be once a day, up to maximum of five saved snapshots, all located in the root directory, but if you ever want to change this, then you can click the Settings button.

Either way to create a Snapshot, click the Create button.

Step 3. Restoring Using Timeshift.

To restore from a previously created snapshot, click the Restore button, specify the snapshot and begin the process.

Once finished, the system will automatically reboot.

Alternatively to restore from a TTY1 prompt, sign in using your credentials, and type the following:

sudo timeshift --restore

Next select the Snapshot from the list, reinstall GRUB and specify the location of your Linux installation.

Again, once the process is completed, your system will reboot.

#timeshift #linux #backup







Tags:
timeshift
linux
backup
ubuntu
arch
RSYNC
BTRFS
tty1
terminal
back up and restore
tutorial
rolling release
manjaro