Jump to content

IBackup

From MattWiki

Note: This Page was written with Fedora 9 & 10 in mind, and may not work correctly with other versions or distributions.

To use iBackup with a Linux system you will need to use rsync as your transfer program. To encrypt the data use stunnel.

Sending Securely to iBackup[edit | edit source]

First we need to make sure rsync and Stunnel are installed.

yum install rsync stunnel

Now lets configure stunnel. First create the file /etc/stunnel/stunnel.conf and add the following to it.

client = yes
[ibackup]
accept = 45873
connect = rsync4.ibackup.com:5000

Now start the stunnel daemon

/usr/bin/stunnel

To make the stunnel daemon when the system start, as root run.

echo /usr/bin/stunnel >> /etc/rc.local

Next you will need to run a command similar to this.

rsync -r -v -z -h --del --progress -t /var/www <iBackup_Username>@localhost::ibackup --port=45873

To save your iBackup password[edit | edit source]

export RSYNC_PASSWORD = <your ibackup password>

or

echo "export RSYNC_PASSWORD = <your ibackup password>" >> /etc/rc.local

To Restore files from iBackup[edit | edit source]

export RSYNC_PASSWORD=<password> && rsync -r -v -z -h --stats --progress -t <username>@localhost::ibackup/www/html /var/www/ --port=45873

Notes[edit | edit source]