scripts/FreeBSD/vm/readme.md

391 B

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