Don't follow bind mounts?

2013-05-15 Thread Carl Brewer
Hello, The manual says that rsync treats bind mounts on UNIX (Linux) to the same filesystem as being on the same filesystem. I have a server with a pile of bind mounts to the same filesystem for some access control/ease of use for FTP users modifying websites. This makes my backups using rs

Re: Using rsync to just -resync permissions and ownership?

2013-05-14 Thread Carl Brewer
On 15/05/2013 11:26 AM, Kevin Korb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, it will change the permissions and ownerships even if it doesn't touch the data. Thank you Carl -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change o

Re: Using rsync to just -resync permissions and ownership?

2013-05-14 Thread Carl Brewer
On 15/05/2013 10:57 AM, Kevin Korb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, since your timestamps are all a mess you have 2 choices... 1. Assume that all files on one system are correct and rsync --archive from it to the other. Rsync will go through all the data but it will onl

Re: Using rsync to just -resync permissions and ownership?

2013-05-14 Thread Carl Brewer
On 15/05/2013 10:38 AM, Kevin Korb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If the timestamps are the same then rsync with -a should just fix the ownerships and permissions. That doesn't seem to deal with older files though, which is most of them, at least as far as I can tell. M

Using rsync to just -resync permissions and ownership?

2013-05-14 Thread Carl Brewer
G'day, I'm in the process of fixing a long broken rsync backup on a couple of servers. The old system rsync'd a Linux (CentOS 5) server onto a Opensolaris/OpenIndiana server but didn't worry about ownership or permissions, across an expensive WAN link. All the ownerships and permissions ar