Domain backup problem. Ack, ack, ack!

software development


This seems like it should be simple, but something isn’t working. I’m trying to create automated backups of my mysql database and my domain. The mysql part went perfectly - but the domain-backup part isn’t working.

I found this on the DH wiki

Can anybody help me make heads or tails of this? I’ve got it set up, but I’m, getting the following error when I run the ./

tar: /home/jalpuna/domain-backups/archives/jalpuna.060829.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

I’m baffled! Especially since the mysql backup was more complex, yet worked flawlessly.

Jalpuna! - personal blog
twenty200 - photo blog
robsdemo - what I do


Have you tried the way cooler way that’s one the bottom of that page? :wink:

Check out Gordaen’s Knowledge, the blog, and the MR2 page.


Holy cow man! Well done! Well done!

The other scripts proved to be such a challenge to install, but yours worked on the first try.


Oh - and a question: How do I configure your script to back up multiple mysql databases?

Jalpuna! - personal blog
twenty200 - photo blog
robsdemo - what I do


You can just repete the mysqldump line for each database that you have, in the same script. If you’d prefer you can create seperate scripts for each, but I don’t really see a need to do it that way.

–Matttail - personal website