An open API service indexing awesome lists of open source software.

https://github.com/wesbarnett/snap-pac

Pacman hooks that use snapper to create pre/post btrfs snapshots like openSUSE's YaST
https://github.com/wesbarnett/snap-pac

arch-linux pacman snapper

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# snap-pac

![Tests](https://github.com/wesbarnett/snap-pac/workflows/Tests/badge.svg)
![Docs](https://github.com/wesbarnett/snap-pac/workflows/Docs/badge.svg)

## Synopsis

This is a set of [pacman](https://wiki.archlinux.org/index.php/Pacman) hooks and script
that automatically causes [snapper](http://snapper.io/) 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](https://wesbarnett.github.io/snap-pac/).

## Installation

Install the `snap-pac` package using pacman.

For instructions on how to install without pacman, [see the
documentation](https://wesbarnett.github.io/snap-pac/installation.html).

## 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](https://wesbarnett.github.io/snap-pac/configuration.html).

## Documentation

See the [documentation here](https://wesbarnett.github.io/snap-pac/) 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.

[check the issues page]: https://github.com/wesbarnett/snap-pac/issues