zfs-pacman-hook/pacman-zfs-snapshot.conf

36 lines
1.2 KiB
Plaintext
Raw Normal View History

do_dry_run='true'
2023-03-05 08:15:16 +01:00
# Pipe-separated list of kernel names. Will be matched against regular
# expression ^this_var_here$. Snapshots taken before a pacman transaction on
# an important package have a separate retention from snapshots for trivial
# packages. Lends itself to keeping kernel updates separate from everything
# else.
important_names='tmux'
# zfs pkgs, systemd?
2023-03-05 08:15:16 +01:00
snaps_trivial_keep='15'
snaps_important_keep='5'
snaps_trivial_suffix='trv'
snaps_important_suffix='imp'
pkgs_list_max_length='24'
# Hook will by default snapshot all datasets that have the property
# 'space.quico:auto-snapshot=true' set, even the ones that are not currently
# mounted and may belong to unrelated operating systems. Set
# snap_only_local_datasets='true' to limit snapshots to only those datasets
# that have aforementioned property and at the same time are currently
# mounted in your running OS. Currently mounted is defined as:
# findmnt --json --list --output 'fstype,source,target' | \
# jq --raw-output '.[][] | select(.fstype=="zfs") | .source'
snap_only_local_datasets='true'
snap_field_separator='_'
snap_name_prefix='pac'
2023-03-06 03:02:02 +01:00
snap_date_format='%F-%H%M'
snap_op_installation_suffix='inst'
snap_op_remove_suffix='rmvl'
snap_op_upgrade_suffix='upgr'