mirror of
https://github.com/wmutschl/timeshift-autosnap-apt.git
synced 2026-03-04 04:35:01 +08:00
Recommend BTRFS instead of RSYNC
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# timeshift-autosnap-apt
|
||||
Timeshift auto-snapshot script which runs before any `apt update|install|remove` command using a `DPkg::Pre-Invoke` hook in APT.
|
||||
Timeshift auto-snapshot script which runs before any `apt update|install|remove` command using a `DPkg::Pre-Invoke` hook in APT. Works best in `BTRFS` mode, but `RSYNC` is also supported (might be slow though).
|
||||
|
||||
## Features
|
||||
* This script is a fork of [timeshift-autosnap](https://gitlab.com/gobonja/timeshift-autosnap) from the [AUR](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=timeshift-autosnap), but adapted for usage with the APT package manager of Debian or Ubuntu based systems.
|
||||
@@ -9,7 +9,6 @@ Timeshift auto-snapshot script which runs before any `apt update|install|remove`
|
||||
* Makes a copy with RSYNC of `/boot` and `/boot/efi` to `/boot.backup` before the call to Timeshift for more flexible restore options.
|
||||
* Can be manually executed by running `sudo timeshift-autosnap-apt`.
|
||||
* Autosnaphots can be temporarily skipped by setting "SKIP_AUTOSNAP" environment variable (e.g. `sudo SKIP_AUTOSNAP= apt upgrade`)
|
||||
* Supports both `BTRFS` and `RSYNC` mode.
|
||||
* Supports [grub-btrfs](https://github.com/Antynea/grub-btrfs) which automatically creates boot menu entries of all your btrfs snapshots into grub.
|
||||
* For a tutorial how to use this script in production to easily rollback your system, see [System Recovery with Timeshift](https://mutschler.eu/linux/install-guides/).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user