Re: Skipping hardlinks in a copy

2007-03-08 Thread Eur Ing Chris Green
On Wed, Mar 07, 2007 at 09:22:08PM -0800, Sriram Ramkrishna wrote: Hi folks, I've been googling around for awhile but I can't seem to find an answer to my question. I have a number of filesystems that contain thousands of hard links due to some bad organization of data. Rsync, cpio and

Re: Skipping hardlinks in a copy

2007-03-08 Thread Paul Slootman
On Wed 07 Mar 2007, Sriram Ramkrishna wrote: that are hard links. Then after the copy is finished, I will use some kind of find . -type l type command that finds the hard links and then find -type l will find symbolic links, *not* hard links. Paul Slootman -- To unsubscribe or change

about lock.

2007-03-08 Thread Alejandro Feijóo
Hi, i try to learn how rsync lock files for create a backup, but.. not find any on www. some can help me and give any HOWTO or FAQ or document ? Thanks! -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read:

Re: about lock.

2007-03-08 Thread Paul Slootman
On Thu 08 Mar 2007, Alejandro Feij?o wrote: Hi, i try to learn how rsync lock files for create a backup, but.. not find any on www. rsync does not lock files. Paul Slootman -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read:

Re: about lock.

2007-03-08 Thread Alejandro Feijóo
mmm and is posible corrupt data??? for example if rsync is on file called A.txt and at same time mysql is read A.txt... whats happend? is that who i dont understand. 2007/3/8, Paul Slootman [EMAIL PROTECTED]: On Thu 08 Mar 2007, Alejandro Feij?o wrote: Hi, i try to learn how rsync lock

Re: Skipping hardlinks in a copy

2007-03-08 Thread Phil Howard
On Wed, Mar 07, 2007 at 09:22:08PM -0800, Sriram Ramkrishna wrote: | Hi folks, I've been googling around for awhile but I can't seem to find | an answer to my question. | | I have a number of filesystems that contain thousands of hard links due | to some bad organization of data. Rsync, cpio

Re: about lock.

2007-03-08 Thread Phil Howard
On Thu, Mar 08, 2007 at 12:08:55PM +0100, Alejandro Feij?o wrote: | mmm and is posible corrupt data??? | | for example if rsync is on file called A.txt and at same time mysql is read | A.txt... whats happend? is that who i dont understand. It can get mixed data. The file contents could appear

Re: about lock.

2007-03-08 Thread Alejandro Feijóo
Its Great! thanks for the info :) -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[BUG] clear ACL-s on destination

2007-03-08 Thread Stanisław Gruszka
Destroy ACL-s on destination when no ACL-s differens between source and destination. Bug is somehow related with function send_file_name() called with negative file descriptor f. There is no such bug in 2.6.9 version, but there options -X -A --deleted can't be used (we have Internal error:

Re: Receive more information about transfer problems in server log?

2007-03-08 Thread Bas van Schaik
Hi Dave, Dave Markham wrote: What are you the Rsync options you are using ? Clientside: rsync -vratz --password-file=somefile --force --delete-excluded --delete --exclude-from=somefile --files-from=somefile Serverside: rsync --no-detach --daemon --config /etc/rsyncd.conf with rsyncd.conf:

Re: --delete --force Won't Remove Directories With Dotnames

2007-03-08 Thread Sabahattin Gucukoglu
Hi Matt, On 2 Mar 2007 at 10:37, Matt McCutchen [EMAIL PROTECTED] said: On 3/2/07, Sabahattin Gucukoglu [EMAIL PROTECTED] wrote: --delete --force Won't Remove Directories With Dotnames if you remove a directory which was aborted in a recent transfer on source (leaving a .partial mirror

Tip for SSH users with connection unexpectedly closed troubles

2007-03-08 Thread Phil Hassey
Thanks for rsync - it's great! I use it for all my backups. I use rsync via SSH. Recently - I was having trouble with my backups: rsync: connection unexpectedly closed (4968349 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(453)

Re: --delete --force Won't Remove Directories With Dotnames

2007-03-08 Thread Wayne Davison
On Thu, Mar 08, 2007 at 05:02:21PM -, Sabahattin Gucukoglu wrote: However, rsync is still never making any mention of the .partial directories in the output during the list build or sync (even with -vv, and I think even this would be a courtesy indicator). Starting with version 3.0.0,

Re: Skipping hardlinks in a copy

2007-03-08 Thread Wayne Davison
On Wed, Mar 07, 2007 at 09:22:08PM -0800, Sriram Ramkrishna wrote: Is there a way to have it skip hard links when doing an rsync? If you mean you want to skip any file that has more than one link, you could do this: find . -type f -links +1 /path/exclude.txt Then, you'd use the exclude.txt

Re: [BUG] clear ACL-s on destination

2007-03-08 Thread Wayne Davison
On Thu, Mar 08, 2007 at 03:00:38PM +0100, Stanis?aw Gruszka wrote: Destroy ACL-s on destination when no ACL-s differens between source and destination. Can you explain this a little more? we have Internal error: wrong write used in receiver. Yes, this is a known problem with the acls.patch

Re: Tip for SSH users with connection unexpectedly closed troubles

2007-03-08 Thread Wayne Davison
On Thu, Mar 08, 2007 at 10:32:04AM -0700, Phil Hassey wrote: someone suggested that I add this to my ~/.ssh/config file: ServerAliveInterval 5 ServerAliveCountMax 120 Those options only apply to protocol 2 connections (which people should be using anyway these days). There are also settings

--link-dest on a local filesystem

2007-03-08 Thread Jaco Kroon
Hi guys, I've been struggling with getting --link-dest working for a couple of hours now. I'm using rsync 2.6.9 (protocol 29), on Gentoo Linux. For some strange reason, whenever I recreate the source file, even though it's identical to the old source file --link-dest simply does not create the

Re: Skipping hardlinks in a copy

2007-03-08 Thread Sri Ramkrishna
On Wed, Mar 07, 2007 at 09:22:08PM -0800, Sriram Ramkrishna wrote: Hi there, For some reason, I sent this mail before I was fully subscribed and I have missed out on the replies. If I don't answer all the responses this is why. The following command pipeline can give you a list which you

Re: Skipping hardlinks in a copy

2007-03-08 Thread Paul Slootman
On Thu 08 Mar 2007, Sri Ramkrishna wrote: I think I probably hard links to directories. I have observed cpio going through a loop continously. Since I was doing this on an AIX JFS filesystem (on an AIX fileserver) it might not have same protections that I believe Linux when hitting a

Re: Skipping hardlinks in a copy

2007-03-08 Thread Sriram Ramkrishna
On Thu, Mar 08, 2007 at 10:15:01PM +0100, Paul Slootman wrote: On Thu 08 Mar 2007, Sri Ramkrishna wrote: I think I probably hard links to directories. I have observed cpio going through a loop continously. Since I was doing this on an AIX JFS filesystem (on an AIX fileserver) it might

Re: Skipping hardlinks in a copy

2007-03-08 Thread Sriram Ramkrishna
On Thu, Mar 08, 2007 at 10:14:39AM -0800, Wayne Davison wrote: On Wed, Mar 07, 2007 at 09:22:08PM -0800, Sriram Ramkrishna wrote: Is there a way to have it skip hard links when doing an rsync? If you mean you want to skip any file that has more than one link, you could do this: find

Re: --link-dest on a local filesystem

2007-03-08 Thread Wayne Davison
On Thu, Mar 08, 2007 at 08:56:54PM +0200, Jaco Kroon wrote: For some strange reason, whenever I recreate the source file, even though it's identical to the old source file --link-dest simply does not create the link. The file isn't identical enough to hard-link unless every preserved detail is

question about compare-dest

2007-03-08 Thread Allan Gottlieb
I have a directory dumps on my laptop containing several dumps of various levels. local-0-2007-03-03.gz local-4-2007-02-12.gz local-4-2007-02-19.gz local-4-2007-02-26.gz local-4-2007-03-05.gz local-5-2007-03-04.gz local-5-2007-03-06.gz local-5-2007-03-07.gz local-5-2007-03-08.gz Naturally the

Re: [BUG] clear ACL-s on destination

2007-03-08 Thread Stanisław Gruszka
Dnia 8-03-2007 o godz. 15:00 Stanisław Gruszka napisał(a): Destroy ACL-s on destination when no ACL-s differens between source and destination. Wayne, here is example: [EMAIL PROTECTED] /mnt/hda5 $ getfacl --omit-header export/file user::rw- user:apache:-w- group::r-- mask::rw- other::r--