Re: rsync log format problem

2005-09-13 Thread Wayne Davison
On Tue, Sep 13, 2005 at 02:57:34PM -0300, Mario Tambos wrote: > i can't use the process id alone, 'cause, although it identifies the > block, it can be used again for other rsync excecution. Firstly, PIDs on most systems don't repeat very quickly, so just using a PID combined with the date should

Re: exclueding two directories

2005-09-13 Thread Wayne Davison
On Tue, Sep 13, 2005 at 08:01:10PM -, redlotus72 wrote: > rsync -az -e ssh --delete $HOSTTOBACKUP:$SOURCE [...] > I need to exclue the following: > $HOSTTOBACKUP/Dir1 > and > $HOSTTOBACKUP/Dir2 That all depends on what is in $SOURCE. If its just a module name, then --exclude='/Dir[12]/' wil

Re: rsync newbie

2005-09-13 Thread Wayne Davison
On Tue, Sep 13, 2005 at 02:13:10PM -0600, Scott Miller wrote: > rsync: read error: connection reset by peer As mentioned on the issues and debugging page of the rsync web site: If the remote rsync is a daemon, your first step should be to look at the daemon's log file to see if it logged

Re: rsync newbie

2005-09-13 Thread John Van Essen
On Tue, 13 Sep 2005, Scott Miller <[EMAIL PROTECTED]> wrote: > My problem: I keep getting the following error and can't find much > info on it, or how to fix it: > > rsync: read error: connection reset by peer > rsync error: error in rsync protocol data stream (code 12) at io.c(177) > > I've

Re: Is there any option to check the synchronization is going on ?

2005-09-13 Thread Keith Warno
* <[EMAIL PROTECTED]> [12/09/2005 0845EDT]: > On Mon 12 Sep 2005, Lakshminarayanan Radhakrishnan wrote: > > > > Is there any option to check whether the synchronization is going on > > between > > machine A and machine B ? > > Use netmask and see if there's a port 873 TCP connection established

rsync newbie

2005-09-13 Thread Scott Miller
I am attempting to set up a "backup server" using rsync - it will store the backups from my 5 other servers and initiate the rsync process to pull the information over to itself.  From there, it will all be going to tape.   I've read just about everything I could the past few weeks, and feel

exclueding two directories

2005-09-13 Thread redlotus72
Hi. I am taking backup in following : rsync -az -e ssh --delete $HOSTTOBACKUP:$SOURCE $DR_BACKUP_DIR/hourly.0 >$tempfile 2>&1 I need to exclue the following: $HOSTTOBACKUP/Dir1 and $HOSTTOBACKUP/Dir2 how can I exclude? -- To unsubscribe or change options: https://lists.samba.org/mailman/

rsync log format problem

2005-09-13 Thread Mario Tambos
hi, i'm making a program that reads from a rsync log file, extracts useful information and writes it to a html file. the problem is: i don't know the way to identify a rsync block execution, that is a block of text in the log that have the same id process module, and source directory. i can't use t