Re: -b and --backup-dir options, should backup-dir be INSIDE the sync'd folder?

2005-12-29 Thread Wayne Davison
On Thu, Dec 29, 2005 at 03:37:01AM +, Sean Hammond wrote: > I'm using rsync to keep 3 copies of a folder named 'sync' synchronised. You might want to check into using unison for that (or even using a version control program, such as cvs). > rsync -r -b --backup-dir=backup --delete -z -i --pro

Re: Strange result when backing up /etc vs /root

2005-12-29 Thread Philip Rhoades
Wayne, I was using: rh8 & rsync-2.5.5-1.i386.rpm I upgraded to: rsync-2.6.6-1.0.rh9.rf.i386.rpm (on RH8) and added the "-i" switch and it worked! - only /etc/crontab was backed up (which is correct). Maybe there was a problem with the older version that behaved differently on

Why would an rsynced device file have a non-zero block count?

2005-12-29 Thread David Tonhofer, m-plify S.A.
Hello, I guess someone must know the answer to this conundrum. Context: The device file in question has been created by an rsync backup. The original device file (e.g. /dev/agpgart) as seen through stat(1) shows: Size: 0 Blocks: 0 "character special file" The copy of the device file (e.

Re: Illustration showing the rsync SRC and DEST args

2005-12-29 Thread John Van Essen
On Thu, 29 Dec 2005, John Van Essen <[EMAIL PROTECTED]> wrote: > > 1. You cannot list files other than via a daemon module, so the >4x4 grid's bottom row rightmost two squares should be empty. Oops. You cannot list a local directory is all. Remote non-daemon listings are allowed. So only t

Re: Illustration showing the rsync SRC and DEST args

2005-12-29 Thread John Van Essen
On Wed, 28 Dec 2005, David Tonhofer <[EMAIL PROTECTED]> wrote: > > I was somewhat confused by the rsync options, so I have > decided to do a little illustration showing the possible > SRC and DEST args. Feel free to use the diagram as you like. > (This includes critizing): > > http://rei1.m-plify

DO NOT REPLY [Bug 3358] rsync chokes on large files

2005-12-29 Thread bugzilla-daemon
https://bugzilla.samba.org/show_bug.cgi?id=3358 --- Comment #4 from [EMAIL PROTECTED] 2005-12-29 13:54 MST --- Sorry for spamming, but I just realised what you meant when you wrote: You can use the --checksum option to avoid this unneeded update at the expense of a lot of extra disk

DO NOT REPLY [Bug 3358] rsync chokes on large files

2005-12-29 Thread bugzilla-daemon
https://bugzilla.samba.org/show_bug.cgi?id=3358 --- Comment #3 from [EMAIL PROTECTED] 2005-12-29 13:48 MST --- Btw, I am just trying your suggestions. First I will try the inplace switch and secondly I will test syncing with twice the amount of space required for the file available.

DO NOT REPLY [Bug 3358] rsync chokes on large files

2005-12-29 Thread bugzilla-daemon
https://bugzilla.samba.org/show_bug.cgi?id=3358 --- Comment #2 from [EMAIL PROTECTED] 2005-12-29 13:47 MST --- Intereseting, didn't knwo that rsync worked that way - I thought the default behaviour was to only replace the parts of the file that had changed. Anyway, this motivates a f

RE: rsync to a SOHO NAS copies files everytime

2005-12-29 Thread Savage, Elijah
Though I am getting the error below it seems to all work. I went back and deleted some files and it only copied those files over but still gives me the errors and the stat command shows the exact times now. But it is confusing to still be getting those errors about not syncing times. John thank yo

RE: rsync to a SOHO NAS copies files everytime

2005-12-29 Thread Savage, Elijah
I realized I did not post the entire error. building file list ... 67 files to consider ./ rsync: failed to set times on "/musicbackup/.": Operation not permitted (1) Damon Marly/ rsync: failed to set times on "/musicbackup/.": Operation not permitted (1) sent 3176 bytes received 422 bytes 23

RE: rsync to a SOHO NAS copies files everytime

2005-12-29 Thread Savage, Elijah
They are surely off like you indicated, but I get this when I try to sync the times. I thought this may be some permissions error on the mount point so I chmod 777 on the backup dir but that did not fix anything. 67 files to consider ./ rsync: failed to set times on "/musicbackup/.": Bad file desc

RE: rsync to a SOHO NAS copies files everytime

2005-12-29 Thread Savage, Elijah
John, Thank you for the reply but this box actually shows this runs linux and a version of samba, and the drive is running the ext3 file system but you have given me great info and I am getting ready to try it right now. -Original Message- From: John Van Essen [mailto:[EMAIL PROTECTED] S

Re: rsync to a SOHO NAS copies files everytime

2005-12-29 Thread John Van Essen
On Thu, 29 Dec 2005, Savage, Elijah <[EMAIL PROTECTED]> wrote: > > I am trying to use a SOHO NAS to rsync my music dir to. Every time I run > the command it copies the entire dir and files each time. ... > I am using FreeBSD 5.4 with the latest port build and I run the command > below to try and

rsync to a SOHO NAS copies files everytime

2005-12-29 Thread Savage, Elijah
All, I am trying to use a SOHO NAS to rsync my music dir to. Every time I run the command it copies the entire dir and files each time. I have read the FAQ and searched google to no luck at fixing this. The NAS is this product http://www.lacie.com/products/product.htm?pid=10593 the 400gig model I

Re: "dont compress" via command line

2005-12-29 Thread Wayne Davison
On Wed, Dec 28, 2005 at 04:08:59PM -0800, Jonathan Chen -X (jonachen - The Armada Group, Inc. at Cisco) wrote: > For rsyncd.conf, there is the feature "dont compress" certain files > that are already compressed. Is there a way to use the same feature > with command line rsync to not compress fi

Re: error - File or path name too long

2005-12-29 Thread wwp
Hello Wayne, On Wed, 28 Dec 2005 10:16:19 -0800 Wayne Davison <[EMAIL PROTECTED]> wrote: > On Wed, Dec 21, 2005 at 09:30:05AM -0500, Yuan, Zhiyong (Exchange) wrote: > > readlink > > directioty_1/directioty_2/directioty_3/A_very_long_File_name_omitted_here: > > File or path name too long > > The

Re: double / on --exclude flag cuse the path not to be excluded

2005-12-29 Thread Paul Slootman
On Thu 29 Dec 2005, Kfir Cohen wrote: > Almost all application and binaries on linux discount the double slashes. > try to change dir with double slash or even tar cp , they all dont car > how much slash you have. if there are two slashes and there no dir > between them they remove on of the sla