You are not logged in.

#1 2019-02-10 17:57:17

gobonja
Member
Registered: 2012-08-04
Posts: 3

timeshift-autosnap - script which runs before package upgrade

Timeshift auto-snapshot script which runs before package upgrade using Pacman hook.

Features
-Creates Timeshift snapshots with unique comment.
-Deletes old snapshots which are created using this script.
-Auto generates grub if grub-btrfs package is installed.
-Can be manually executed by running timeshift-autosnap command with elevated privileges.

Notes
Currently only tested in BTRFS mode but should work in RSYNC mode too since script is automating Timeshift operations.
This script is made in Arch and Arch based distros in mind but if there would be interest it should be easily ported to other distros.

Contribution
All new ideas and contributors are welcomed!

LINKS:
AUR package
GitLab
Issues

Offline

#2 2019-06-16 21:02:32

0byte
Member
Registered: 2019-06-16
Posts: 1

Re: timeshift-autosnap - script which runs before package upgrade

Hello!

The skript works with rsync and ext4 too!

Does the script take the Timeshift settings?

Offline

#3 2019-06-16 21:08:26

gobonja
Member
Registered: 2012-08-04
Posts: 3

Re: timeshift-autosnap - script which runs before package upgrade

Yes it's working with rsync.
Script uses all timeshift settings except custom snapshot comment so snapshot made with script can be identified.

Offline

#4 2019-08-14 15:34:25

ZeroCC
Member
From: London UK
Registered: 2018-05-25
Posts: 14

Re: timeshift-autosnap - script which runs before package upgrade

Thanks for this - a nice useful tool.

Offline

Board footer

Powered by FluxBB