Camelot Hosting LLC
Please Login or Register

Knowledgebase

DB Backup script ( sends to email )

To do an automatic database backup and have it sent to your email adress is a 2 step process

Step1 Download the database-backup.zip file from our downloads section( Database Backup to Email Script). Unzip the file and edit, according to the instructions in the read me in the zip file, with your database information. Then upload the file to the root of your account (above public_html)

Step 2 go into c-panel and setup a cron job, you will run it like this set the run time how you like and the path below ( remember home or home2 whichever your server path is)

php -f '/home/username/backup.php' > /dev/null

Now at the appointed time the cron will run and a backup will be zipped up and emailed to you at the address you specified



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article


Quick Navigation


Client Login

Email

Password

Remember Me

Search


SSL