Re: Question About Rsync and Modification Times

2024-10-10 Thread Paul Slootman via rsync
On Wed 09 Oct 2024, McDowell, Blake via rsync wrote: > Linux servers one running TrueNAS-13.0-U6 and the other running > TrueNAS-13.0-U3.1. > > I connect to both on a Mac via smb over fiber. > > Using cp -a also updates the timestamp of the copied file to today and does > not back-date it to t

Re: Question About Rsync and Modification Times

2024-10-09 Thread McDowell, Blake via rsync
conservator/archivist, so I may be missing something obvious. -Blake From: Kevin Korb Date: Wednesday, October 9, 2024 at 15:01 To: McDowell, Blake , rsync@lists.samba.org Subject: Re: Question About Rsync and Modification Times External Email - Exercise Caution That isn't how rsync s

Re: Question About Rsync and Modification Times

2024-10-09 Thread Kevin Korb via rsync
a.org *Subject: *Re: Question About Rsync and Modification Times External Email - Exercise Caution You are using rsync -a which copies (preserves) the timestamp.  Meaning that rsync will copy the file then back-date it to the timestamp of the source file.  Most copying tools do not do this though cp

Re: Question About Rsync and Modification Times

2024-10-09 Thread McDowell, Blake via rsync
Date: Wednesday, October 9, 2024 at 14:45 To: rsync@lists.samba.org Subject: Re: Question About Rsync and Modification Times External Email - Exercise Caution You are using rsync -a which copies (preserves) the timestamp. Meaning that rsync will copy the file then back-date it to the timestamp

Re: Question About Rsync and Modification Times

2024-10-09 Thread Kevin Korb via rsync
You are using rsync -a which copies (preserves) the timestamp. Meaning that rsync will copy the file then back-date it to the timestamp of the source file. Most copying tools do not do this though cp's -a does it too. Note that your itemized output says that the timestamp is different meanin

Question About Rsync and Modification Times

2024-10-09 Thread McDowell, Blake via rsync
Hello, I have a question about how/why rsync updates modification times, which I haven’t been able to find an answer to. I have two locally connected storage devices running TrueNAS Core: one is new and empty, while the other is filled with files. When I run the following rsync command: rsync

Re: A question about rsync filters, not sure if I understand the man page

2024-07-17 Thread Chris Green via rsync
On Tue, Jul 16, 2024 at 05:56:28PM +0200, francis.montag...@inria.fr wrote: > Hi. > > On Tue, 16 Jul 2024 16:00:47 +0100 Chris Green via rsync wrote: > > > I run a daily backup using 'rsync -a -F ' > > > I want to exclude everything in ~/.local/share **except** the file:- > > >/home/chr

Re: A question about rsync filters, not sure if I understand the man page

2024-07-16 Thread Francis.Montagnac--- via rsync
On Tue, 16 Jul 2024 11:12:54 -0700 Ian Z via rsync wrote: > On Tue, Jul 16, 2024 at 05:56:28PM GMT, Francis.Montagnac--- via rsync wrote: >> No. Assuming you are doing this backup from your homedir, you should >> add to your .rsync-filter file: >> + /.local/ >> + /.local/share/ >> + /.loca

Re: A question about rsync filters, not sure if I understand the man page

2024-07-16 Thread Ian Z via rsync
On Tue, Jul 16, 2024 at 05:56:28PM GMT, Francis.Montagnac--- via rsync wrote: > > I want to exclude everything in ~/.local/share **except** the file:- > >/home/chris/.local/share/evolution/calendar/system/calendar.ics > > I have the following in my rsync-filter file to exclude ~/.local/share

Re: A question about rsync filters, not sure if I understand the man page

2024-07-16 Thread Francis.Montagnac--- via rsync
Hi. On Tue, 16 Jul 2024 16:00:47 +0100 Chris Green via rsync wrote: > I run a daily backup using 'rsync -a -F ' > I want to exclude everything in ~/.local/share **except** the file:- >/home/chris/.local/share/evolution/calendar/system/calendar.ics > I have the following in my rsync-fil

A question about rsync filters, not sure if I understand the man page

2024-07-16 Thread Chris Green via rsync
I run a daily backup using 'rsync -a -F ' I want to exclude everything in ~/.local/share **except** the file:- /home/chris/.local/share/evolution/calendar/system/calendar.ics I have the following in my rsync-filter file to exclude ~/.local/share - .local/share Can I simply add the fol

Re: Question about rsync -uav dir1/. dir2/.: possib to link?

2021-09-04 Thread Kevin Korb via rsync
Yes, cpio -l can be useful since cpio can easily operate on the output from the very capable find command. On 9/4/21 8:34 PM, Dan Stromberg wrote: > > I was thinking --link-dest too. > > Sometimes this can be done with cpio too; check out the -pdlv options. > > On Sat, Sep 4, 2021 at 4:57 PM Ke

Re: Question about rsync -uav dir1/. dir2/.: possib to link?

2021-09-04 Thread Dan Stromberg via rsync
I was thinking --link-dest too. Sometimes this can be done with cpio too; check out the -pdlv options. On Sat, Sep 4, 2021 at 4:57 PM Kevin Korb via rsync wrote: > Rsync does almost everything cp does but since it is designed to network > it never got that feature. I was thinking maybe --link-

Re: Question about rsync -uav dir1/. dir2/.: possib to link?

2021-09-04 Thread Kevin Korb via rsync
Rsync does almost everything cp does but since it is designed to network it never got that feature. I was thinking maybe --link-dest could be tortured into doing it but if it can I can't figure out how. BTW, you have some pointless dots in there. On 9/4/21 6:41 PM, L A Walsh via rsync wrote: > I

Question about rsync -uav dir1/. dir2/.: possib to link?

2021-09-04 Thread L A Walsh via rsync
I noticed in looking at download dirs for a project, that another mirror had "crept-in" for usage (where different mirrors are stored under mirror-URL names). To copy over the diffs, normally I'd do: rsync -uav dir1/. dir2/. (where dir1="the new mirror that I'd switched to by accident, and dir2=

Re: question about rsync batch operation

2013-05-19 Thread Wayne Davison
On Thu, Feb 21, 2013 at 2:11 PM, Jason Keltz wrote: > As far as I understand, even though rsync is running on the client, the > server is trying to write the batch file locally? > No, the batch file is always output by whatever side is running the rsync command. You either need to specify a pat

question about rsync batch operation

2013-02-21 Thread Jason Keltz
Hi. I have a question about the use of the rsync batch capability with --read-batch and --write-batch/--only-write-batch. On my rsync server, where I am running rsync in daemon mode, I make a tree available to my client. The client has rsynced the entire tree from the server. So far, so good.

RE: Question about rsync and BIG mirror

2006-03-06 Thread johan.boye
> Object: Re: Question about rsync and BIG mirror Thanks for all your answers and advices. My problem seems on the side of the 2MB line one time the whole 190GB data are synchronised. I will keep in touch and give some feedbacks. Thanks for all -- To unsubscribe or change options: ht

Re: Question about rsync and BIG mirror

2006-03-06 Thread Jamie Lokier
Shachar Shemesh wrote: > >While you're there, one little trick I've found that speeds up > >scanning large directory hierarchies is to stat() or open() entries in > >inode-number order. For some filesystems it makes no difference, but > >for others it reduces the average disk seek time as on many

Re: Question about rsync and BIG mirror

2006-03-06 Thread Shachar Shemesh
Jamie Lokier wrote: >While you're there, one little trick I've found that speeds up >scanning large directory hierarchies is to stat() or open() entries in >inode-number order. For some filesystems it makes no difference, but >for others it reduces the average disk seek time as on many common >fi

Re: Question about rsync and BIG mirror

2006-03-06 Thread Jamie Lokier
Wayne Davison wrote: > On Mon, Mar 06, 2006 at 07:18:45PM +0200, Shachar Shemesh wrote: > > In fact, I know of at least one place where they don't use rsync because > > they don't have enough RAM+SWAP to hold the list of files in memory. > > > > As far as future directions for rsync, I think this

Re: Question about rsync and BIG mirror

2006-03-06 Thread Jamie Lokier
Shachar Shemesh wrote: > >Hmm. My home directory, on my laptop (a mere 60GB disk), does contain > >millions of files, and it takes about 20 minutes to build the list on > >a good day. 100Mbps network, but it's I/O bound not network bound. > > > >It looks a lot like the number of files is more sig

Re: Question about rsync and BIG mirror

2006-03-06 Thread Wayne Davison
On Mon, Mar 06, 2006 at 07:18:45PM +0200, Shachar Shemesh wrote: > In fact, I know of at least one place where they don't use rsync because > they don't have enough RAM+SWAP to hold the list of files in memory. > > As far as future directions for rsync, I think this is the major place > where rsyn

Re: Question about rsync and BIG mirror

2006-03-06 Thread Shachar Shemesh
Jamie Lokier wrote: >Hmm. My home directory, on my laptop (a mere 60GB disk), does contain >millions of files, and it takes about 20 minutes to build the list on >a good day. 100Mbps network, but it's I/O bound not network bound. > >It looks a lot like the number of files is more significant tha

Re: Question about rsync and BIG mirror

2006-03-06 Thread Jamie Lokier
jp wrote: > 100gb of 4-40MB files sounds like my home PC full of digital photos I've > taken. It backs up to a linux PC right beside it with rsync. I don't > really call it that big a project for rsync. Big things for rsync are > millions of files. At 100mbps, it takes a few seconds to build the

Re: Question about rsync and BIG mirror

2006-03-06 Thread jp
100gb of 4-40MB files sounds like my home PC full of digital photos I've taken. It backs up to a linux PC right beside it with rsync. I don't really call it that big a project for rsync. Big things for rsync are millions of files. At 100mbps, it takes a few seconds to build the list. I use the

TR: Question about rsync and BIG mirror

2006-03-06 Thread johan.boye
> -Message d'origine- > De : BOYE Johan > Envoyé : lundi 6 mars 2006 08:28 > À : 'Jan-Benedict Glaw' > Objet : RE: Question about rsync and BIG mirror > > > > I'm preparing a plan for a production mode in my company: we need to >

RE: Question about rsync and BIG mirror

2006-03-03 Thread Tony
; From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: Friday, March 03, 2006 1:03 AM > To: rsync@lists.samba.org > Subject: Question about rsync and BIG mirror > > > // I wonder if this message has been posted, so I sent it again // > &

Re: Question about rsync and BIG mirror

2006-03-03 Thread Jan-Benedict Glaw
On Fri, 2006-03-03 08:02:55 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > // I wonder if this message has been posted, so I sent it again // It was, but nobody answered yet. > I'm preparing a plan for a production mode in my company: we need to > mirror around 100GB of data trough a spe

Re: Question about rsync and BIG mirror

2006-03-03 Thread Shachar Shemesh
[EMAIL PROTECTED] wrote: >Hello, > > So: each night, from 0:00am to maximum 7:00am, the server will have to >check the 100Go of files and see what files have been modified, then, >upload them to the clients. Each file is around 4MB to 40MB in average. > > Are the clients what you call the "mir

Question about rsync and BIG mirror

2006-03-02 Thread johan.boye
// I wonder if this message has been posted, so I sent it again // Hello, I'm quite a n00b on rsync stuff but I went to the website, read FAQ/how-to, Google and more, I setup my own rsync server and clients: everything works fine :-D I'm preparing a plan for a production mode in my company:

Question about rsync and BIG mirror

2006-03-02 Thread johan.boye
Hello, I'm quite a n00b on rsync stuff but I went to the website, read FAQ/how-to, Google and more, I setup my own rsync server and clients: everything works fine :-D I'm preparing a plan for a production mode in my company: we need to mirror around 100GB of data trough a special VPN internet

Re: A question about rsync

2004-06-06 Thread Wayne Davison
On Mon, Jun 07, 2004 at 03:47:47AM +, Guo jing wrote: > As you said, if the source file reduced and the blocks were occupied by > other files there will be a file with other file's content and a abnormal > end on the other end. No, the OS doesn't work that way. Rsync will instead copy lots

Re: A question about rsync

2004-06-06 Thread Martin Pool
On 7 Jun 2004, Guo jing <[EMAIL PROTECTED]> wrote: > Thanks for your answer! > Yes,my question is that if we can get a good result when the file is > changing while it is being copied by rsync > > In my test, if the file is being augmented while it been copied using > rsync.I can get a normal

Re: A question about rsync

2004-06-06 Thread Guo jing
Thanks for your answer! Yes,my question is that if we can get a good result when the file is changing while it is being copied by rsync In my test, if the file is being augmented while it been copied using rsync.I can get a normal copy on the other end and the result file is the same as what

Re: A question about rsync

2004-06-01 Thread Martin Pool
On 31 May 2004, Guo jing <[EMAIL PROTECTED]> wrote: > hello, > I am a student in China.I like the linux and usually use the rsync to > backup my documents. Last week when I use it,I find a question I want to > discuss with you. > > The condition is like this: The source file that I want to rs

A question about rsync

2004-05-31 Thread Guo jing
hello, I am a student in China.I like the linux and usually use the rsync to backup my documents. Last week when I use it,I find a question I want to discuss with you. The condition is like this: The source file that I want to rsync to another computer is 129M before I start the rsync. Durin

A question about rsync

2004-05-18 Thread Yang Du
> Once synchronize a file. Does rscync first create a temporary in the > remote machine first and then rename it? Or it direct write the difference > into the dest-file? > > Could you please tell me what will happen to the dest-file when a rsync > process interrupted by some problems(network prob

Re: A question about rsync

2004-05-18 Thread Tim Conway
That is it. The destination file is unaffected until rsync completes its replacement, then the directory entry is repointed at the new file and the reference to the old inode freed. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Hi:

A question about rsync

2004-05-17 Thread Yang Du
Hi: I really want to know how rsync works. Once it synchronize a file. Does rscync first create a temporary in the remote machine first and then rename it? Or it direct write the difference into the dest-file? Could you please tell me what will happen to the dest-file when a rsync process interru

Re: Question About Rsync on HP-UX

2003-10-24 Thread jw schultz
On Thu, Oct 23, 2003 at 08:21:34PM -0500, Chao,Eisen R. wrote: > Hi All: > > > I thought the default behaviour for Rsync was that it would only > overwrite > destination files that have a lesser date than the source file. Instead No. Rsync _replaces_ the destination file. And if --times is ena

Re: Question About Rsync on HP-UX

2003-10-23 Thread Chao,Eisen R.
Hi All: I thought the default behaviour for Rsync was that it would only overwrite destination files that have a lesser date than the source file. Instead I have this: Source [EMAIL PROTECTED] [/csapps115/IBMHTTPD/content-external/cna/html/meet]: ls -al meet.html

Re: Question about rsync

2002-09-17 Thread tim . conway
cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject: Question about rsync Classification: Hello All, I've been getting an error using rsync that I've been trying to track down the cause of, but haven't been able to solve yet. Whe

Question about RSYNC from NT Share

2001-10-03 Thread Michael Hubbard
Hello,   I am working on a backup solution to use a linux box running rsync to backup an NT share using automount with smbfs. I execute rsync as 'rsync -azv 192.168.1.202::data' which works, however everytime I run rsync there is a random mix of files and directories it updates, even if the

Question about 'Rsync --daemon'

2001-02-07 Thread Nicolas
Hi, I'm trying to start rsync as a daemon however is always fail, any clue? Here is my /etc/rsync.conf: [test] path = /tmp/ comment = Testing Here is the strace of the execution: strace rsync --daemon -v execve("/usr/bin/rsync", ["rsync", "--daemon", "-v"], [/* 56 vars */]) = 0 brk(0)