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

2022-02-03 Thread Andy Smith via rsync
empted to blow away the btrfs filesystem and just do xfs to xfs, to rule out weird issues there. It would be a shame though as I was hoping to use btrfs's compression here. Cheers, Andy -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or chang

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

2022-02-03 Thread Andy Smith via rsync
op-at, no crtimes Optimizations: SIMD, asm, openssl-crypto Checksum list: xxh128 xxh3 xxh64 (xxhash) md5 md4 none Compress list: zstd lz4 zlibx zlib none What am I missing? Thanks, Andy -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or c

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

2021-08-04 Thread Andy Smith via rsync
x27;ve set it up so chris can run rsync with root permissions. > However I'm not quite sure how to get it to work as one needs to say > "sudo rsync" to get the root privilege. How do you do that? The first link I sent you had an example of that: --rsync-path="sudo rsync&qu

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

2021-08-03 Thread Andy Smith via rsync
NOPASSWD so it doesn't ask for a sudo password. Possibly restricting that only to uses of rsync or a specific script, otherwise it is giving "chris" blanket sudo access without a password. Cheers, Andy -- Please use reply-all for most replies to avoid omitting the mailing list. To unsub

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

2021-08-03 Thread Andy Smith via rsync
it only has chris' privileges. A couple of options: https://strugglers.net/~andy/blog/2021/04/10/rsync-and-sudo-without-x-forwarding/ Since you want to automate it I'd go with letting root log in by ssh key only, and force the key to work only with a specific script. Here is an exam

Re: feature request: exclude from path

2020-08-02 Thread Andy Smith via rsync
e been doing it for years. Cheers, Andy -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

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

2020-06-25 Thread Andy Smith via rsync
ngs I will investigate before settling for the "split into multiple jobs" approach; just wondered if anyone has any shortcuts for me. Thanks, Andy -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/m

Re: deduplicate mode?

2017-02-11 Thread Andy Smith
duplication feature that is currently experimental in XFS to reduce the size of my rsnapshot backups. Some more info: http://strugglers.net/~andy/blog/2017/01/10/xfs-reflinks-and-deduplication/ rsync is hardlinking together files that do not change between two backup runs, but reflinks are

Re: anchoring of patterns for per-directory merge files

2009-11-11 Thread Andy Smith
On Wed, Nov 11, 2009 at 06:12:53PM +, Andy Smith wrote: > "-/ tmp/" works though, and does only exclude exactly what I want. I spoke too soon. For me, "-/ tmp/" works identically to "- tmp/", that is it excludes everything with a "tmp/" directory i

Re: anchoring of patterns for per-directory merge files

2009-11-11 Thread Andy Smith
On Wed, Nov 11, 2009 at 05:59:29PM +, Andy Smith wrote: > On Wed, Nov 11, 2009 at 06:43:33PM +0100, Paul Slootman wrote: > > From the manpage: > > > >The following modifiers are accepted after a “+” or “-”: > > > >o A / specifies that the

Re: anchoring of patterns for per-directory merge files

2009-11-11 Thread Andy Smith
even if “foo” is at the root of the current transfer. > > Hence, your dir-merge setup causes only the absolute path /tmp/ to be > excluded. If you want to exclude /data/home/andy/tmp/ then put that in > your .rsync-filter . Neither "-/ /data/home/andy/tmp/" nor "- /

anchoring of patterns for per-directory merge files

2009-11-11 Thread Andy Smith
on 29. I'm calling: rsync --filter='dir-merge /.rsync-filter' -avz --delete \ --numeric-ids --relative --delete-excluded --sparse --hard-links \ --rsh='/usr/bin/ssh -4 -i /root/.ssh/rsync -q' \ r...@corona:/data \ /data/backup/.sync/corona/ On the sender, I have in the file

Re: rsync not preserving permissions

2009-02-12 Thread Andy Smith
Yep that did the trick! thanks Matt. Quoting Matt: Ownership is separate from permissions. To preserve user and group ownership, you need to pass -og . This message was sent using IMP, the Internet Messaging Program. -- P

Re: rsync not preserving permissions

2009-02-11 Thread Andy Smith
Hi Nate, Yes the user id exists on both hosts with the same UID, I also tried the --numeric-ids but this didn't make any difference :S thanks Andy. Quoting nate: Do the same userids exist at both ends? Try --numeric-ids as an option and see if that

rsync not preserving permissions

2009-02-11 Thread Andy Smith
ne explain whats wrong and if I can do anything to fix this? /usr/local/bin/rsync -r -p -e "ssh -l cacti -i /home/cacti/.ssh/id_dsa" sourceserver::cacti /usr/home/cacti Rsync version is 3.0.4 on FreeBSD thanks, Andy. -

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Andy Smith
enting it being better... thanks! Andy. - Original Message - From: "Matt McCutchen" <[EMAIL PROTECTED]> To: "Andy Smith" <[EMAIL PROTECTED]> Cc: Sent: Monday, March 17, 2008 7:05 PM Subject: Re: Incremental file updates over a network, NFS? On Mon, 2008-03-

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Andy Smith
difference if I push or pull from the server side? Im thinking the only important thing is if you pull you can set the server side read-only which is better for security, that about right?? thanks again! Andy. - Original Message - From: "Matt McCutchen" <[EMAIL PROTE

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Andy Smith
less with the keypairs and for the time being I removed the forced command from authorized_keys in case Id made some syntax mistake. Any ideas whats going on? Not very nice of rsync to coredump instead of giving me a helpful error msg! :( Thanks!! Andy. -- To unsubscribe or change options: https:/

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Andy Smith
seperate rsync per homedir/UID? thanks Andy. You're understanding correctly. There would only be an advantage if for some reason you didn't want to set an authorized key for the user running the daemon but were fine with setting an authorized key for another user. -- To unsubscribe

Re: Incremental file updates over a network, NFS?

2008-03-15 Thread Andy Smith
single-use and background daemons). I don't really get what you mean, if another user accepts the ssh logins then I need to have an authorized_keys for them?? So theres not an advantage, hence I dont think Im understanding u properly... Can you elaborate a little pls?? thanks alot! Andy.

Re: Incremental file updates over a network, NFS?

2008-03-14 Thread Andy Smith
put public private keys on systems to allow non interactive logons Any comments on the above assesment or advise from others regarding security? thanks Andy. Rsync works on a client/server system. So it's recommended to install rsync on both machines (your and the server), so you bypass NF

Incremental file updates over a network, NFS?

2008-03-14 Thread Andy Smith
ulate! ;) If someone could enlighten me that would be great!! thanks, Andy.-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

rsync file corruption

2005-09-15 Thread Andy Wong
Hi, I encountered a weird file corruption problem with rsync. I have a perl script that generates and writes a data file to disk, then rsyncs the file to a remote machine. A perl script running on the remote machine periodically reads in the data file. However, occasionally the remote script

Re: Rsync write behaviour / efficiency

2005-03-07 Thread andy
Paul Slootman wrote: > Inserting bytes at the beginning of a file can't be done, at > least not on unix-like systems. That can only be done by copying > the file. Ok. What about if there were some inserts in the middle of the hypothetical 500MB file, starting for example at the 450 millionth up

Rsync write behaviour / efficiency

2005-03-07 Thread andy
Rsync is efficient at transferring diffs across the wire, but how efficient is it at updating the remote file itself (in terms of disk operations)? If, for example, you have a 500MB file (say an ISO) whose modification consists solely of a few bytes added on to the beginning of the file. Will it

RE: cwRync and Windows permissions

2004-05-10 Thread Andy Evans
ind a real solution to file ownership if I can and am very open to testing all suggestions. Thanks, Andy --- On Mon 05/10, Stephane Rohart < [EMAIL PROTECTED] > wrote: From: Stephane Rohart [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 10 May 2004 11:48:02 +0200 Subject: cw

Re: rsync: overhead?

2003-12-05 Thread Andy Henson
I think it's pretty impressive that rsync can discover nothing had changed with just 371 bytes in one direction and 20 in another! Andy -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Implemented "--exclude-old" in rsync

2003-11-07 Thread Andy Henson
-t will preserve the timestamps. Andy -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Copying whole disks (was: Need some help please)

2003-10-28 Thread Andy Henson
r you could overwrite everything! Andy Henson -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Added functionality --compare-file and --compare-auto

2003-10-17 Thread Andy Henson
Fri Oct 17 15:48:56 2003 @@ -5,6 +5,7 @@ Copyright (C) 1996-2000 by Andrew Tridgell Copyright (C) Paul Mackerras 1996 Copyright (C) 2002 by Martin Pool <[EMAIL PROTECTED]> + Copyright (C) 2003, Andy Henson, Zexia Access Ltd This program is free software; you can re

Re: Adding support for versioned files in rsync

2003-10-13 Thread Andy Henson
mp-file is specified to be "look for a similarly named file with just a number changed", but perhaps we need an option for that too :) I've had a read through the relevant source code and I am confident I could add this functionality. I was waiting to see what others are doing

Re: Unable to rsync files of size 30 GB

2003-10-13 Thread Andy Henson
Rsync maps files into memory, so it cannot handle files larger than the program's address space. On 32 bit machines this is likely to be less than 2GB. You don't say what processor you are running on? Can it map files of bigger than 2GB into memory? Andy Henson -- To unsubscribe

Queston on using the delete option

2002-03-12 Thread Andy Lam
ve seen so far. It's much better than "rdist" and even some of the commercial applications. A Big thanks to the rsync development community. Regards, Andy Lam [EMAIL PROTECTED] Xilinx Inc. > [EMAIL PROTECTED] [EMAIL PROTECTED] > Mon, 11 Mar 2002 16:50:24 -0700 > >

Question on using rsync delete option

2002-03-11 Thread Andy Lam
p/rsync /export/volx/documents/ destination_login@hostB:/export/volx (notice I left dry-run there for testing) Thank you in advance for your help . Andy Lam [EMAIL PROTECTED] -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo

Question on the using of --delete option with rsync

2002-03-11 Thread Andy Lam
Greetings, I have searched through most of the rsync FAQ and can't find any similar cases. I'm hoping someone in this mailing list may have done it in the past and can shred lights on me. First of all, I am not new to "rsync" and we have been using it to move/mirror data across our internal net

Re: File merging

2001-09-13 Thread Andy Goth
On Thursday, September 13, 2001 10:28, you wrote: > On Thu, 13 Sep 2001, Andy Goth wrote: > > Can rsync be made to merge files? For instance, could I synchronize > > mboxes between multiple computers, even though they're all changing? > > Not if they are changing sim

File merging

2001-09-13 Thread Andy Goth
Can rsync be made to merge files? For instance, could I synchronize mboxes between multiple computers, even though they're all changing? I have _serious_ doubts, because I think it would take a diff3, but a friend mentioned it, so I had to ask. -- Andy Goth | [EMAIL PROTECTED] |

Re: filelist

2000-11-03 Thread Andy Small
Thu, 2 Nov 2000 17:56:56, Bennett Todd wrote: > 2000-11-02-15:17:27 Andy Small: > > I searched the archive of last 3 months of this list for a FAQ > > posting, but I could not find one. > > I haven't seen such a document, but this mailing list seems to work > pretty

FAQ ???

2000-11-02 Thread Andy Small
I searched the archive of last 3 months of this list for a FAQ posting, but I could not find one. My question is this: Where does rsync store the filelist that it builds? Or more to the point... When you fork off rsync processes in rapid succession, does it have to build the list for each pro