This script was originally posted as noted below and I made
some minor
modifications to
allow it to mail the results to an administrator or yourself and also
echo the time it
took to complete.
Use at your own risk!
#####################################
Making secure remote backups with Rsync
Thursday November 04, 2004 (08:00 AM GMT)
By: Brice Burgess http://servers.linux.com/article.pl?sid=04/11/04/0346256&tid=119&tid=47&pagenum=1
#####################################
This will only work if you follow the instructions located on the
excellent article
published by Brice Burgess that explains how to setup passwordless
remote ssh keys.
I have created a rudimentary Kommander script to help ease the process
noted in Brice's
article. It may or may not work for you it depends on your bash prompt
on remote machine.
The Kommander script uses expect and expect expects a certain prompt in
order for it
to work. So if it don't work for you with the Kommander script read
Brice's article and
get busy at the command prompt.
My Kommander script is located here and at:
http://kde-apps.org/content/show.php?content=36288
If you don't have Kommander installed you will need to install it to
run the Kommander script.
urpmi kommander as root.
Another good page on rsync is:
This script was originally posted as noted below and I
made some minor
modifications to
allow it to mail the results to an administrator or yourself and also
echo the time it
took to complete. You must modify the settings in the script for your
own use.
Use at your own risk!
#####################################
Making secure remote backups with Rsync
Thursday November 04, 2004 (08:00 AM GMT)
By: Brice Burgess http://servers.linux.com/article.pl?sid=04/11/04/0346256&tid=119&tid=47&pagenum=1
#####################################
This will only work if you follow the instructions located on the
excellent article
published by Brice Burgess that explains how to setup passwordless
remote ssh keys.
I have created a rudimentary Kommander script to help ease the process
noted in Brice's
article. It may or may not work for you it depends on your bash prompt
on remote machine.
The Kommander script uses expect and expect expects a certain prompt in
order for it
to work. So if it don't work for you with the Kommander script read
Brice's article and
get busy at the command prompt.
My Kommander script is located here and at: http://kde-apps.org/content/show.php?content=36288
If you don't have Kommander installed you will need to install it to
run the Kommander script.
Mandriva users can run the command urpmi kommander as root.
Another good page on rsync is: http://www.mikerubel.org/computers/rsync_snapshots/
This will update and mail you the resulst of the update. Suggested use with cron for automated update of your Mandriva Linux distribution.
You must edit the email address and mail. Set to mail mutt or pine. Whatever command line mail you use on your server. Or remove the mail part and the eval rm part and just log it to local file. You choose!