cytopia / mysqldump-secure

[sh] Encrypted mysqldump script with compression, logging, blacklisting and Nagios/Icinga monitoring integration
https://mysqldump-secure.org
147 stars 38 forks source link

Keep original filename after decryption #13

Closed Paike closed 8 years ago

Paike commented 8 years ago

Mysqldump-secure suffixes encrypted files with ".enc" extension. Decrypt.sh adds a ".decrypted" extension. When gzip -d, gzip then complains about an unknown suffix. With this change encrypted Mysqldump-secure dumps will get their original filename after decryption and can be decompressed without renaming them again.