Skip to content

Pacman Hook to create ZFS Snapshots on Pacman transactions.

License

Notifications You must be signed in to change notification settings

hasechris/pacman-zfs-updatesnap-hook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman-ZFS-Hook

Pacman ZFS hook to create ZFS snapshots only on pacman updates.

Fork from hasechris

I forked this repo from RileyInkTheCat because i liked that package, but wanted something sligthly different. Also looked up the package timeshift-autosnap for inspiration.

Kernel Support

Warning! This version does support archlinux and manjaro for normal kernels.

  • on arch ==> package "linux"
  • on manjaro ==> packages "linux66" or "linux67" etc. Other kernel package names are not now supported. Feel free to drop a PR if you need this function.

Installing

Clone this repo locally and run makepkg -si with a normal user.

Usage

Every time you install, update or remove a package pacman-zfs-updatesnap-hook will look for your ZFS BOOTFS and create a snapshot with the current timestamp.

About

Pacman Hook to create ZFS Snapshots on Pacman transactions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 92.3%
  • Makefile 7.7%