Commit Graph

3 Commits

Author SHA1 Message Date
Yassine Ilmi
9317cd5459
Fix bash history expansion and scrypt args order
On a freshly installed and update 4.0 GA, I tried to follow this procedure and ran into 2 issues:
- bash history expansion breaking the `echo "backup-header!$backup_pass"` because `!` and the following `$` is interpreted
- scrypt command was complaining about the first parameter being restricted to `dec` or `enc`, moved `-P` switch to 2nd position

References:
- https://www.gnu.org/software/bash/manual/html_node/History-Interaction.html
- https://www.gnu.org/software/bash/manual/html_node/Event-Designators.html#Event-Designators
- https://sanctum.geek.nz/arabesque/bash-history-expansion/
2018-05-06 12:20:14 +01:00
Marek Marczykowski-Górecki
c4b8166ffe
backup format v4: add backup_id field
Protect against feeding the user with the same VM but from older/newer
backup.
2016-10-25 21:49:17 +02:00
Marek Marczykowski-Górecki
39819567a9
Emergency backup restore v4 2016-10-10 14:01:09 +02:00