Help needed

2007-12-02 Thread piyush joshi
Dear all , I am using this rsync -avz --delete -e ssh [EMAIL PROTECTED]:/home /home/ to take back up of server .Please tell me how to specify date in this command so that i only delete 15 days old data from back up server which doesn't exist on main server now .. -- Regards Pi

Re: RSYNC

2007-12-02 Thread Wayne Davison
On Sun, Dec 02, 2007 at 08:43:04PM -0500, Matt McCutchen wrote: > You need to pass --recursive to make rsync traverse the source directory > and copy its contents. Or use the --dirs option to copy a directory without recursion. If the source directory has a trailing slash, just its immediate cont

Rsync help needed

2007-12-02 Thread piyush joshi
Dear All , I am new to rsync command and i need your help .I have one mail server I take the back up of mail server on backup server but what happen all users delete there mail's from mail server but that does'nt deleted from back up server after that i used --delete option problem s

Re: RSYNC

2007-12-02 Thread Matt McCutchen
On Mon, 2007-12-03 at 13:15 +1100, Kevin Johnson-Bade wrote: > Thanks Matt, I kind of realised it was because the destination had no > recursion, but adding recursion then changes the meaning of the > filtering. It would be more accurate to say that the filtering becomes relevant. Unless I am mist

Re: RSYNC

2007-12-02 Thread Matt McCutchen
On Sun, 2007-12-02 at 16:47 -0800, KJB1 wrote: > If I try: > > rsync -lptgoD -e "ssh -i /root/.ssh/rsync-key" --verbose --exclude="/*.*" > --exclude="*.xml" --include="+ */Tariff/" > 192.168.1.1:/home/e-smith/files/ibays/frogs/files/dbs/ > > rsync lists the correct files, but if I add the destina

RSYNC

2007-12-02 Thread KJB1
If I try: rsync -lptgoD -e "ssh -i /root/.ssh/rsync-key" --verbose --exclude="/*.*" --exclude="*.xml" --include="+ */Tariff/" 192.168.1.1:/home/e-smith/files/ibays/frogs/files/dbs/ rsync lists the correct files, but if I add the destination like this: rsync -lptgoD -e "ssh -i /root/.ssh/rsync-k

Re: Tiger compatibility

2007-12-02 Thread Robert DuToit
Thanks Giuliano- I can't believe I didn't think of that. It works well now. Thanks, Rob D On Dec 2, 2007, at 4:18 PM, Giuliano Gavazzi wrote: On 2 Dec 2007, at 19:58, Robert DuToit wrote: Hi, Before I go any further about OSX creation dates etc. I just discovered that the pre5 release d

rsync hangs when accessing through SSH (Leopard OS X)

2007-12-02 Thread Greg Loesch
To preface, I'm running Leopard OSX and am using rsync version 2.6.9 protocol version 29. Whenever I attempt to sync (using rsync obviously) a folder on my local drive to my web server (netfirms.com is my web host) using SSH, the process hangs. I have to force kill it in order to continue

error in rsync protocol data stream

2007-12-02 Thread Richard Jones
Help. This one's defeated me so far. I'm tring to push files from from a local Ubuntu 6.06 server to a remote Ubuntu 6.06 server using rsync (v 2.6.6 installed on both via apt-get). Every time I get the same eg: building file list ... 4 files to consider ./ Demo1.plt 63459 100%7.32MB/

Tiger compatibility

2007-12-02 Thread Robert DuToit
Hi, Before I go any further about OSX creation dates etc. I just discovered that the pre5 release doesn't work on OSX Tiger. I got this message in the rsync progress: dyld: Library not loaded: /usr/lib/libiconv.2.dylib Reason: Incompatible library version: rsync requires version 7.0.0 o

Re: Bidirectional rsync with "trash" support

2007-12-02 Thread Matt McCutchen
On Sun, 2007-12-02 at 15:44 +0100, Alan Franzoni wrote: > I have a folder I share between two computers of mine, A and B. What i > want is to be able to keep it in full sync. If a file is added in A, > it should be added to B when rsyncing, and viceversa. If a file is > updated, it should be update

Bidirectional rsync with "trash" support

2007-12-02 Thread N.J. van der Horn (Nico)
Hi Alan, Google for "csync2". That is Cluster Sync, ment to keep in sync files and directories on even more than 2 nodes. It uses "librsync" to optimize the transfers, can solve conflicts and you can interface it with "inotify". The latter is implemented already in "pyinotify", every time a file c

Bidirectional rsync with "trash" support

2007-12-02 Thread Alan Franzoni
Hello everybody, I was thinking about a special script to be done with rsync, when I realized my needs might have been common enough to have already been fulfilled by somebody else through a script or by some backup software. I have a folder I share between two computers of mine, A and B. What i w