Re: [arch-general] btrfs/snapper hook for pacman 5.0?
Someone mentioned last month about using pacman hooks for btrfs snapper snapshots like YaST does with openSUSE (cf. https://lists.archlinux.org/pipermai l/arch-general/2016-February/040589.html). Here's a little package I put together to do this: https://aur.archlinux.org/pac kages/snap-pac/ Just install the package and use pacman as normal. Snapper pre/post snapshots will automatically be taken before and after install/upgrade/removal. More details are here: https://github.com/wesbarnett/snap-pac -- Wes Barnett
Hi, Am 13.03.2016 um 04:07 schrieb Wes Barnett:
Someone mentioned last month about using pacman hooks for btrfs snapper snapshots like YaST does with openSUSE (cf. https://lists.archlinux.org/pipermai l/arch-general/2016-February/040589.html).
yeah, that was me ;).
Here's a little package I put together to do this: https://aur.archlinux.org/pac kages/snap-pac/
Thanks. I've been using pachooks [1] in the mean time, but he is not using pre and post hooks [2], so I will probably switch over to your approach ;). pacman hooks are really powerful ... Best regards, Karol Babioch [1]: https://github.com/andrewgregory/pachooks [2]: https://github.com/andrewgregory/pachooks/issues/5
participants (2)
-
Karol Babioch
-
Wes Barnett