Forum Moderators: coopster

Message Too Old, No Replies

Weekly php backup script

Backup to Gmail?

         

thing3b

1:37 am on Feb 13, 2006 (gmt 0)

10+ Year Member



I currently have a website (family site) that when zipped is over 50 MB. I am looking for a way to backup my mysql databases and zip my entire site using php. I am hopeless when it comes to remembering to back up and my current internet connection does not allow me to just schedule my computer to download a backup each week.

What I would like to do is use my 2GB Gmail account to back up my website but the issue is that the email size limit is 10 MB.

I do not have access to the command line from php.

Can anyone:
- Tell me of a way to create spit archive files that are under 10 MB,
- Sugest a reliable method to get a mysql backup through php or,
-Make any helpful comments about this problem?

thing3b

1:45 am on Feb 13, 2006 (gmt 0)

10+ Year Member



I have considered "PHP Gmail Drive" from sourceforge.net, but I would really like a solution that does not break every time gmail is updated.

jatar_k

6:19 pm on Feb 13, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



to do the mysql backup you could get php to issue a mysqldump [dev.mysql.com] command and then save that to a file. Then see how big that file is.