Backup Sites and DBs

A maintenance script that will dump all your sites and databases every day into a backup folder.

  • Language: PHP
  • Released: May 3, 2011
    Last Update: May 3, 2011

Not all hosting services provide scheduled backup features, so this small tool is perfect to protect your sites in that case. Place it on hosting and change default settings on your one

define('DUMPS_PATH', 'PATH TO DUMP FOLDER');
define('ROOT_PATH',   'PATH TO ROOT SITES FOLDER');
$folders = array(
        'SITE FOLDER 1',
        'SITE FOLDER 2'
);
define('DB_HOST', 'HOSTING DB HOST');
define('DB_USER', 'HOSTING DB USER');
define('DB_PASS', 'HOSTING DB PASSWORD');

And you will get script that will perform the following actions daily:

  • Exports all DBs (allowed for DB_USER, so you can create special db-user and share all dbs with him)
  • Exports all CHANGED folders in the $folders list from ROOT_PATH
  • Gzips all data and save it in DUMPS_PATH
You need to log-in or create an account
  • Create an account
  • Log-in

Please use your real name.

Activation link will be sent to this address.

Minimum 8 characters

Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

X

Save your watchlist

Fill your details below to receive project updates from your watch list - including new versions, price changes and discounts.

I agree to the terms of use and privacy policy.

  • Very easy to use, gets the job done.
    NP Nathan Poultney
    2 years ago, 0 comments
    Was this helpful?
    Flag
  • Awesome component, would definitely reccommend.
    B Braunson
    2 years ago, 0 comments
    Was this helpful?
    Flag
  • Very nice :)
    U Umar
    2 years ago, 0 comments
    Was this helpful?
    Flag
Post a comment

Or enter your name and Email
No comments have been posted yet.