meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:fs:zfs:auto_snapshots [2021/03/04 21:56] niziaklinux:fs:zfs:auto_snapshots [2023/09/19 07:55] niziak
Line 5: Line 5:
 </code> </code>
  
-====== ZFS auto snapshots ======+===== get space used by snapshots ===== 
 + 
 +<code bash> 
 +zfs list -o space 
 +</code> 
 + 
 + 
 +===== destroy snapshots ===== 
 + 
 +Destroy all snapshots contains ''2022'': 
 +<code bash> 
 +zfs list -H -t snapshot -o name | grep 2022 | xargs -n1 zfs destroy 
 +</code> 
 + 
 +===== 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
 </code> </code>
 +
 +==== pyznap ====
 +
 +[[https://github.com/yboetz/pyznap|pyznap]]
 +
 +==== zsnapd ====
 +[[https://github.com/grantma/zsnapd|ZFS Snapshot Daemon]]
 +
 +Advanced. Can send snapshot to another machine.
 +
 +==== zfsnap ====
 +[[https://github.com/zfsnap/zfsnap|zfsnap]]
  
 ====== GUIs ====== ====== GUIs ======
  
-https://gitlab.com/beteras/zgui+===== snapper ===== 
 + 
 +It is snapshot GUI for BTRFS. But there is a experimental [[https://github.com/johanfleury/snapper/tree/feature/zfs|zfs]] branch to support zfs. 
 + 
 +[[https://github.com/openSUSE/snapper]] 
 + 
 +===== zgui ===== 
 + 
 +[[https://gitlab.com/beteras/zgui]] 
 +<code bash> 
 +sudo apt-get install golang-go libzfslinux-dev 
 + 
 + 
 +go get gitlab.com/beteras/zgui 
 +</code> 
 +