cannot rsync when source directory lacks write permission

2012-07-27 Thread Brian J. Murrell
I seem to be running into a problem where I am trying to rsync from a source directory that lacks write permissions (i.e. r-xr-xr-x). Presumably this is because rsync creates the directory on the destination, then sets the permissions to match the source and then tries to sync the contents of the d

Hlink node data for 2282618 already has path=...

2012-06-24 Thread Brian J. Murrell
So, like a lot of people, I am using --link-dest to do backups. My backup target is ext4 so with a hard link limit of 64K. I do end up with trying to create too many links at some point though and get the following sequence of events: rsync: link "/.snapshots/hourly.0/linux/usr/src/openwrt-r186

Re: --link-dest doesn't work if target file exists (but needs updating)

2012-01-20 Thread Brian J. Murrell
On 12-01-20 06:01 PM, Kevin Korb wrote: > Someone has requested it: > https://bugzilla.samba.org/show_bug.cgi?id=7870 I'm not really sure that is the same bug. Maybe it is. Not convinced though. I guess I can file my own bug and ask 7870's OP to see if it's the same issue. > But is seems like

Re: --link-dest doesn't work if target file exists (but needs updating)

2012-01-20 Thread Brian J. Murrell
On 12-01-20 05:42 PM, Kevin Korb wrote: > Am I understanding right that your source and your link-dest are > actually the same path? Yes they are! > If so what are you trying to do that wouldn't > be accomplished with a simple 'cp -l'? Not all of the files in source and dest are supposed to be t

--link-dest doesn't work if target file exists (but needs updating)

2012-01-20 Thread Brian J. Murrell
Using: # rsync --version rsync version 3.0.7 protocol version 30 Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, IPv6,