If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
got this running for a very minute db (if y'all are worried, less than 100kb) to test...it seems that that last backup was 3/16/04...? did i miss something?
TIA.
my signature was deleted. i miss my signature-filled-with-helpful-dathorn-links *sniff*sniff*
currently switch the cpanel theme to xskin from cpskin... and then commited the changes to the crontab--i'll check again tomorrow morning. this might be a bug (maybe?) ...cause when i commit change on the cpskin-crontab, its doesn't say anything but "crontab >" ...and a link to go back...
my signature was deleted. i miss my signature-filled-with-helpful-dathorn-links *sniff*sniff*
can someone try this script on theirs (i.e. /home/username/backups/automysqlbackup.sh) to see if its my end ...
file attached. just rename the extension from .txt to .sh, and just setup a cron like the one posted above--set the time to whatever is reasonable to test it. TIA.
note: weird thing is...another cpanel account of mine has it working w/ the "/backups" folder as a sub-folder under "/public_html"--which i dont want to do with the other sites since its more of a security issue...
my signature was deleted. i miss my signature-filled-with-helpful-dathorn-links *sniff*sniff*
new features:
-ability to backup "all" your dbs, and exlude ones you dont want it to do
-pre and post backup operations that you can have it do (i.e. you can probably write/run a script to ftp to a remote server... so if you know how to do this, please do and post here ^^ )
...problem resolved (till further notice ^^ )
my signature was deleted. i miss my signature-filled-with-helpful-dathorn-links *sniff*sniff*
BASH scripts always have to be uploaded in text (ASCII) mode. If it was named filename.sh before you uploaded it, your ftp client may have sent it in binary mode. If it was filename.txt when you uploaded it, and then after uploading, you renamed it to filename.sh, then your ftp client should have correctly sent it in text mode. Perhaps this was a factor for you(?)
Comment