Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#60 File Naming with Encryption and Latest

closed
nobody
None
5
2012-01-05
2012-01-04
oehlschl
No

In v3.0_rc6, there's a file naming issue when a user chooses to both encrypt backups and save the latest copy in a separate directory. cp fails with the warning "cannot stat dump.sql.gz.gz.enc". This can be fixed by changing line 307 of automysqlbackup from...

cp -al "${1}${suffix}.enc" "${CONFIG_backup_dir}"/latest/

...to...

cp -al "${1}.enc" "${CONFIG_backup_dir}"/latest/

Hope this helps!

Discussion

  • PittaGurneyi
    PittaGurneyi
    2012-01-05

    Of course it helps! Thank you for your help! I will fix it in the next rc version. Probably tomorrow.

     
  • PittaGurneyi
    PittaGurneyi
    2012-01-05

    • status: open --> closed