From 673fb15b4674028d3b6b6a0587d07ac5927c5716 Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Mon, 6 Mar 2023 00:40:08 +0100 Subject: [PATCH] refactor(script): Explain pacman-zfs-snapshot.conf last (#1) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2152685..653f16e 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,12 @@ Get started like so: sudo ln -s /pacman-zfs-snapshot.conf /etc/pacman-zfs-snapshot.conf ``` 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. You may want to set `do_dry_run='true'` for a start and just reinstall a benign package to get a feel for what this hook would do. 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. +1. Adjust `pacman-zfs-snapshot.conf` to your liking. You may want to set `do_dry_run='true'` for a start and just reinstall a benign package to get a feel for what this hook would do. # What's it do?