1
0
mirror of https://github.com/hukl/freebsd-toolbox.git synced 2025-11-20 03:08:43 +01:00

Update commands.md

This commit is contained in:
John-Paul Bader
2023-03-07 12:51:16 +01:00
committed by GitHub
parent ad73ea6669
commit bc18fe3a55

View File

@ -68,7 +68,7 @@ zpool upgrade <pool> # upgrade the storage pool to latest ver
zpool labelclear [-f] <pool> # Clear vdev headers on disk of previous / faulted / obsolete pools zpool labelclear [-f] <pool> # 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 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 | 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 | openssl enc -aes-256-cbc -a -salt -pbkdf2 \ # OR | zfs receive tank/volume
| ssh u@h "cat > /snapshot.lz4.ssl | ssh u@h "cat > /snapshot.lz4.ssl
``` ```