giftshilt.blogg.se

Ibackup com
Ibackup com












You will get an email informing you of whether the backup was successful or if there are errors.

ibackup com

You will backup a copy of the entire database every day, and any changed files as well.

ibackup com

Then in cron, add the following to run this backup every day at 1:20 am I have some shell scripts that extract the user, database name and password for Drupal's database from settings.php automatically, but did not have time to integrate them into this script yet. Rsync -rvzt $DIR need to change the passwords in the appropriate place. Mysqldump -opt -u$DB_USER -p$DB_PASS $DB_NAME | bzip2 -c > $DB_ARCHIVE # Directory that holds the database backupĭIRS_TO_RSYNC="/var/# Create the dump file, compressed by bzip2 Save it to /usr/local/bin/ibackup.sh or a location of your choice. image files users created as attachments to node, or new modules you installed). Rsycn then copies the entire database dump, and any files that changed on the server (e.g. The strategy is to inform rsync of the location to be backed up, as well as a special location to hold database dumps. This is not limited to ibackup, and is applicable to rsync capable servers under your direct control.

#Ibackup com how to#

This article explains how to write a script to backup Drupal to ibackup via rsync.

ibackup com

One of the nice features they have is the ability to use rsync to backup your files to the space allocated to you. Rsync is also used by is a commerical service for online backup and online storage. This means that files changed on location A will be copied to B and vice versa. Rsync copies files from one location to another keeping both copies in sync. Rsync is a remote file sync protocol written by the same people who brought us the Samba project.












Ibackup com