diff --git a/user/how-to-guides/backup-emergency-restore-v2.md b/user/how-to-guides/backup-emergency-restore-v2.md index b261eaedaf..e00f371c23 100644 --- a/user/how-to-guides/backup-emergency-restore-v2.md +++ b/user/how-to-guides/backup-emergency-restore-v2.md @@ -67,14 +67,14 @@ encrypted and compressed. 4. Decrypt the `private.img` file. ~~~ - [user@restore vm1]$ openssl enc -d -pass pass:"$backup_pass" -aes-256-cbc -in private.img.000 -out private.img.dec.000 + [user@restore vm1]$ openssl enc -d -md MD5 -pass pass:"$backup_pass" -aes-256-cbc -in private.img.000 -out private.img.dec.000 ~~~ **Note:** For multi-part files, a loop can be used: ~~~ find -name 'private.img.*' | sort -V | while read f; do - openssl enc -d -pass pass:"$backup_pass" -aes-256-cbc -in $f -out + openssl enc -d -md MD5 -pass pass:"$backup_pass" -aes-256-cbc -in $f -out ${f/.img/.img.dec} done ~~~ diff --git a/user/how-to-guides/backup-emergency-restore-v3.md b/user/how-to-guides/backup-emergency-restore-v3.md index 19fb437f43..2b54406f2d 100644 --- a/user/how-to-guides/backup-emergency-restore-v3.md +++ b/user/how-to-guides/backup-emergency-restore-v3.md @@ -98,7 +98,7 @@ any GNU/Linux system with the following procedure. 6. Decrypt the `private.img` file. - [user@restore vm1]$ find -name 'private.img.*[0-9]' | sort -V | xargs cat | openssl enc -d -pass pass:"$backup_pass" -aes-256-cbc -out private.img.dec + [user@restore vm1]$ find -name 'private.img.*[0-9]' | sort -V | xargs cat | openssl enc -d -md MD5 -pass pass:"$backup_pass" -aes-256-cbc -out private.img.dec **Note:** If your backup was encrypted with a cipher algorithm other than `aes-256-cbc`, you must substitute the correct cipher command. This