Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: dmay on October 17, 2006, 10:07:34 PM
-
[ALPHA] For non production testing only. Highly experimental! [ALPHA]
Backup > Rsync
This backup method uses a software package called rsync to create a copy of your server configuration and user data files, and copies it to an attached local hard drive every night. The initial backup will match your current data size. Subsequent backups will synchronize your data and only copy changes which will make your actual backup time very efficient. This method allows you to restore your configuration and user data files easily using command-line tools.
The rsync backup requires a supported device that must be manually configured and formatted ext3. One example is an external USB drive mounted on /media/usbdisk.
Available in my contrib area as soon as mirrors sync:
http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/testing/smeserver-rsync/smeserver-rsync-0.0.1-a4dmay.noarch.rpm
You configure the automatic nightly backup via the server-manager panel. Once configured you may launch a manual backup using this command:
/etc/e-smith/events/actions/rsync-backup
You may repeat the above command as often as you want to see the benefit of backup synchronizations.
Simple restore requests are handled from the command-line. Mount your drive and to go to $MOUNT/$ID/rsync/path... and restore at your discretion. A full disaster recovery restore is scripted and automated. To simulate a server failure and perform a disaster recovery restore you would take these steps on your test server:
1) perform a fresh install of SME
2) configure, add users, ibays, e-mail
3) attach and configure your local usb drive formatting ext3
4) install smeserver-rsync & configure via the server-manager
5) perform a manual backup(s) via /etc/e-smith/events/actions/rsync-backup
6) perform a fresh resintall
7) install smeserver-rsync & configure via the server-manager
8) perform a manual disaster recovery restore via /etc/e-smith/events/actions/rsync-restore
9) test and report your results
Darrell
-
I did say this was an alpha release and highly experimental :D
I'm now experimenting with Gordon's rdiff-backup contrib and working to add a basic panel onto his contrib. I've recalled my contrib and removed it from my contribs area.
Darrell
-
...working to add a basic panel onto his contrib.
Longer slots (for e-smith-long ibay mount paths) ;~)
-
As per this post:
http://forums.contribs.org/index.php?topic=34320.0
I'm back to working with smeserver-rsync. Latest build will appear as soon as mirrors sync here:
http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/testing/smeserver-rsync
smeserver-rsync-0.0.1-a5dmay.noarch.rpm
Darrell
-
Latest build will appear as soon as mirrors sync here:
http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/7.x/testing/smeserver-rsync
smeserver-rsync-0.0.1-a6dmay.noarch.rpm
# rpm -qp --changelog smeserver-rsync-0.0.1-a6dmay.noarch.rpm
* Fri Nov 03 2006 Darrell May <dmay@myezserver.com>
- added support for no reminder e-mail
- [0.0.1-a6dmay]
Darrell
-
Hi Darrell
I am testing out your smeserver-rsync-0.0.1-a6dmay.noarch.rpm.
It backs up OK, but i can not get the exclude part to work.
I have tried the following:
/home/e-smith/files/ibays/bjarne-bu
/home/e-smith/files/ibays/bjarne-bu/
/home/e-smith/files/ibays/bjarne-bu/*
I want to exclude that whole dir (and a few more).
I'm backing up to a USB drive.
I had the same trouble with rdiff.
Will there be an option to "backup now" ?
Per
-
Hi Darrell,
Can this be used to back up to another server over SSH rather than a USB disk? Thanks.
Regards,
Del
-
I'm looking forward to developments on this contrib as I'm currently running rsync scripts of my own and would love to see the functionality built into the panel.
-E
-
Hello, This is a very nice script. I'm wondering of I can use it to rsync to a other rsync server. Is this posible?
-
Hi
How is this different from DAR?
-
It differs from DAR in that rsync is a straight copy, no compression.