Package Details: pacman-boot-backup-hook 1.7-1

Git Clone URL: https://aur.archlinux.org/pacman-boot-backup-hook.git (read-only, click to copy)
Package Base: pacman-boot-backup-hook
Description: Pacman hook that creates a copy of the /boot directory prior and post to upgrades of the systemd package or when mkinitcpio is triggered.
Upstream URL: None
Keywords: backup boot-partition snapper
Licenses: MIT
Submitter: superhansel
Maintainer: superhansel
Last Packager: superhansel
Votes: 7
Popularity: 0.80
First Submitted: 2017-12-31 00:33 (UTC)
Last Updated: 2023-10-21 21:00 (UTC)

Latest Comments

1 2 Next › Last »

superhansel commented on 2024-02-16 23:05 (UTC) (edited on 2024-02-16 23:06 (UTC) by superhansel)

@streblo, the intention for me was as follows:

  • Have a pre-copy of /boot that can easily be restored in case that a kernel or microcode update goes south and the system is no longer bootable.
  • Have a post-copy in case I accidentally (or intentionally) changed a file in /boot and then I want to restore it to its latest state.

streblo commented on 2024-02-16 22:51 (UTC)

Thanks for the maintaining this.

The wiki doesn't really explain, what are the pre and post copies of /boot needed for? Presumably you're always going to be restoring the post copy?

BryanLiang commented on 2023-10-22 00:31 (UTC)

@superhansel It works for me.

superhansel commented on 2023-10-21 19:49 (UTC) (edited on 2023-10-21 21:01 (UTC) by superhansel)

Hi BryanLiang, of course - thanks for the suggestion. I've updated the packet accordingly. Feel free to leave some feedback if it works out for you!

BryanLiang commented on 2023-10-20 09:56 (UTC)

I checked the hooks, and they appear to be compatible exclusively with the Linux package. Could you please consider adding support for other kernels like linux-zen and linux-lts?

superhansel commented on 2023-07-12 08:13 (UTC)

Well spotted! Thank you, I've updated the package according to your feedback.

dreieck commented on 2023-07-12 00:28 (UTC)

Please add backup=('etc/pacman-boot-backup.conf') to the PKGBUILD, so that a user modified configueation file stays in place on package upgrade.
Thanks for maintaining!

dreieck commented on 2023-07-12 00:25 (UTC)

ncurses needs to be a make dependency, since tput is used in the $install script.

Regards!

superhansel commented on 2018-01-05 21:58 (UTC)

Implemented your feedback :)

Muflone commented on 2017-12-31 15:23 (UTC) (edited on 2017-12-31 15:23 (UTC) by Muflone)

@superhansel Hi, there are not any best-practies that I could recommend you. I think the best solution would be to place a .conf file in /etc and let the hook use that path.