HOW TO: Automated database backups (1 line of code + cPanel)
#10
Just so I know I'm doing this right, when I replace things like DBHOST with my host server, do I just add it after the -h or put it in quotes?

For example would:

/usr/bin/mysqldump -hDBHOST -uDBLOGIN

look like this:

/usr/bin/mysqldump -hlocalhost -ujudel

or

/usr/bin/mysqldump -h"localhost" -u"judel"

Also, is that /usr/bin/mysqldump universal or will it only work with Cpanel?

edit: and I think I'm missing something. When I did a test run, it seemed to find everything ok but gives me an error when saving the file. It says that permission denied when trying to save mybackup.sql.gz. Any idea why?

Jude




Reply


Messages In This Thread
RE: HOW TO: Automated database backups (1 line of code + cPanel) - by judel - 2008-03-08, 05:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)