On Wed 15 May 2024, Graham Leggett via rsync wrote:
>
> Then we check the disk underneath rsync:
>
> [root@arnie images]# dd if=/dev/urandom of=random.img count=1024 bs=10M
> status=progress
> 1604321280 bytes (1.6 GB, 1.5 GiB) copied, 16 s, 100 MB/s^C
> 159+0 records in
> 159+0 records out
>
On Thu 18 Jan 2024, Roger Price via rsync wrote:
> I am backing up a user's directories from local machine titan to remote
> machine maria. On the remote machine maria file /etc/rsyncd.conf contains
>
> [rprice-home]
> ...
> exclude = *.dvi
>
> I start the backup by using this command on the
On Fri 22 Sep 2023, Kevin Korb via rsync wrote:
> 444 {} +' to make read only files for rsync to want to chmod, then used cp
> -al to make several duplicate trees using hard linked files. An rm -rf on
> one such tree took .97 seconds while an rsync deletion took 1.25 seconds.
Be sure to drop
On Sun 03 Sep 2023, Perry Hutchison via rsync wrote:
> On the source system:
>
> $ rsync --version
> rsync version 2.6.8 protocol version 29
> On the destination system:
> $ rsync --version
> rsync version 3.0.7 protocol version 30
The current version is 3.2.7, especially 2.6.8 is quite
On Sat 03 Jun 2023, Maurice R Volaski via rsync wrote:
> I have an rsync script that it is copying one computer (over ssh) to a shared
> CIFS mount on Gentoo Linux, kernel 6.3.4. The script runs for a while and
> then at some point quits knocking my ssh session offline on all terminals and
>
On Mon 14 Nov 2022, Wes Render via rsync wrote:
> Hello, I'm running an rsync like this:
>
> rsync -avSHP --delete-after
> --log-file=/opt/mirrorsync/centos_mirror/rsync-1.log
> --exclude-from=/opt/mirrorsync/centos_mirror/excludelist.txt
> rsync://centos.mirror.rafal.ca/CentOS/ /data/centos
On Sat 17 Sep 2022, Colton Lewis via rsync wrote:
> This is on a system where /etc/rsyncd.conf does not exist and goes away if
> /etc/rsyncd.conf is an empty file.
>
> Version: rsync version 3.2.5 protocol version 31
> Command: rsync --daemon
> What happens: The program outputs "Failed to
On Tue 12 Jul 2022, Kevin Korb via rsync wrote:
> Rsync does not verify writes. --checksum doesn't verify anything. Sounds
> like you want a file verification tool. The simplest would be md5sum.
Running rsync --checksum directly after transferring your files will
verify that the files are
On Fri 24 Jun 2022, Kevin Korb via rsync wrote:
> Nope. Rsync groups are not groups of users they are just @users with their
> own password. I believe the @ just designates that you intend multiple
> people to have that password and use that username.
I think I have to disagree here.
The
On Mon 07 Feb 2022, Edwardo Garcia via rsync wrote:
>
> Lets call module mirror
> this results in about 200 or more directories (projects), but I only want
> one of them, lets call it foo, the problem is foo/ has about 50
> directories, but the one and only one we want is bar, but bar also has
>
On Thu 03 Feb 2022, Andy Smith via rsync wrote:
> sudo rsync -iPva \
> --inplace \
> --numeric-ids \
> --delete \
> /data/backup/rsnapshot/daily.0/cacti/ \
> root@koff:/data/backup/rsnapshot/daily.0/cacti/
>
> ...
>5,258 100%5.78kB/s0:00:00 (xfr#1276,
On Mon 24 Jan 2022, Jürgen Bausa via rsync wrote:
>
> However, that's just a proposal. But the behavior of trailing spaces is
> something I guess should be corrected.
Is it?
How would you otherwise specify a space that you *do* intend to be
relevant?
Paul
--
Please use reply-all for most
On Tue 03 Aug 2021, Chris Green via rsync wrote:
> Is there a way to copy (for example) the /etc hierarchy from one
> system to another preserving root ownership of files and without
> revealing root passwords all over the place?
Best way is to run an rsync daemon on the source system, and be
On Fri 26 Mar 2021, Harry Mangalam via rsync wrote:
>
> I'm trying to improve a parallel rsync wrapper called parsyncfp (pfp) in
> response to a user request. He wants rsync to emit data on multiple
> interfaces (one interface per rsync instance). From the man page it seems
> like the
On Thu 18 Feb 2021, Bri Hatch via rsync wrote:
>
> We use authprogs for more than just rsync though, and want more granularity
> than rrsync can support. If you force rrsync for the ssh key via
> command="rrsync" then that key may only be used to run rsync, you can't
> also allow additional
On Thu 10 Dec 2020, Chris Green via rsync wrote:
>
> Occasionally, because I've moved things around or because I've done
> something else that breaks things, the hard links aren't created as
> they should be and I get a very space consuming backup increment.
>
> Is there any easy way that one
On Mon 03 Aug 2020, Matt Stevens via rsync wrote:
> So I've gotten excluding paths to work as a standalone command. When I paste
> this into a script however, it ignores the exclusions. Any advice?
>
> rsync -aXvr --times --links
>
On Thu 14 Nov 2019, Freddie Valdez via rsync wrote:
>
> Rsync 2.6.9
Wow, that's ancient. Released 06 Nov 2006
> Mac OS interacting with Windows servers.
>
> My Rsync command: rsync -rvz --exclude-from=exclude.txt source destination.
>
> I copy large files from server A to server B excluding
On Thu 14 Nov 2019, Pierre Bernhardt via rsync wrote:
> Am 14.11.19 um 10:54 schrieb Paul Slootman via rsync:
> > You need to specify the source directory as the link-dest directory.
>
> Hi, I tried it also because it's an old question which has never worked
> for me. Instead
On Thu 14 Nov 2019, L A Walsh via rsync wrote:
> Have a directory with a bunch rpms in it, mostly x86_64.
>
> Have another directory with a bunch, mostly 'noarch'.
>
> Some of the noarch files are already in the x86_64 dir
> and don't want to overwrite them. They are on the same
> physical
On Wed 30 Oct 2019, raf via rsync wrote:
>
> I have a task that rsyncs files from a list of
> candidate files (--files-from=). It's verbose (-v) and
It would be helpful to show the complete rsync command line.
Paul
--
Please use reply-all for most replies to avoid omitting the mailing list.
On Tue 01 Oct 2019, Bill Wichser via rsync wrote:
>
> Attached is the patch we applied. Since xxhash is in the distro, a
> dependency would be required for this RPM. If nothing else, perhaps the
> developers should just take a look as this could benefit many.
"The distro" is a bit vague for a
On Thu 14 Feb 2019, Delian Krustev via rsync wrote:
> On Wednesday, February 13, 2019 6:25:59 PM EET Remi Gauvin
> wrote:
> > If the --inplace delta is as large as the filesize, then the
> > structure/location of the data has changed enough that the whole file
> > would have to be written out in
On Sun 03 Feb 2019, Philip Rhoades via rsync wrote:
>
> For some years I have been using rsync quite happily to send / retrieve
> files to / from SSHDroid Pro but recently I have started having a problem
> when transferring large numbers of file - I am pretty sure it started after
> upgrading
On Sat 28 Apr 2018, Andras Nagy via rsync wrote:
> Summary: an xattr filter rule (e.g. --filter='-x! user.*’, which is suggested
> by the documentation) is treated as a file filter rule on the remote side.
I think that you're missing the point that filter rules affect the list
of files to be
On Mon 22 Jan 2018, Kevin Korb via rsync wrote:
> From man 2 select:
> int select(int nfds, fd_set *readfds, fd_set *writefds,
> fd_set *exceptfds, struct timeval *timeout);
>
> So, it is waiting for file descriptor #1 to become available with a 60
> second timeout which it is hitting.
On Sun 08 Oct 2017, just subscribed for rsync-qa from bugzilla via rsync wrote:
>
> --- Comment #1 from Wayne Davison ---
> I've committed a fix for this into git. Many thanks for pointing this out.
> Sorry for how slow I've been lately.
Hey, I'm just happy you're still around
On Tue 05 Sep 2017, Vangelis Katsikaros via rsync wrote:
> On 08/30/2017 05:39 PM, Paul Slootman wrote:
> > On Wed 23 Aug 2017, Vangelis Katsikaros via rsync wrote:
> >
> >> abc 3797 3796 0 01:12 ?00:03:14 /usr/bin/rsync --compress
> >>
On Tue 15 Aug 2017, Joe Qiao via rsync wrote:
> Thanks so much for the quick reply, Kevin!
>
> I tried with ssh and --partial-dir, it looks the partial file still will be
> stored in local dir, but not in /tmp.
>
>
> Every 1.0s: ls -al /home/joe/rsync/ /tmp/
> Tue Aug 15 17:29:30
On Wed 16 Aug 2017, Vangelis Katsikaros via rsync wrote:
>
> I am having a problem with rsync freezing and I would like to collect the
> proper information while the problem happens. However, I would like to ask
> some clarifications.
>
> rsync-debug
> ===
>
> I see references of
On Wed 23 Aug 2017, Vangelis Katsikaros via rsync wrote:
> abc 3797 3796 0 01:12 ?00:03:14 /usr/bin/rsync --compress
> --compress-level=9 --bwlimit=512k --recursive --delay-updates --quiet
> --update --exclude=/.* /SRC_PATH/ DEST_IP:/DEST_PATH/
Try running rsync without the
On Mon 12 Jun 2017, max.power--- via rsync wrote:
> How exactly does rsync determine that the copy has the incorrect timestamp
> and not the source file?
The source by definition is correct.
Paul
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or
On Fri 03 Mar 2017, Steve Dondley wrote:
> The directory I'm trying to copy from is: /home/blah/dir
>
> The symlink is /home/blah/dir/unwanted_symlinked_dir
>
> On Fri, Mar 3, 2017 at 8:10 AM, Paul Slootman <paul+rs...@wurtel.net> wrote:
>
> > You don't
On Fri 03 Mar 2017, Steve Dondley wrote:
> I'm trying to rsync a directory from a server to my local machine that has
> a symbolic link to a directory I don't want to download. I have an
> "exclude" option to exclude the symlink which works fine. However, if I add
> a --copy-links option to the
On Fri 20 Jan 2017, John Lane wrote:
>
> When you rsync a directory, say `$rsync mydir/ ...` with the trailing
> slash, the destination directory is changed to the ownership,
> permissions and timestamp of `mydir`.
> $ rsync -a a/ b/ c
> $ ls -ld c
> drwxr-xr-x 2 john users 4096 Jun
On Fri 18 Nov 2016, Harald Dunkel wrote:
>
> "--numeric-ids" is a lot of text and easy to be forgotten or
> misspelled.
>
> Since it is a highly important option for making backups of
> remote systems via rsync I wonder if "-N" could be introduced
> as an abbreviation for "--numeric-ids"? "-N"
On Sat 29 Oct 2016, Samuel Williams wrote:
> I'm not proposing some additional characters to split on, but quite
> the opposite, to handle the backslash escaped spaces correctly and NOT
> split. Rest assured, there is no bug with the original escaping. For
> your edification:
>
> $ echo \I\'\m\
On Wed 26 Oct 2016, devz...@web.de wrote:
>
> since we are using rsync for backing up millions of files in a virtual
> environment, and most of the virtual machines run on SSD cached storage, i`d
> be curious how that negatively impacts lifetime of the SSD`s when we do rsync
> run every night
On Tue 25 Oct 2016, devz...@web.de wrote:
>
> is there a reason why error code 255 is not mentioned in the manpage
> and wouldn`t it make sense to add "255 Unexplained Error" there
> for completeness ?
It wouldn't be unexplained then anymore, would it? :-)
Paul
--
Please use reply-all
On Thu 20 Oct 2016, Samuel Williams wrote:
>
> I'm using Ruby's Shellwords module, which generates a string from an
> array, suitable for shell evaluation.
>
> Ruby's implementation prefers escaping whitespace with a backslash
> rather than quotes. However, this appears to cause some kind of
On Wed 12 Oct 2016, Kip Warner wrote:
>
> I think the key insight was in the strace log which showed the select()
> call was timed out. If I knew what type of file descriptor it was being
> fed, I might have a clue. It might have been a socket or something on
> disk. I don't know.
You can use
On Mon 10 Oct 2016, Kip Warner wrote:
>
> The server the data is being uploaded to with the strace running on it
> has rsync version:
>
> $ rsync --version
> rsync version 3.0.9 protocol version 30
>
> The client reported:
>
> $ rsync --version
> rsync version 3.1.1
On Fri 01 Jul 2016, Stuart Anderson wrote:
> I would like to request that rsync -n to an rsync server target that is read
> only be supported rather than generating the following error,
> ERROR: module is read only
>
> The motivation is to allow the generation of a list of files against an
On Fri 24 Jun 2016, Kevin Korb wrote:
> Again, --partial only means don't delete the incomplete file if rsync is
> aborted. Normally rsync will delete the incomplete file so you don't
> have bogus files laying around.
>
> When you rsync to or from a network mount to rsync that is a local copy.
On Fri 25 Mar 2016, John Long wrote:
>
> I have been using rsync for many years and never had any kind of problem.
> Lately I am running out of RAM trying to do an incremental backup to a box
> that only has 2G of RAM. The entire directory structure I'm mirroring is
> about 200G of files. A
On Wed 20 Jan 2016, Wayne Davison wrote:
> equal. One possible improvement would be to skip the nanosecond check if
> the destination file has a nanosecond value of 0. That could possibly be
> improved if we figure out if a particular device ID supports nanoseconds
> somehow. I have a potential
On Wed 20 Jan 2016, Andrey Gursky wrote:
>
> I was just about to implement the same, since nanoseconds are taken
> into account when transferring, thus making it obvious not to ignore
Really? I thought the protocol only transmits seconds.
Paul
--
Please use reply-all for most replies to
The description for --compress-level=NUM does not give any indication
what values are permitted for NUM.
Paul
--- ./rsync.yo.orig 2015-12-30 11:47:24.180646652 +0100
+++ ./rsync.yo 2015-12-30 11:47:27.477198899 +0100
@@ -1907,7 +1907,9 @@
that will not be compressed.
-q seems to override -v completely, but when combined with --progress,
a single newline is output when there are no updates transferred; but if
a file *was* updated nothing at all is output.
It seems that there might be some short-circuited code when nothing is
trasferred, but that a check for
On Wed 30 Dec 2015, Paul Slootman wrote:
> -q seems to override -v completely, but when combined with --progress,
> a single newline is output when there are no updates transferred; but if
> a file *was* updated nothing at all is output.
>
> It seems that there might be some short
On Mon 05 Oct 2015, Charles wrote:
>
> The question I want answering is "Does rsync need telling not to
> compress when SOURCE and DEST are both local or does it automatically
> choose a sane compression setting?"
If you don't ask rsync to compress, it won't compress...
That's different from
On Mon 13 Jul 2015, Andrew Gideon wrote:
On the other hand, I do confess that I am sometimes miffed at the waste
involved in a small change to a very large file. Rsync is smart about
moving minimal data, but it still stores an entire new copy of the file.
What's needed is a file system
On Thu 30 Apr 2015, Kezhawe wrote:
I can still readwrite on the external hdd and on my laptop (which I
have my gentoo there) I can't do anything on / because its filled up
with /proc/kcore after rsync failed
You need to ignore /proc/kcore as (a) that's a virtual file that doesn't
reside on
On Tue 14 Apr 2015, Hongyi Zhao wrote:
On Tue, 14 Apr 2015 09:32:10 +0200, Paul Slootman wrote:
On Tue 14 Apr 2015, Hongyi Zhao wrote:
See the following commands:
___
$ rsync -rmnv -f +_README -f -_* ftp.is.co.za::mirror/ftp.debian.org
On Tue 14 Apr 2015, Hongyi Zhao wrote:
See the following commands:
___
$ rsync -rmnv -f +_README -f -_* ftp.is.co.za::mirror/ftp.debian.org/
ftp.us.debian.org/debian
[snipped]
receiving file list ... done
sent 23 bytes received 9 bytes 1.42 bytes/sec
On Tue 14 Apr 2015, Hongyi Zhao wrote:
I write a complex filter rules as follows:
rsync -amvHPRSB131072 -n --delete --delete-excluded \
-f +_dists/jessie/**binary-all/Packages.gz \
-f +_dists/jessie/Release* \
-f +_dists/jessie/**binary-amd64/Packages.gz \
-f
On Tue 07 Apr 2015, Aron Rotteveel wrote:
Anyone have any other ideas I could try to debug this issue? :)
You could try using the latest version of rsync? 3.1.1 was released some
time ago.
Paul
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or
On Sat 28 Feb 2015, ? ?? wrote:
rsync version 3.0.9 protocol version 30
rsync -a --exclude=tmp/* /home/ /backup/home/
It is necessary that the contents of the folder tmp copy, but the folder tmp
in
backup was created.
If the folder /home/tmp/ is many millions of files,
On Thu 29 Jan 2015, Johan Kröckel wrote:
I am looking for a way to start one rsync command with multiple destinations.
My use case:
I have one (slow) usb drive which should be synced to two other
harddrives. It would be great if rsync could read one file which is to
be copied to both hard
On Wed 07 Jan 2015, Lenz Weber wrote:
Where the local destination /data/snapshots is an NFS volume mounted with the
flags
(rw,noatime,addr=192.168.1.XX)
and the source is a symlink to a zfs snapshot - that looks like this:
/var/backups/mail -
On Wed 17 Dec 2014, David Jennings wrote:
Hi all. I have a strange issue with sync'ing from a USB-attached ext4 file
system on one machine, to a USB-attached ext3 file system on another.
The sync works fine (a few thousand files). If I run it again straight away,
or a few minutes later,
On Wed 03 Dec 2014, yhu2 wrote:
On 11/28/2014 09:41 AM, yhu2 wrote:
thanks your reply, could you please send off official fix?
or could you please tell me which release will include this patch. any
comments would be appreciated!
The git repository is browseable, the patch for this can be
On Thu 02 Oct 2014, Juan Carlos Valle Sandoval wrote:
I have changed the script to:
rsync.exe -ai --size-only --progress
--log-file=/cygdrive/v/notes/archive/RSyncLogFile.txt
/cygdrive/d/%username%/notes/archive /cygdrive/v/notes/
You could still try the other suggestion of
On Sat 04 Oct 2014, Paul Slootman wrote:
Only the modified file was backed up. However the whole file was copied,
not just the new things. :-(
Why do you say this?
Oops, didn't read Kevin's followup and didn't notice the rsync over two
local filesystem paths.
Paul
--
Please use reply
On Mon 15 Sep 2014, Kevin Korb wrote:
I would never operate in a manner that only has 5-6 days of old
backups. The backups that I am deleting are more than a year old.
I keep the Sunday backups for a month, the 1st of the month backups for
a year.
The other daily backups are expired after
On Sat 26 Jul 2014, Kevin Korb wrote:
I just moved my home partition to a new harddisk w/more space.
Home Partition? Are we in 1995? Why would you have a partition
mounted anywhere other than /boot ?
Didn't we just have this discussion already recently?
There are valid reasons to have
On Sat 15 Feb 2014, Perry Hutchison wrote:
Hiroyuki Ikegami ike...@mixallow.net wrote:
2014-02-15 7:39 GMT+09:00 Grozdan neutri...@gmail.com:
Yesterday, I changed my rsyncd.conf file to add one more module to it.
Then I sent a kill -HUP $pid signal to rsync running in daemon mode,
but
On Fri 14 Feb 2014, Matthias Schniedermeyer wrote:
You mixed the options from remote shell with rsync daemon.
Rsync is used either as 'rsync over SSH'(/remote shell) OR daemon-mode.
Matthias,
Ik recommend you check out the USING RSYNC-DAEMON FEATURES VIA A
REMOTE-SHELL CONNECTION part of the
On Mon 10 Feb 2014, Lorenz wrote:
grep -v # /etc/rsnapshot | grep [a-z]
i.e. the /etc/rsnapshot minus the comments and the empty lines:
I'd recommend using 'grep .' to find non-empty lines... shorter and more
accurate :-)
rsync_long_args -ev
On Sun 02 Feb 2014, Hongyi Zhao wrote:
But I've tried the following methodes based on your suggestion and get
different results:
werner@debian:~$ rsync -a --exclude '/*/*/*/*'
rsync://ftp.cn.debian.org/debian | wc -l
1798
werner@debian:~$ rsync -a --exclude '/*/*/*/**'
On Sun 02 Feb 2014, Hongyi Zhao wrote:
I want to list the contents on the remote rsync server only to n, say,
2 level deep.
In my case the the server is rsync://ftp.cn.debian.org, and I want to
list all of the stuff in the following subdirectory only to 2 level
deep:
On Tue 07 Jan 2014, Ashley M. Kirchner wrote:
On Tue, Jan 7, 2014 at 9:44 AM, Paul Slootman paul+rs...@wurtel.net wrote:
rsync will not touch files that have been --exclude'ed; unless you also
specify --delete-excluded . So just specify those LIVE-only files in
your exclude list.
Uh
On Tue 07 Jan 2014, Ashley M. Kirchner wrote:
My issue is with the --delete part. While I want the procedure to delete
extraneous files from the LIVE server when they are removed from the DEV
one, there are a few files on LIVE that do not and will never exist on the
DEV server, however they
On Wed 18 Dec 2013, Kevin Korb wrote:
Also, rsync's -c is rather dumb as it computes checksums for files
that have different sizes so they can't possibly be the same and it
computes checksums for files that only exist on one end and therefore
has nothing to compare them to.
The list of files
On Tue 03 Dec 2013, Kevin Korb wrote:
Sure. Simply put, you can just change ext[23] to ext4 in fstab and it
will just work. Faster even.
Just be very sure that you have ext4 support in your kernel, otherwise
you have a problem. ext4 should be listed in /proc/filesystems .
Of course, the
On Fri 01 Nov 2013, Carlos Carvalho wrote:
Happened again:
Oct 31 15:55:49 sagres kernel: denied resource overstep by requesting 8392704
for RLIMIT_STACK against limit 8388608 for /usr/local/bin/rsync[rsync:80954]
uid/euid:1011/1011 gid/egid:1011/1011, parent
On Sun 13 Oct 2013, Jed Brown wrote:
The man page describes options --chown, --usermap, and --groupmap, but
these seem to be silently ignored beyond validating that the user and
groups do indeed exist. Is the following supposed to work?
No, because you're not running the rsync command as the
On Mon 30 Sep 2013, thomas veymont wrote:
ie. any modules declared in mymodules1/ will use users/passwords in
secret1.inc whereas mymodules2/ modules will use secret2.inc.
is it the right way to implement this ?
Well, the secrets parameter is listed under MODULE PARAMETERS in the
On Tue 13 Aug 2013, Sherin A wrote:
But if a user create a
hard link to /etc/shadow from his home dir , and he request a restore ,
then he can read the shadow files and decrypt it .
If he can make a HARD link to the shadow file, then he can already read
it - and worse.
Paul
--
Please use
On Tue 13 Aug 2013, Matthias Schniedermeyer wrote:
On 13.08.2013 09:52, Paul Slootman wrote:
On Tue 13 Aug 2013, Sherin A wrote:
But if a user create a
hard link to /etc/shadow from his home dir , and he request a restore ,
then he can read the shadow files and decrypt
On Tue 13 Aug 2013, Matthias Schniedermeyer wrote:
BUT there is no direct vulnerability in that, only processes after that
(like backup/rsync) can make a vulnerability out of it.
... which is what I already wrote.
Paul
--
Please use reply-all for most replies to avoid omitting the mailing
On Tue 13 Aug 2013, Matthias Schniedermeyer wrote:
I read your sentence differently:
If he can make a HARD link to the shadow file, then he can already
read it - and worse.
My understanding of your sentence says:
The ability to hardlink, means that anyone can read any file they can
On Mon 27 May 2013, Joseph L. Casale wrote:
On Linux, an rsync command and exclude_file contents of:
# cat exclude_file
/etc/alsa
# rsync -a --delete --delete-excluded --exclude-from=exclude_file /etc
server::module
properly excludes /etc/alsa but not any file within /etc's directories
On Tue 21 May 2013, Allen Supynuk wrote:
## 1) Start with an empty filesystem
$ df -h .
Note that you need to be using btrfs filesystem df .
for reliable numbers; the normal df does not take into account
background cleanups etc.
Paul
--
Please use reply-all for most replies to avoid
On Wed 15 May 2013, Brian K. White wrote:
I did in the case when it was only one pattern, but that was just a
simplified example.
The actual job involves too many include and exclude patterns to use
--include --exclude, or even --include-from and --exclude-from,
because the patterns are
On Wed 15 May 2013, Brian K. White wrote:
Consider the following directory structure
/foo/aaa/*/*
/foo/bbb/*/*
/foo/ccc/*/*
I want to sync all of /foo,
but exclude /foo/aaa
rsync -avz /foo ${DEST}::root
Firstly, I always recommend that with directory transfers you add a
trailing
On Wed 15 May 2013, Brian K. White wrote:
rsync -avz /foo/ ${DEST}::root/foo/
This syntax does work in his case, and is easier to read, because it
ends up using the exact same specification /foo/ and /foo/ for
both source and dest, but the syntax I had was also correct. I no
longer
On Tue 30 Apr 2013, Gauri Senad wrote:
I am compiling rsync-3.0.9 in my build system (which is for 2.6.10 linux
kernel. I am using windriver build system), compilation is failing due to
size of “uint32” and “uint16” was computed wrongly during configuration.
Hmm, it took some googling to see
On Mon 29 Apr 2013, Kevin Korb wrote:
Simply put, if you have something that is screwing with your file data
without touching your time stamps then you have been infected with a
rootkit. You should be thanking rsync for not backing up your
As he's running QNX I don't expect he's infected.
On Mon 11 Feb 2013, scott.geo...@parker.com wrote:
Secondly, I am receiving an error 28 (ENOSPC) on the transfer of a large
file. I make sure the destination file system is double what the source
for the possibility of needing to keep copies of both during transfer, but
I assumed
On Fri 18 Jan 2013, Robert Bell wrote:
If a file exists in the target directory when using --link-dest rsync
modifies the link rather than replacing it which means you don't have
history for files that have been replaced rather than added or deleted.
Thanks for your astute observation about
On Thu 20 Dec 2012, Ryan John wrote:
The umask would be preferable to using --chmod. Is that possible?
Don't you just want to use -a instead of -r in your options to rsync?
That will include -p that will preserve permissions from the source.
Paul
--
Please use reply-all for most replies to
On Wed 19 Dec 2012, VanL wrote:
I have a question about what happens at the code level when I use
--whole-file. I know that it turns off the rolling checksum. I also
understand that it only checks the file's mtime and size to identify
whether there should be some transfer. Two questions:
On Thu 20 Dec 2012, Ryan John wrote:
On Thu 20 Dec 2012, Ryan John wrote:
The umask would be preferable to using --chmod. Is that possible?
Don't you just want to use -a instead of -r in your options to rsync?
That will include -p that will preserve permissions from the source.
On Mon 17 Dec 2012, Chris Dennis wrote:
I've noticed an apparent inconsistency in the ordering of output
from the --list-only option.
For example:
$ ls
d1 d2 d2-x d3 f1 f2 f2-x f3
$ rsync --list-only .
drwxr-xr-x4096 2012/12/17 15:18:05 .
-rw-r--r-- 0
On Mon 03 Dec 2012, Ben Oswald wrote:
I've tested your advise for a few days now but is seems like the
problem isn't solved. The traffice is now lower, about 15GB per backup,
but still 4 times bigger than the whole data on the server. Is there an
other option of rsync I can give a try.
I've
On Fri 14 Sep 2012, Dariusz Dolecki wrote:
We are running rsync in daemon mode (::) (two colons), and in
/etc.rsyncd.conf there is a lock file specified:
log file = /var/adm/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
But I do not see the lock file...
On Thu 06 Sep 2012, Kevin Korb wrote:
Connection reset by peer essentially means that the program you were
talking to went away (crashed). Therefore whatever is at or near the
.. or a stateful firewall somewhere lost the state of the connection.
Sometimes happens when a connection is idle
On Thu 09 Aug 2012, Linda Walsh wrote:
Anyway, thanks for the history update. I have a feeling rsync is afraid to
use
memory -- and really, it should try to use alot of memory to optimize
transfers,
I have had rsync fail after using up 8GB memory + 4GB swap, so I'm very
happy it does
On Thu 02 Aug 2012, Libor Klepáč wrote:
Ok, i'l try setting timeout, but according to documentation, default is
timeout=0 which means no timeout.
IIRC setting the timeout explicitly on both ends (if you're using an
rsync daemon) to the same value will cause some sort of heartbeat
activity.
1 - 100 of 680 matches
Mail list logo