On 2008-04-21 Ashwin Basagouda Patil wrote:
> I was able to configure the Backup server and client by RSYNC utility, It
> is working just fine.
>
> How I can configure it to log the total amount of data [In terms of GB/mb]
> backed up in every time it runs.
>
> My client side configuration file is:
> ****************************************************************************
>
> Echo "=========== backup set 1 =============" >> /rsync/rsync.log;date >>
> /rsync/rsync.log;/usr/bin/rsync -v --rsync-path=/usr/bin/rsync -aE --
> delete --password-
> file="/etc/backup_rsyncd.pass" "/<source_dir>/" "email@hidden:/Volumes
> /bkpdrive" >> /rsync/rsync.log
>
> ****************************************************************************
>
> -v option logs all the files backed up, but how can set the option to get
> the info only about how much of data copied at every run.
rsync's built-in logging does what you want.
rsync -aE --log-file=/rsync/rsync.log SOURCE DESTINATION
man rsync
I'd recommend to rsync over SSH (which is the default nowadays) using
public key authentication rather than running an rsyncd.
Regards
Ansgar Wiechers
--
"Another option [for defragmentation] is to back up your important files,
erase the hard disk, then reinstall Mac OS X and your backed up files."
--http://docs.info.apple.com/article.html?artnum=25668
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden
This email sent to email@hidden