vault backup: 2024-12-20 14:21:09

This commit is contained in:
Jerry Jacobs 2024-12-20 14:21:09 +01:00
parent 6a405b64e6
commit 19a0716924
1 changed files with 6 additions and 0 deletions

View File

@ -99,15 +99,21 @@ data/test-dataset/dataset-1 128M 410G 128M /data/test-dataset/dataset-1
## ZFS snapshot visibility ## ZFS snapshot visibility
Hide the `.zfs/snapshot` directory in the dataset so Syncthing doesn't sync it by accident when not ignored via `.stignore`:
``` ```
# zfs list -t snapshot zpool/data/syncthing/shared/jerry/private # zfs list -t snapshot zpool/data/syncthing/shared/jerry/private
# zfs get snapdir zpool/data/syncthing/shared/jerry/private # zfs get snapdir zpool/data/syncthing/shared/jerry/private
# zfs set snapdir=hidden zpool/data/syncthing/shared/jerry/private # zfs set snapdir=hidden zpool/data/syncthing/shared/jerry/private
``` ```
To make it visible again
``` ```
# zfs set snapdir=visible # zfs set snapdir=visible
``` ```
See https://docs.oracle.com/cd/E78901_01/html/E78912/gprhq.html
# See also # See also
* [[freebsd-notes]] * [[freebsd-notes]]