Re: question abount pre-xfer exec

2022-09-24 Thread Hardy via rsync
You only log you would like to to mount /backup, but the actual command is missing. You should also log errors, so something like /usr/bin/mount /backup >> /var/log/rsyncd.log 2>&1 would be adequate before your line to check what is mounted. Hope this helps Hardy Am 24.09.22 um 15:15 schrob

Re: question abount pre-xfer exec

2022-09-24 Thread Kevin Korb via rsync
You aren't logging any stderr. That is where any error messages would go. Add some 2>&1. Also, mount has a -v On 9/24/22 09:15, dotdeb--- via rsync wrote: I've been using rsync for years to backup my machines both at work and at home. These days I faced a new "challenge": at work I connect

question abount pre-xfer exec

2022-09-24 Thread dotdeb--- via rsync
I've been using rsync for years to backup my machines both at work and at home. These days I faced a new "challenge": at work I connect my laptop to a docking station with an external usb disk. I'd like to use this disk as a backup volume. I put my disk in /etc/fstab to be mounted at boot (with

Re: quick question: --rsh="ssh -l root"

2022-08-06 Thread Robin Lee Powell via rsync
No. On Sun, Aug 07, 2022 at 06:49:45AM +0200, Fourhundred Thecat via rsync wrote: > Hello, > > is there any difference/advantage between these two commands? > > rsync --rsh="ssh -l root" my-host.com > rsync r...@my-host.com > > thank you, > > -- > Please use

quick question: --rsh="ssh -l root"

2022-08-06 Thread Fourhundred Thecat via rsync
Hello, is there any difference/advantage between these two commands? rsync --rsh="ssh -l root" my-host.com rsync r...@my-host.com thank you, -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options:

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

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

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

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

Re: Syntax Question on 'rsyncd.conf' on Windows

2021-04-10 Thread Tim Evans via rsync
On 4/9/21 5:05 PM, Dan Stromberg wrote: This is probably more of a Cygwin question than an rsync question. On Cygwin, E: should show up automatically as /cygdrive/e You can test that by opening a Cygwin terminal and cd'ing to /cygdrive/e Thanks! -- Please use reply-all for most replies

Re: Syntax Question on 'rsyncd.conf' on Windows

2021-04-09 Thread Dan Stromberg via rsync
This is probably more of a Cygwin question than an rsync question. On Cygwin, E: should show up automatically as /cygdrive/e You can test that by opening a Cygwin terminal and cd'ing to /cygdrive/e On Tue, Apr 6, 2021 at 1:32 PM Tim Evans via rsync wrote: > Cygwin distribution of rs

Syntax Question on 'rsyncd.conf' on Windows

2021-04-06 Thread Tim Evans via rsync
Cygwin distribution of rsync for Windows contains an example rsyncd.conf, excerpt below: [cDrive] path = /cygdrive/c/ comment = Entire C Drive Having trouble setting up a second Windows physical drive. Is the "cygdrive" designation a reference to the full system root, so that syntax

Re: Question/comment about -n (dry run) flag of rsync

2020-03-10 Thread T. Shandelman via rsync
No problem On Tue, Mar 10, 2020, 18:05 raf via rsync wrote: > raf via rsync wrote: > > > T. Shandelman via rsync wrote: > > > > > Rsync is a remarkably handy tool that I use virtually every day. > > > > > > But there is one thing about rsync that drives me totally crazy. > > > > > > Under the

Re: Question/comment about -n (dry run) flag of rsync

2020-03-10 Thread raf via rsync
raf via rsync wrote: > T. Shandelman via rsync wrote: > > > Rsync is a remarkably handy tool that I use virtually every day. > > > > But there is one thing about rsync that drives me totally crazy. > > > > Under the -n (dry run) flag, rsync seems to produce exactly the same output > > as

Re: Question/comment about -n (dry run) flag of rsync

2020-03-10 Thread raf via rsync
T. Shandelman via rsync wrote: > Rsync is a remarkably handy tool that I use virtually every day. > > But there is one thing about rsync that drives me totally crazy. > > Under the -n (dry run) flag, rsync seems to produce exactly the same output > as without that flag. > > I cannot tell you

Re: Question/comment about -n (dry run) flag of rsync

2020-03-10 Thread Kevin Korb via rsync
. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., On Tue, 10 Mar 2020, T. Shandelman via rsync wrote: Date: Tue, 10 Mar 2020 17:26:41 -0500 From: T. Shandelman via rsync To: rsync@lists.samba.org Subject: Question/comment about -n (dry run) flag of rsync Rsync is a remarkably handy tool that I use virtually every day

Question/comment about -n (dry run) flag of rsync

2020-03-10 Thread T. Shandelman via rsync
Rsync is a remarkably handy tool that I use virtually every day. But there is one thing about rsync that drives me totally crazy. Under the -n (dry run) flag, rsync seems to produce exactly the same output as without that flag. I cannot tell you how many times I sit and scratch my head long and

question about batches

2020-03-03 Thread ab via rsync
Hi, I'm using "only-write-batch" and "read-batch" to syncronize a debian root filesystem with some personalized software on it, from a central server to remote devices (all with RO filesystem, and perfectly identical among them). In this way I'm able to push from my master device to an "updater"

Rrsync3.1.3x POSIX ACLs conversion to NFS v4 ACLs question

2019-06-04 Thread Umanski, Alexander via rsync
Ls applied on some files, the reason we are using "-XA" is because we also have NFS v4 ACLs to copy and this works. Our problem or question is about POSIX ACL, when we mount source as NFS v4 and destination as NFS v4, it seems like all the POSIX ACLs being converted into NFS v4 ACLs and

Re: Kudos and feature question

2019-03-25 Thread Francois Payette via rsync
Thank you for the thorough answer, very helpful. I’ll start poking around! best regards, Francois > On Mar 24, 2019, at 6:27 PM, Dave Gordon wrote: > > I think you would implement it as a new type of filter rule. similar to 'P' > (preserve) but with a timestamp or delta-time to define what

Re: Kudos and feature question

2019-03-24 Thread Dave Gordon via rsync
I think you would implement it as a new type of filter rule. similar to 'P' (preserve) but with a timestamp or delta-time to define what counts as 'recent' as well as the pattern to match for this rule to apply (which could just be a wildcard matching anything by default, but could also use the

Kudos and feature question

2019-03-22 Thread Francois Payette via rsync
Kudos all that maintain this awesome and enduring piece of software. Awesome job, many thanks. I’ve come across a use case that would greatly benefit form a —delete-older-than argument. This would behave the same as —delete only sparing files dest that have a creating time less than ago. How

Question about patch-hfs-compression.diff and rsync 3.1.3

2018-08-29 Thread Uncle Freddie via rsync
Hi, Is there any information anywhere about what specifically is broken with rsync 3.1.3 and the patch patch-hfs-compression.diff ? Both MacPorts and Homebrew's package build files exclude patch-hfs-compression.diff for rsync 3.1.3, saying "hfs-compression.diff is marked by upstream as broken as

Re: Yet another filter question

2017-10-26 Thread Kevin Korb via rsync
If a directory is empty (after filtering) then --prune-empty-dirs prunes it. That is the point. The option exists to keep rsync from copying directories when all of the contents of the directory have been filtered out. On 10/25/2017 10:09 PM, dave_g via rsync wrote: > Given the structure… >

Yet another filter question

2017-10-25 Thread dave_g via rsync
Given the structure… /foo/bar/want-this.txt /foo/bar/want-this-2.txt /bar/foo/ /do-not-want-to-transfer/test.txt With the desire to ‘include items with foo in their path’... I understand that the closest I can get to a satisfactory filter ruleset is something like: + **foo** + */ - * … and

Re: Yet another filter question

2016-05-07 Thread Christoph Biedl
Wayne Davison wrote... > On Tue, May 3, 2016 at 1:07 PM, Christoph Biedl wrote: > > > + *.git/.git/* > > - *.git/ > > > > >From the man page near the start of the "INCLUDE/EXCLUDE PATTERN RULES" > section: > > *Note that, when using the --recursive (-r) option (which is

Re: Yet another filter question

2016-05-05 Thread Karl O. Pinc
On Wed, 4 May 2016 21:26:26 -0500 "Karl O. Pinc" wrote: > On Wed, 4 May 2016 21:09:44 -0400 > Kevin Korb wrote: > > > That wording from the man page makes almost no sense without the > > examples directly after it (and I have read it many times and know > >

Re: Yet another filter question

2016-05-04 Thread Karl O. Pinc
On Wed, 4 May 2016 21:09:44 -0400 Kevin Korb wrote: > That wording from the man page makes almost no sense without the > examples directly after it (and I have read it many times and know > what it is saying). Makes sense to me. The only thing I'd change is to use "in a

Re: Yet another filter question

2016-05-04 Thread Kevin Korb
I hate to say anything remotely negative to Wayne but... That wording from the man page makes almost no sense without the examples directly after it (and I have read it many times and know what it is saying). When I go all RTFM on this topic I usually tell them to 'man rsync', search for

Re: Yet another filter question

2016-05-04 Thread Wayne Davison
On Tue, May 3, 2016 at 1:07 PM, Christoph Biedl wrote: > + *.git/.git/* > - *.git/ > >From the man page near the start of the "INCLUDE/EXCLUDE PATTERN RULES" section: *Note that, when using the --recursive (-r) option (which is implied by > -a), every subcomponent of every

Re: Yet another filter question

2016-05-03 Thread Kevin Korb
Try: + *.git/ + *.git/.git/*** - *.git/* (you probably want to add --prune-empty-dirs) Also, when debugging filters/excludes use -vv as it will tell you which pattern is causing it to do what. Also, there is no point in using -v without --itemize-changes. On 05/03/2016 04:07 PM, Christoph

Yet another filter question

2016-05-03 Thread Christoph Biedl
Hello, Since the very first day I've been using rsync - some 15 years ago - the filtering rules caused great grieve. Their behaviour is just not the way I'd expect it be be and as I read the manpage. Usually I end up with some hand-written recipes, carefully documented,y including all the

Re: Question on folder sync with directory name translation

2015-06-10 Thread Gionata Boccalini
Yeah, I don't have other symlink. But I'm thinking of changing my folder structure to reflect the data I really need on the NAS. So, as a side effect, the special rsync is not needed any more :) Anyway, thanks for the answers! Bye *___Gionata Boccalini* 2015-06-09 13:25 GMT+02:00

Re: Question on folder sync with directory name translation

2015-06-09 Thread Michael Johnson - MJ
Should be as long as you don't have other symlinks in the tree. On Mon, Jun 8, 2015, 15:14 Gionata Boccalini gionata.boccal...@gmail.com wrote: OK , but then the solution with symlinks is equivalent, just with the right options for rsync. Make the link. Sync + exclude. Remove the link.

Re: Question on folder sync with directory name translation

2015-06-09 Thread Charles Marcus
Hello, I've been tasked with migrating a smallish (@90 mailboxes) company from a linux/dovecot mail server to Office 365, and after experiencing a ton of issues with Microsoft's native Imap syncing tool, I decided to use Imapsync, and it is working perfectly. It has the ability to add a simple

Re: Question on folder sync with directory name translation

2015-06-08 Thread Gionata Boccalini
Thanks Joe for the reply: 1) why do you say to use fuzzy twice? Do you mean in both directions? 2) I have to mention that the remote system is a Synology NAS, which for whatever reason (I can't think about), doesn't support symlinks, even in the same disk volume or share! But I could make some

Re: Question on folder sync with directory name translation

2015-06-08 Thread Gionata Boccalini
OK , but then the solution with symlinks is equivalent, just with the right options for rsync. Make the link. Sync + exclude. Remove the link. Don't have to live with the folder on the source. *___Gionata Boccalini* 2015-06-08 22:49 GMT+02:00 Michael Johnson - MJ m...@revmj.com:

Re: Question on folder sync with directory name translation

2015-06-08 Thread Gionata Boccalini
I should describe the problem more in details, but I believe this is off topic for this list. The FolderA is named Musica (in Italian) because.. I like it that way.. and is in my home folder. PC # /home/gionata/Musica FolderB MUST be named music, in my home folder on the NFS filesystem, NAS #

Re: Question on folder sync with directory name translation

2015-06-08 Thread Joe
The symlinks was mostly a shot in the dark. They're often useful when you need synonyms. The --fuzzy: I believe once handles different names and the second one adds different locations. I have thought about using it for issues I have reorganizing collections of media files, but never got

Question on folder sync with directory name translation

2015-06-07 Thread Gionata Boccalini
Hello everyone, I'm new to this mailing list but I have been using rsync for some years up to now. I'm trying to synchronize two directory trees, but I want a special behavior that I didn't find on the net nor in the manual (or maybe there is a combination of options to get what I want but I

Re: Question on folder sync with directory name translation

2015-06-07 Thread Joe
I'm sure one of the experts will have a better answer, but two things come to mind as options to explore: 1) Use --fuzzy twice so files which are the same but possibly with different names and locations are synced 2) Use some sort of symlinks on the destination so the names actually match

Re: A question about CVE-2014-8242

2015-05-13 Thread Wayne Davison
On Mon, May 11, 2015 at 10:38 PM, yhu2 yadi...@windriver.com wrote: Thanks your explanation, how about MD4 (rsync protocal 30)? any comment would be appreciated!! The MD4 checksum in older protocols doesn't have the issue. ..wayne.. -- Please use reply-all for most replies to avoid

A question about CVE-2014-8242

2015-05-11 Thread yhu2
Hi,everyone here: whether or not CVE-2014-8242 affects rsync? any commnet would be appreciated!! Yadi -- 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:

Re: A question about CVE-2014-8242

2015-05-11 Thread Wayne Davison
On Mon, May 11, 2015 at 12:50 AM, yhu2 yadi...@windriver.com wrote: whether or not CVE-2014-8242 affects rsync? any commnet would be appreciated!! Yes. It would be extremely hard for someone to trigger that via indirect means (such as inserting DB data and managing to match a checksum

Re: A question about CVE-2014-8242

2015-05-11 Thread yhu2
wayne. Thanks your explanation, how about MD4 (rsync protocal 30)? any comment would be appreciated!! Thanks again. Yadi On 05/12/2015 05:19 AM, Wayne Davison wrote: On Mon, May 11, 2015 at 12:50 AM, yhu2 yadi...@windriver.com mailto:yadi...@windriver.com wrote: whether or not

Re: A question about CVE-2014-8242

2015-05-11 Thread yhu2
Thanks great!!!. Yadi On 05/12/2015 05:19 AM, Wayne Davison wrote: On Mon, May 11, 2015 at 12:50 AM, yhu2 yadi...@windriver.com mailto:yadi...@windriver.com wrote: whether or not CVE-2014-8242 affects rsync? any commnet would be appreciated!! Yes. It would be extremely hard for

--temp-dir option question/issue

2014-09-09 Thread Nirat Shah
Hello, I am using rsync with --temp-dir=/tmp option for rsync module. I noticed that if the tmp directory is deleted rsync attempt will fail like - rsync: mkstemp module_base/tmp/.xyz_file.Z0m8I6 (in module) failed: No such file or directory (2) rsync error: some files/attrs were not

Re: question about output of files copied/deleted

2014-07-17 Thread Wayne Davison
On Wed, Jul 16, 2014 at 6:40 PM, Don Cohen don-rs...@isis.cs3-inc.com wrote: An output line like asd\#002\#003zxc could either mean a file of that name or asd^B\#003zxc or asd^B^Czxc or asd\#002^Czxc Did you test that theory? Give it a try and you'll discover that \# followed by 3 digits in

Re: question about output of files copied/deleted

2014-07-17 Thread Don Cohen
an ambiguity in replacing \#NNN sequences in the output of filenames. Only full 5-char sequences are affected that way, so the decoding rule is as simple as: s/\\#(\d\d\d)/ chr(oct($1)) /eg; I see that now. So another question/suggestion - if you save the output it would be nice to be able to pipe

Re: question about output of files copied/deleted

2014-07-17 Thread Francis . Montagnac
Hi. On Wed, 16 Jul 2014 23:24:45 -0700 Don Cohen wrote: So another question/suggestion - if you save the output it would be nice to be able to pipe it back into rsync as the list of files to be transferred - which would be easier if there were a switch to do the translation above

question about output of files copied/deleted

2014-07-16 Thread Don Cohen
It seems to me that this output would be more useful if it were possible to uniquely translate a line of output back into a file path. Right now that's not possible due to the control character encoding. An output line like asd\#002\#003zxc could either mean a file of that name or asd^B\#003zxc

Re: question about output of files copied/deleted

2014-07-16 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The solution you are missing is that rsync can archive files itself using either --link-dest or --backup depending on whether you want a complete tree in the archive or not. On 07/16/2014 09:40 PM, Don Cohen wrote: It seems to me that this output

Re: Question about --files-from= and folder structure

2014-01-05 Thread Wayne Davison
On Fri, Jan 3, 2014 at 12:39 PM, Bill Dorrian dorrian.2...@comcast.netwrote: The script that I'm running works - sort of - in that it syncs the files; but it syncs their parent directories too, which I'm trying to avoid. --files-from implies -R (--relative), which tells rsync to include the

Question about --files-from= and folder structure

2014-01-03 Thread Bill Dorrian
I'm writing a script to sync some mp3 files. Due to a limitation in the number of destination files that can be read from my thumb drive, I'm not looking to preserve the original file structure (actually, I'm looking to sync *only the files* to the new destination directory). The source files

Re: Question about --files-from= and folder structure

2014-01-03 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I don't know of a simple solution that would work with both --delete and with any number of files but here is an idea... Make an additional folder and link all the mp3 files into it then rsync that folder... rm -rf /backup/Music.flat mkdir

Re: Question about rsyncing to a slightly different folder structure on target

2014-01-02 Thread Charles Marcus
On 2014-01-01 2:02 PM, Wayne Davison way...@samba.org wrote: On Tue, Dec 31, 2013 at 3:59 AM, Charles Marcus cmar...@media-brokers.com mailto:cmar...@media-brokers.com wrote: On the old server, dovecot is configured to just use .../example.com/user http://example.com/user for the

Re: Question about rsyncing to a slightly different folder structure on target

2014-01-01 Thread Wayne Davison
On Tue, Dec 31, 2013 at 3:59 AM, Charles Marcus cmar...@media-brokers.comwrote: On the old server, dovecot is configured to just use .../example.com/userfor the maildirs. On the target server, I want to change this to .../ example.com/user/Maildir One thing you can do is to add a symlink

Question about rsyncing to a slightly different folder structure on target

2013-12-31 Thread Charles Marcus
Hi all, Ok, if this isn't possible with some kind of wildcard, I can adjust the target manually, but if I can just modify the command to allow for the different folder structure on the target, I'd rather do that. I'm incrementally rsync'ing my mailstore from the old server to the new

Re: Need hint for my question regarding the working of rsync.

2013-11-13 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, in the case of using v3 with --link-dest and not --checksum most of the initial activity on the sender would be doing calls to stat() to index what is there. The receiving side would be doing 2x the stat() calls (you have 2 - --link-dest dirs for

Re: Need hint for my question regarding the working of rsync.

2013-11-13 Thread Karl O. Pinc
On 11/13/2013 12:03:21 PM, Kevin Korb wrote: OK, in the case of using v3 with --link-dest and not --checksum most of the initial activity on the sender would be doing calls to stat() to index what is there. The receiving side would be doing 2x the stat() calls (you have 2 --link-dest dirs

Re: Need hint for my question regarding the working of rsync.

2013-11-13 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To an extent it is serially. The sender tells the receiver what it needs to stat(). However, thanks to incremental indexing it will parallelize but the receiver will not go beyond what the receiver has sent. Read the --recursive section of the man

Re: Need hint for my question regarding the working of rsync.

2013-11-13 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a hard links limit? I have been in the 70-80 million range on ext4 without a problem (other than performance which is why I switched to ZFS for that use case). On 11/13/13 13:59, Karl O. Pinc wrote: On 11/13/2013 12:03:21 PM, Kevin Korb

Re: Need hint for my question regarding the working of rsync.

2013-11-13 Thread Karl O. Pinc
necessarily 11/13/2013 01:04:29 PM, Kevin Korb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a hard links limit? I have been in the 70-80 million range on ext4 without a problem (other than performance which is why I switched to ZFS for that use case). It's a per-file

Re: Need hint for my question regarding the working of rsync.

2013-11-13 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I wasn't saying I had millions of links of the same file. It was hundreds of link-dest backups some of which contained a few but not all that many links. I wasn't doing a link-dest backup of something link heavy. On 11/13/13 15:01, Karl O. Pinc

Re: Need hint for my question regarding the working of rsync.

2013-11-12 Thread Wayne Davison
On Mon, Nov 11, 2013 at 9:04 PM, Patrick Pollen patrickpoll...@gmail.comwrote: For example suppose I have a 2 GB file, so after generating checksum on receiver side, does the receiver sends all the generated checksum to the sender at once? Yes, the receiver sends all the checksums that it

Re: Need hint for my question regarding the working of rsync.

2013-11-12 Thread Karl O. Pinc
On 11/12/2013 03:50:20 PM, Wayne Davison wrote Yes, the receiver sends all the checksums that it generates at once For really big files it would be interesting to amend this rule to one where the sending side waits only long enough for a certain number of checksums to arrive before it

Re: Need hint for my question regarding the working of rsync.

2013-11-12 Thread Karl O. Pinc
On 11/12/2013 04:13:01 PM, Karl O. Pinc wrote: On 11/12/2013 03:50:20 PM, Wayne Davison wrote Yes, the receiver sends all the checksums that it generates at once For really big files it would be interesting to amend this rule to one where the sending side waits only long enough for a

Re: Need hint for my question regarding the working of rsync.

2013-11-12 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First, are you talking about --checksum checksums or the hashing of files that are different on both ends so that only the differences need to be transferred? You seem to be talking about the latter while describing the performance of the former. If

Re: Need hint for my question regarding the working of rsync.

2013-11-12 Thread Patrick Pollen
These are both a weak and a strong checksum for each chunk of the file from start to finish. So lets take an example. If a file were 7 bytes and the logical block size for rsync by default being 700, it would send : 1) 4 Bytes x 7/700 = 400 Bytes 2) 16 Bytes x 7/700 = 1600 Bytes

Need hint for my question regarding the working of rsync.

2013-11-11 Thread Patrick Pollen
Hello, Since English is my second language, forgive me for any typing errors. I have been studying rsync for my academic project. I learned quite a lot but I need little help. My question is, does rsync sends all checksum of a file at once or in batches. For example suppose I have a 2 GB file, so

Re: question about rsync batch operation

2013-05-19 Thread Wayne Davison
On Thu, Feb 21, 2013 at 2:11 PM, Jason Keltz j...@cse.yorku.ca 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

local - local file copy question

2012-08-19 Thread Linda Walsh
In looking at source, I started at fileio and found write routines but no read routines. I found a 'WRITE_SIZE' (32K), but no 'READ_SIZE' -- is that' what the MAX_MAP_SIZE (256K)? I would like to make so that rsync can use larger I/O sizes if (maybe a command line option?) The map routine

Re: local - local file copy question

2012-08-19 Thread Justin T Pryzby
Note that --whole-file is the default when both the source and destination are specified as local paths, and implies that the file is copied without the delta transfer algorithm. Justin On Sat, Aug 18, 2012 at 11:05:47PM -0700, Linda Walsh wrote: In looking at source, I started at fileio and

Re: local - local file copy question

2012-08-19 Thread Linda Walsh
Justin T Pryzby wrote: Note that --whole-file is the default when both the source and destination are specified as local paths, and implies that the file is copied without the delta transfer algorithm. --- I am using the 'whole-file' copy, 'explicitly', as I didn't know that was the default in

Re: local - local file copy question

2012-08-19 Thread Matthias Schniedermeyer
On 19.08.2012 10:06, Linda Walsh wrote: Justin T Pryzby wrote: Note that --whole-file is the default when both the source and destination are specified as local paths, and implies that the file is copied without the delta transfer algorithm. --- I am using the 'whole-file' copy,

Re: Question about --partial-dir and aborted transfers of large files

2012-08-12 Thread Wayne Davison
On Fri, Aug 10, 2012 at 9:03 AM, T.J. Crowder t...@crowdersoftware.comwrote: 1. Am I correct in inferring that when rsync sees data for a file in the --partial-dir directory, it applies its delta transfer algorithm to the partial file? 2. And that this is _instead of_ applying it to the real

Re: Question about --partial-dir and aborted transfers of large files

2012-08-12 Thread Wayne Davison
On Sun, Aug 12, 2012 at 10:41 AM, Wayne Davison way...@samba.org wrote: I have imagined making the code pretend that the partial file and any destination file are concatenated together for the purpose of generating checksums. Actually, that could be bad if the destination and partial file

Re: Question about --partial-dir and aborted transfers of large files

2012-08-12 Thread T.J. Crowder
Hi, Thanks for that! On 12 August 2012 18:41, Wayne Davison way...@samba.org wrote: I have imagined making the code pretend that the partial file and any destination file are concatenated together for the purpose of generating checksums. That would allow content references to both files,

Re: question about why rsync log doesn't include remot ip or remote host

2011-11-24 Thread Wayne Davison
On Tue, Nov 22, 2011 at 3:40 PM, Chris Adams chris.a.ad...@state.or.uswrote: I would like to include the IP and/or hostname of the machine being backed up Since you are initiating the transfer of a remote machine, you can put whatever you like into your log string option as literal

question about why rsync log doesn't include remot ip or remote host

2011-11-22 Thread Chris Adams
Hello all, This is my first post to this mailing list. I have been using rsync for a bit and have it mostly working the way I want. I have a backup server that I run all scripts from. It rsyncs data from four different Linux servers via cron. A sample of a script is here: rsync -avz

Re: rsync 'doc' type question.

2011-09-11 Thread David Somers-Harris
-h works with no other options means that if you use -h with no other options, then the help is displayed. Otherwise, it is interpreted as human-readable. -h for 'human-readable' does work, I have tried it :) -- Please use reply-all for most replies to avoid omitting the mailing list. To

rsync 'doc' type question.

2011-09-10 Thread Linda A. Walsh
If I run rsync w/no args I get a help (3.0.7). It has: (among other things): -h, --human-readableoutput numbers in a human-readable format (-h) --help show this help (-h works with no other options) So ... is it the case that -h with no other options gives help but

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

Re: question on delta transfer

2011-08-20 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I do not understand the context of your question. However, a networked rsync not using --whole-file will do a delta xfer if it sees a difference in mtime or file size. The fact that the file was deleted and recreated vs modified while rsync

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

question on delta transfer

2011-08-20 Thread Angeloni Remo
Hello, Anybody have experience on this matter? If the source file has been deleted and recreate at the next sync rsync will move whole file without apply delta transfer even the destination file exist Please reply Thank you, Remo Angeloni

Re: question on delta transfer

2011-08-20 Thread Angeloni Remo
Hi, Thanks for the reply. I don't understand why I sent so many message.. can be my outlookJ.. sorry again It seems very strange that I write before but it was that happen to me. I have a remote application that every 3 hours recreate the file x that the first time will be moved

Re: question on delta transfer

2011-08-20 Thread Angeloni Remo
Hi, Thanks for the reply. I don't understand why I sent so many message.. can be my outlookJ.. sorry again It seems very strange that I write before but it was that happen to me. I have a remote application that every 3 hours recreate the file x that the first time will be moved

Re: question on delta transfer

2011-08-20 Thread Angeloni Remo
Hi, Thanks for the reply. I don't understand why I sent so many message.. can be my outlookJ.. sorry again It seems very strange that I write before but it was that happen to me. I have a remote application that every 3 hours recreate the file x that the first time will be moved

Re: Question about in-place option.

2011-06-23 Thread Mickaël CANÉVET
Hi, Thank you very much, it's working with --inplace --no-whole-file. Now snapshots of a 15GB database backup only takes a few kilobytes a day instead of 15GB. Mickaël On Wed, 2011-06-22 at 18:02 +0100, jer...@jeremysanders.net wrote: Mickaël CANÉVET wrote: I was wondering if there is a

Question about in-place option.

2011-06-22 Thread Mickaël CANÉVET
Hello, I was wondering if there is a way top specify rsync to replace only different block in case of in-place update. When I rsync a huge binary file that change often to a Copy-On-Write filesystem for backing it up (ZFS in my case, but I suppose that btrfs will act the same way) ; rsync

  1   2   3   4   5   6   >