diff --git a/docs/source/faq.rst b/docs/source/faq.rst index c6f17e4..1006fc8 100644 --- a/docs/source/faq.rst +++ b/docs/source/faq.rst @@ -22,6 +22,11 @@ No, but you can add a hook that does it for you. It would be something like the When = PreTransaction Exec = /usr/bin/rsync -avzq --delete /boot /.bootbackup +Note that you will probably want to name the file with a numbered prefix less than +``05`` so that it is run before the snap-pac pre snapshot takes place. That will ensure +that the snapshot taken will have the boot partition back-up corresponding with the +state of the system. For example, you could name it ``04-backupboot.hook``. + **How do I link old kernel modules automatically when the kernel is upgraded?** diff --git a/hooks/00_snapper-pre.hook b/hooks/05-snap-pac-pre.hook similarity index 100% rename from hooks/00_snapper-pre.hook rename to hooks/05-snap-pac-pre.hook diff --git a/hooks/10_snap-pac-removal.hook b/hooks/10-snap-pac-removal.hook similarity index 100% rename from hooks/10_snap-pac-removal.hook rename to hooks/10-snap-pac-removal.hook diff --git a/hooks/zz_snapper_post.hook b/hooks/zz-snap-pac-post.hook similarity index 100% rename from hooks/zz_snapper_post.hook rename to hooks/zz-snap-pac-post.hook