.. | ||
readme.md | ||
unused_vm-backup-single.csh | ||
unused_vm-backup.csh | ||
vcreate.csh | ||
vm-backup.bash |
vm-backup.bash
Restore single line:
openssl enc -d -aes-256-ctr -a -pbkdf2 -iter 1000 -k supersecretstuff -in < backup file > | \
pigz -c -d -p 4 | \
zfs receive -F < restore destination >
Example:
openssl enc -d -aes-256-ctr -a -pbkdf2 -iter 1000 -k supersecretstuff -in /tank/backup/vms/stack-2021-02-10.pigz.enc | \
pigz -c -d -p 4 | \
zfs receive -F zroot/vms/stack