Skip to content

Pacman hooks that use snapper to create pre/post btrfs snapshots like openSUSE's YaST

License

Notifications You must be signed in to change notification settings

wesbarnett/snap-pac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

For more information, see the documentation.

Installation

Install the snap-pac package using pacman.

For instructions on how to install without pacman, see the documentation.

Configuration

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

For more information on configuring snap-pac, see the documentation.

Documentation

See the documentation here or man 8 snap-pac after installation.

Troubleshooting

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