Re: feature request: exclude from path

2020-08-02 Thread Andy Smith via rsync
Hi Matt, On Sat, Aug 01, 2020 at 10:10:49PM -0400, Matt Stevens via rsync wrote: > I lack development skills. Would there be a way for rsync to be passed an > option to exclude a specific path during a sync operaton? All of my attempts > to use exclude have failed, as it does not respect paths,

High memory usage - any way around it other than splitting jobs?

2020-06-25 Thread Andy Smith via rsync
Hi, I have a virtual machine with 2G of memory. On this VM there is a directory tree with 33.3 million files in it. When attempting to rsync (rsync -PSHav --delete /source /dest) this tree from one directory to another on the same host, rsync uses all the memory and is killed by oom-killer. This

Re: How to manage root<-->root rsync keeping permissions?

2021-08-03 Thread Andy Smith via rsync
Hi Chris, On Tue, Aug 03, 2021 at 09:48:37AM +0100, Chris Green via rsync wrote: > But how do you handle the other end to restore the root ownership etc.? > The script has to do something like:- > > rsync -a /etc/ chris@remote:backups/etc/ > > So at the remote end it only has chris'

Re: How to manage root<-->root rsync keeping permissions?

2021-08-03 Thread Andy Smith via rsync
Hi Chris, On Tue, Aug 03, 2021 at 11:48:31AM +0100, Chris Green via rsync wrote: > If I used the --super option (in a command like the one above) and > chris can run rsync as root on the remote end (via options in the > sudoers file) will this do what I want? I guess I can go away and try > it!

Re: How to manage root<-->root rsync keeping permissions?

2021-08-04 Thread Andy Smith via rsync
Hello, On Tue, Aug 03, 2021 at 03:05:27PM +0100, Chris Green via rsync wrote: > Remember, as I said, this is all Debianland with no real root login, > while I could add one I'd prefer not to. Your system already has a root user and if you added an SSH public key to its authorized_keys file

Re: Confused as to why rsync thinks time, owner and group of many files differ

2022-02-03 Thread Andy Smith via rsync
Hi Kevin, On Thu, Feb 03, 2022 at 05:38:41PM -0500, Kevin Korb via rsync wrote: > Are you using the same source and target each time? Yes. > I ask because the only discrepancy I see is the link count which > shows that there are 11 more instances of that inode on the source > than the target.

Confused as to why rsync thinks time, owner and group of many files differ

2022-02-03 Thread Andy Smith via rsync
Hi, I am at the moment using rsync to move quite a big set of backups from one machine to another. The source filesystem is xfs; the target filesystem is btrfs. For various reasons I have been stopping the rsync part way through and re-starting. I have noticed that a large number of files are