domain backup problem. Ack, ack, ack!

domain backup problem. Ack, ack, ack!

Posted by: jalpuna
Posted on: 2006-08-29 23:14:00

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

http://wiki.dreamhost.com/index.php/Automatic_Backup

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 ./domain.sh

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

Re: domain backup problem. Ack, ack, ack!

Posted by: gordaen
Posted on: 2006-08-31 10:12:00

Have you tried the way cooler way that's one the bottom of that page? ;)

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

Re: domain backup problem. Ack, ack, ack!

Posted by: jalpuna
Posted on: 2006-08-31 22:38:00

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.

Thanks!

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

Re: domain backup problem. Ack, ack, ack!

Posted by: matttail
Posted on: 2006-09-02 22:30:00

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
art.googlies.net - personal website

Tags: domainmysql backupmysql databasetarpersonal blogdreamhostbackupswikihttpautomatic backupexitingphpphoto