timeshift-launcher1
A system restore utility
Usage
timeshift --check
timeshift --create
[OPTIONS]
timeshift --restore
[OPTIONS]
timeshift --delete-
[all]
[OPTIONS]
timeshift --list-
{snapshots | devices}
[OPTIONS]
Overview
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.
Options
A summary of options is included below.
- List:
-
--list[-snapshots]List snapshots.
--list-devicesList devices.
- Backup:
-
--checkCreate snapshot if scheduled.
--createCreate snapshot (even if not scheduled).
--comments <string> Set snapshot description.
--tags {O,B,H,D,W,M} Add tags to snapshot (default: O).
- Restore:
-
--restoreRestore snapshot.
--cloneClone current system.
--snapshot <name> Specify snapshot to restore.
--target[-device] <device> Specify target device.
--grub[-device] <device> Specify device for installing GRUB2 bootloader.
--skip-grubSkip GRUB2 reinstall.
- Delete:
-
--deleteDelete snapshot.
--delete-allDelete all snapshots.
- Global:
-
--snapshot-device <device> Specify backup device (default: config).
--yesAnswer YES to all confirmation prompts.
--btrfsSwitch to BTRFS mode (default: config).
--rsyncSwitch to RSYNC mode (default: config).
--debugShow additional debug messages.
--verboseShow rsync output (default).
--quietHide rsync output.
--scriptedRun in non-interactive mode.
--helpShow all options.
Examples
timeshift --list
timeshift --list --snapshot-device /dev/sda1
timeshift --create --comments "after update" --tags D
timeshift --restore
timeshift --restore --snapshot '2014-10-12_16-29-08' --target /dev/sda1
timeshift --delete --snapshot '2014-10-12_16-29-08'
timeshift --delete-all
Notes
1) --create will always create a new snapshot
2) --check will create a snapshot only if a scheduled snapshot is due
3) Use --restore without other options to select options interactively
4) UUID can be specified instead of device name
5) Default values will be loaded from app config if options are not specified
Releases
Unchanged in 3 releases since Debian 11 (Bullseye).