Re: taking advantage of filles in folder other than destination folder

2008-05-05 Thread rssrik
Thanks again Paul, I found a solution last night. The following command works, rsync -az --compare-dest=../20080101/20080102/ rsync:<20080102>/ On adding / to the source directory name, only the contents of that directory gets created in the target. The workaround is to directly specif

DO NOT REPLY [Bug 5440] New: 'relative' test fails on SunOs 5.8

2008-05-05 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=5440 Summary: 'relative' test fails on SunOs 5.8 Product: rsync Version: 3.0.2 Platform: Sparc OS/Version: SunOS Status: NEW Severity: normal Priority: P3 Componen

Rsync with daemon over SSH on port 22 not daemon port

2008-05-05 Thread markcliff
Hi gurus! First time post: Scenario want to talk to daemon locked behind a firewall using encrypted transfer of files. Have daemon setup on port 10001. Do not have NC, do not have root access. Client command : rsync -avzul -e "ssh -vvv -l username" /home/users/blah/ rsync://lrem02:10001::

Re: taking advantage of filles in folder other than destination folder

2008-05-05 Thread Paul Slootman
On Mon 05 May 2008, rssrik wrote: > Thanks paul, > > but the requirement is to upload to the backup server (from database > server), > > "rsync -a --compare-dest=../$YESTERDAYS_BACKUP $TODAY $REMOTESOURCE > #change the src and dest" As you don't show what you've put into those variables, nota

Re: taking advantage of filles in folder other than destination folder

2008-05-05 Thread rssrik
Thanks paul, but the requirement is to upload to the backup server (from database server), "rsync -a --compare-dest=../$YESTERDAYS_BACKUP $TODAY $REMOTESOURCE #change the src and dest" this command does not seem to work for me !! I mean that the whole file is getting transferred ! Any thoug

Re: taking advantage of filles in folder other than destination folder

2008-05-05 Thread Paul Slootman
On Mon 05 May 2008, rssrik wrote: > Suppose, > > 1. I have taken yesterdays dump in a folder named 04-05-08 in database > server > 2. I have rsynced the folder 04-05-08 to the backup server. > 3. I have taken today's dump in folder named 05-05-08 in database server. > 4. Now while doing rsync, I

taking advantage of filles in folder other than destination folder

2008-05-05 Thread rssrik
Dear Folks, I have to backup pgsql database dump everynight on a routine. The database dump actually contains sql(text) statements. The actual size of the database dump is aroung 800 MB. Between two days backup, only few lines of statements are modified/added/deleted. I dont want to do incremen