heh, the best way to avoid that error is to not listen to my advice.
I made a change to the wiki article recently, decided to cut the backup command down to one line, but apparently tar doesn’t like that method as well.
Change your backup scripts from this:
tar -cf /home/user/backups/archives/domain.$suffix.tar /home/user/.snapshot/nightly.0/domain.com
tar -cf /home/user/backups/archives/domian$suffix.tar domain.com/
(that’s two lines, one starting with “cd” the other with “tar”)
I do not believe that there’s any need to shut down or ‘lock’ the database before backuping up that data. I’m fairly certin that a mysql dump is designed to take backups while the DB is running.
[qupte]Lastly, how would you modify the sh scripts to send the backups to another (non-DH) server?[/quote]
Hmm, that’s a fun question. You can either have your DH server send it to your ServerB, or visa versa. It shouldn’t make any difference in speed.
I think what I’d do would be to use sftp to send the files. Basically you’d take the instructions for automatically downloading your files to a linux machine and switch them around a bit to suit your needs. You could also use “scp” to send the files. (I don’t know of any way to send the files if you don’t have sftp or ssh access)
Hope that helps. Thanks for the convert utility, I’ll add a not about that to the wiki.
art.googlies.net - personal website