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

2022-02-03 Thread Andy Smith via rsync
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 change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, r

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

2022-02-03 Thread Andy Smith via rsync
-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 change

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

2021-08-04 Thread Andy Smith via rsync
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" Cheers, An

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

2021-08-03 Thread Andy Smith via rsync
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 unsubscribe or change opt

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 example forced

Re: feature request: exclude from path

2020-08-02 Thread Andy Smith via rsync
een 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
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/mailma

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 a

anchoring of patterns for per-directory merge files

2009-11-11 Thread Andy Smith
. 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 /data/home/andy/.rsync-filter

Re: anchoring of patterns for per-directory merge files

2009-11-11 Thread Andy Smith
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 - /data/home/andy/tmp/ nor -/ /home/andy/tmp/ match. (I'd already tried

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 include/exclude rule should be matched

rsync not preserving permissions

2009-02-11 Thread Andy Smith
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. This message was sent

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 helps

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Andy Smith
a 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 or change

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Andy Smith
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://lists.samba.org/mailman/listinfo/rsync Before posting, read: http

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Andy Smith
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 PROTECTED] To: Andy Smith [EMAIL

Re: Incremental file updates over a network, NFS?

2008-03-17 Thread Andy Smith
... thanks! Andy. - Original Message - From: Matt McCutchen [EMAIL PROTECTED] To: Andy Smith [EMAIL PROTECTED] Cc: rsync@lists.samba.org Sent: Monday, March 17, 2008 7:05 PM Subject: Re: Incremental file updates over a network, NFS? On Mon, 2008-03-17 at 18:33 +0100, Andy Smith wrote

Incremental file updates over a network, NFS?

2008-03-14 Thread Andy Smith
! ;) 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

Re: Incremental file updates over a network, NFS?

2008-03-14 Thread Andy Smith
to 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 NFS

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

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: 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 to

RE: cwRync and Windows permissions

2004-05-10 Thread Andy Evans
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: cwRync and Windows

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

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

2003-10-17 Thread Andy Henson
-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 redistribute it and/or modify it under the terms of the GNU General Public

Queston on using the delete option

2002-03-12 Thread Andy Lam
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 Previous message: Compiling on a Cobalt RaQ1

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

Question on using rsync delete option

2002-03-11 Thread Andy Lam
/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.org/~esr/faqs/smart

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 simultaneously. You can't do

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 well, and the repetition rate I've