#77 Differential backup fails looking for .bz2.bz2 in filename.

v3.0_testing
open
nobody
None
5
2013-03-12
2013-03-12
Alan Parker
No

Ubuntu 10.10, v3.0_rc6 of AMSQLB. Everything going fine until I try encryption. It says:

cp: cannot stat `daily_db_2013-03-10_23h11m_Sunday.sql.bz2.bz2.enc': No such file or directory

Which makes sense, as the file is called

daily_db_2013-03-10_23h11m_Sunday.sql.bz2.enc

Why would it be appending the extra .bz2? I've tried it with gzip and I've also tried turning incremental off, but it still does it.

Discussion


  • Anonymous
    2013-05-23

    I had a similar issue when coping to the latest directory. I cured it by changing line 307 of the main script to:

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

    (ie. deleting the extension variable)

    Perhaps a similar or even the same fix would work for you?

     
    Last edit: Anonymous 2013-11-26