diff --git a/commands.md b/commands.md index eb997ce..d4cce3c 100644 --- a/commands.md +++ b/commands.md @@ -66,6 +66,10 @@ zpool add mirror # add two disks as mirror to a storage p zpool remove # remove single devices or mirror sets from the storage pool zpool upgrade # upgrade the storage pool to latest version zpool labelclear [-f] # Clear vdev headers on disk of previous / faulted / obsolete pools +zfs send pool/volume@snapshot \ # Compress and Encrypt a snapshot and send it to a remote host for backups + | lz4 \ # Decrypt with: openssl enc -d -aes-256-cbc -a -in /path/to/backup/snapshot.lz4.ssl | unlz4 > /path/to/dest + | openssl enc -aes-256-cbc -a -salt \ # OR | zfs receive tank/volume + | ssh u@h "cat > /snapshot.lz4.ssl ``` # Software