差異處
這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 | |||
zfs [2017/12/05 00:15] jz |
zfs [2018/12/27 00:41] (目前版本) jz |
||
---|---|---|---|
行 50: | 行 50: | ||
zfs list | zfs list | ||
zfs get quota zroot/usr/home/username | zfs get quota zroot/usr/home/username | ||
+ | </code> | ||
+ | |||
+ | ====== Snapshot ====== | ||
+ | |||
+ | ===== Manual ===== | ||
+ | <code> | ||
+ | zfs snapshot tank/pool@snapshot | ||
+ | zfs rename tank/pool@snapshot tank/pool@snapshot-renamed | ||
+ | zfs rollback tank/pool@snapshot-renamed | ||
+ | zfs destroy tank/pool@snapshot-renamed | ||
+ | </code> | ||
+ | |||
+ | ===== Scheduled ===== | ||
+ | <code> | ||
+ | yaourt znapzend | ||
+ | znapzendzetup create --recursive SRC '7d=>1h,30d=>6h,60d=>1d' tank/pool | ||
+ | znapzend --debug --runonce tank/pool | ||
+ | zfs list -t snapshot | ||
+ | systemctl enable znapzend | ||
+ | systemctl start znapzend | ||
</code> | </code> | ||