-
👾 @MSImport pool
zpool import -d /root/zfs/ pool-cryo zfs set compression=zstd-11 pool-cryo zpool upgrade pool-cryo
Edited by Mathieu Schroeter -
👾 @MSSnapshots
zfs list -t snapshot zfs snapshot pool-x@snap1 zfs rollback pool-x@snap1 zfs diff pool-x@snap1 zfs destroy pool-x@snap1
Edited by Mathieu Schroeter -
👾 @MSExample 12 Remotely Replicating ZFS Data The following commands send a full stream and then an incremental stream to a remote machine, restoring them into poolB/received/fs@a and poolB/received/fs@b, respectively. poolB must contain the file system poolB/received, and must not initially contain poolB/received/fs. # zfs send pool/fs@a | \ ssh host zfs receive poolB/received/fs@a # zfs send -i a pool/fs@b | \ ssh host zfs receive poolB/received/fs Example 13 Using the zfs receive -d Option The following command sends a full stream of poolA/fsA/fsB@snap to a remote machine, receiving it into poolB/received/fsA/fsB@snap. The fsA/fsB@snap portion of the received snapshot's name is determined from the name of the sent snapshot. poolB must contain the file system poolB/received. If poolB/received/fsA does not exist, it is created as an empty file system. # zfs send poolA/fsA/fsB@snap | \ ssh host zfs receive -d poolB/received
Edited by Mathieu Schroeter
Please register or sign in to comment