snap-pac/README.md
2021-03-11 20:08:05 -05:00

1.6 KiB

snap-pac

Tests Docs

Synopsis

This is a set of pacman hooks and script that automatically causes snapper to perform a pre and post snapshot before and after pacman transactions, similar to how YaST does with OpenSuse. This provides a simple way to undo changes to a system after a pacman transaction.

Installation

Install the snap-pac package using pacman.

Alternatively download the latest release and signature , verify the download, and then run make install.

I have signed the release tarball and commits with my PGP key. Starting with release 2.2, the tarballs are signed with my key with fingerprint F7B28C61944FE30DABEEB0B01070BCC98C18BD66.

For previous releases, the key's fingerprint was 8535CEF3F3C38EE69555BF67E4B5E45AA3B8C5C3.

Configuration

Most likely, configuration is not needed. By default, the snapper configuration named root will have pre/post snapshots taken for every pacman transaction.

To configure, copy the example configuration file:

cp /etc/snap-pac.ini{.example,}

Then edit with your favorite editor. The file is commented and should be self-explanatory.

Documentation

Run man 8 snap-pac after installation.

Troubleshooting

After reviewing the man page, check the issues page and file a new issue if your problem is not covered.