A maintenance script that will dump all your sites and databases every day into a backup folder.
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: