meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:fs:zfs:auto_snapshots [2021/03/02 14:16] – niziak | linux:fs:zfs:auto_snapshots [2023/12/05 16:03] (current) – niziak | ||
---|---|---|---|
Line 5: | Line 5: | ||
</ | </ | ||
- | ====== | + | ===== get space used by snapshots |
+ | |||
+ | <code bash> | ||
+ | zfs list -o space | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== destroy | ||
+ | |||
+ | Destroy all snapshots contains '' | ||
+ | <code bash> | ||
+ | zfs list -H -t snapshot -o name | grep 2022 | xargs -n1 zfs destroy | ||
+ | </ | ||
+ | |||
+ | ===== Tools ===== | ||
+ | |||
+ | ==== zfs-auto-snapshot ==== | ||
+ | |||
+ | Automatically create, rotate, and destroy periodic ZFS snapshots. | ||
Exclude from snapshot: | Exclude from snapshot: | ||
Line 17: | Line 35: | ||
sudo apt-get install zfs-auto-snapshot | sudo apt-get install zfs-auto-snapshot | ||
</ | </ | ||
+ | |||
+ | ==== pyznap ==== | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ==== zsnapd ==== | ||
+ | [[https:// | ||
+ | |||
+ | Advanced. Can send snapshot to another machine. | ||
+ | |||
+ | ==== zfsnap ==== | ||
+ | [[https:// | ||
+ | |||
+ | ====== GUIs ====== | ||
+ | |||
+ | ===== snapshot-explorer ===== | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== snapper ===== | ||
+ | |||
+ | It is snapshot GUI for BTRFS. But there is a experimental [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ===== zgui ===== | ||
+ | |||
+ | [[https:// | ||
+ | <code bash> | ||
+ | sudo apt-get install golang-go libzfslinux-dev | ||
+ | |||
+ | |||
+ | go get gitlab.com/ | ||
+ | </ | ||
+ | |||