Differential backup fails looking for .bz2.bz2 in filename.
Automatic MySQL Backup
Brought to you by:
wipe_out
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.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
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