docs(script): Explain space.quico:auto-snapshot ZFS property (#1)

This commit is contained in:
hygienic-books 2023-03-06 00:36:20 +01:00
parent 7427d8477f
commit 8fbf16bda0

View File

@ -22,6 +22,11 @@ Get started like so:
``` ```
Note that while you may choose arbitrary locations for symlinks the `pacman-zfs-snapshot.hook` file references `/usr/local/bin/pacman-zfs-snapshot`. Change that accordingly if you need to. Note that while you may choose arbitrary locations for symlinks the `pacman-zfs-snapshot.hook` file references `/usr/local/bin/pacman-zfs-snapshot`. Change that accordingly if you need to.
1. Adjust `pacman-zfs-snapshot.conf` to your liking 1. Adjust `pacman-zfs-snapshot.conf` to your liking
1. For datasets you want auto-snapshotted add property `space.quico:auto-snapshot=true`
```
zfs set space.quico:auto-snapshot=true zpool/root/archlinux
```
With any other property and any other value datasets will not be auto-snapshotted.
# What's it do? # What's it do?