me version of rsync on both sides of the transfer?
Different platforms have different rules for timestamp granularity. This
may or many not be contributing to this issue.
Steven
--
------
"Steven Levine" Warp/DIY/BlueLio
ern;
that is what prompted this question. I don't need this high level of fidelity
of most data, just a small subset.
The use case is:
* Create raw data
* Move to backup location very reliably.
* Delete original data set.
Thanks again.
Steven Banville
Cirina
201 Gateway Boulevard
Hi
I am using "rsync" to send files from a source machine to a remote machine as
one typically does. I would like to clarify that the "-c" option will cause
the checksum on the receiving end to be created by reading the already written
file and NOT the data stream on the receiving end. This
teresting to evaluate a mixed solution. Use events to track
directory changes and let rsync sort out what to do for each directory.
Steven
--
--
"Steven Levine" Warp/DIY/BlueLion etc.
www.scoug.com www.arcanoa
"legacy" servers.
>
> R/ Everett Batey / Skype: wa6cre-10 / efba...@gmail.com
> Please visit So Calif Linux Expo http://www.socallinuxexpo.org
>
>
>
> On Tue, Jan 3, 2017 at 7:16 AM, Steven Kilby
> wrote:
>
> Hi,
>
> I've been attempting to us
#x27;t see this when I mount the same folder using
SMB. I've seen this one time and only one time when going from the mac to
the share.
Steven
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/li
cal system has the rights to delete the default ACLs from
var/log/journal/remote. You need to test this with something like
setfacl --remove-default \
/mnt/backup/rootdir/var/log/journal/remote
Steven
--
------
"St
work.
>But, for the files that have the ³n²
What "n" do you mean?
Another FWIW, when testing, --dry-run (i.e. -n) is useful to understand
which files will be transferred, especially when working with complex
filters,
ten on the list that this should be a FAQ.
Check out
--itemize-changes
It is almost always the best solution for understanding why rsync is
processing a given file a certain way. --verbose is typically more
helpful when diagnosing problems with complex filters and other o
where path-to-foo is a directory or file. This will list the file
timestamps as rsync interprets them.
BTW, what version of rsync are you running? It might matter.
Steven
--
------
"Steven Levine" Warp/DIY/BlueLion etc
he current directory to the server.
#!/bin/bash
victim="${@: -1:1}"
rsync -d --del --filter="R /$(basename -- "$victim")" --filter='- /*' \
"${@:1:$#-1}" . "$(dirname --
he first rsync. Then you can run the
second rsync without the --ignore-times, which may result in faster
overall throughput.
FWIW, I think you will find the -hi output more useful than the -v output.
Steven
--
------
"Stev
em it examines even if it does not
need to be updated.
Steven
--
------
"Steven Levine" Warp/DIY/eComStation etc.
www.scoug.com
--
--
Please use re
on Windows, you might have a timestamp resolution issue.
The --itemize-changes recommended by others will show whether or not this
is your issues. It's much more effective than -v in my experience.
Steven
--
--
"
t all that useful
FWIW, I always use -i and only use -v when debugging.
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
the man page.
The answers to your questions are there, but there's enough content that
it can take a could of reads to get a feel for the developers way of
thinking.
Steven
--
------
"Steven Levine" eCS/Warp/D
optional.
These are both specializations of the generic --filter='merge filters.txt'
filter option. See the rsync man page for the gory details.
Steven
--
--
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com
assume-content-ok option.
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
--
Please use reply-all for most r
zfs send receive should work perfectly for this.
If the destination has changes you don't mind loosing e.g. just permission
changes you can have the receive roll back to the last known source snapshot
before replaying changes. The result being two identical copies of everything.
If there are oth
s a bit old, but I don't recall any issues with merge
patterns.
Regards,
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
utgoing chmod u+x,g-x: what is the expected result when sending or
>receiving files?)
As the man page says
o To make a file executable, rsync turns on
each x permission that has a corresponding r
permission enabled.
If --perms is enabled, this option is ignored.
>Us
ake it not fail is to have the module root owned by
nobody.
Regards,
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
-
ry does not already have the required read/write
permissions or the rsync daemon does not have the authority to change the
permissions.
Regards,
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.
works. If a
transfer runs as nobody, it's not going to be able to create much of
anything on most setups. Running as nobody is typically used for
anonymous rsync servers that need only read permission to the files in th
and what is the exact error
message you are getting?
Regards,
Steven
--
--
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
--
us. Sorry
about that. Rsync is basically a very smart copy command. Rsync can be
made act like a move command with the --remove-source-files, but this a
special case. BTW, don't forget to drop the --delete from the command
lines.
Regards,
Steven
--
--------
lt you want. It depends on your definition of
synchronize.
Regards,
Steven
--
--
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
them to review the issue.
This is after all, part of their charter.
Regards,
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
ers/astrid"
Offhand, I'd say this is leftover debug code. I don't see it in the
unpatched sources. Take a look in acls.c for the message.
Regards,
Steven
--
------
"Steven Levine" eCS/Wa
imrc
>/home/bob/.gitconfig
The paths in your --include-from file must be relative to $fromdir.
In general, this is true of all paths other than paths specified on the
command line.
The paths on the command line effectively create logic roots an
e man page contains a lot of information, so it's easy enough to miss
stuff even when one is looking for it specifically.
Steven
--
------
"Steven Levine" eCS/Warp
t;- --archive --stats --compress --delete --itemize-changes
> What is needed to prevent the FATAL I/O ERROR?
Add --delete-before or --delete-after. --delete defaults to
--delete-during.
Steven
--
--
"Steven Levine"
is already doing all that
>already.
Your script should be able to use rsync to check if the link-dest
directory exists with something like
rsync --dirs bak...@perturb.org:/home/bakers/backup/$old/
However, I suspect that the multiple link-dest directories suggested by
others will be a sim
's hard to avoid this given the number of options
available to control the sync process.
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
ted out. I will try and see.
My bad. Matt's answer is correct. I missed the --logfile reference. The
quoting can be an issue on non-Linux platform, but it appears that you are
running a Linux box.
Steven
--
--
"Stev
ur shell is interpreting this as multiple arguments after expansion.
Depending on your shell, changing this to
-e \""$SSH"\"
might be sufficient to avoid the issue.
Steven
--
--
"Steven Levi
- Original Message -
From: "Robin Lee Powell"
Of course it does, but as I said in my original mail, there are only
4300 directories, and I've seen as much as 10 *million* additional
file checks.
It turns out it was considering each directory every time *for each
file*, because of the o
..
>3937 files to consider
and
cpool/b/c/5/bc5ea7a79a4824c6729645c66b562e6b
Each subirectory counts as a file to consider.
Steven
--
--
"Steven Levine" eCS/Warp/DIY etc.
www
recommend is cut your
list down to 1 file and use
rsync -ii -aPv --ignore-existing --files-from=/tmp/list \
/backups/ ut00-s00010:/backups
If this does not answer the question add one more -v.
Steven
--
------
"S
aps the
first update should use plain --dirs.
Steven
--
--
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
--
Please use
with --files-from, but it should work as long as
non-existant source file does not cause a problem with the filter logic.
You should not need --recursive. You just need the --exclude-from file to
contain full paths.
Steven
--
------
&
t the files contain the same content, the files still
will get copied if the linking rules can not be satisfied.
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
---
Hi, All,
I want to delete a folder "xt" through rsync as the following:
C:\Users\Daniel>"C:\Program Files (x86)\cwRsync\bin\rsync" -avz --delete
--include="xt" --exclude="*" "/cygdrive/e/fileserver/Worksheets/Steven/"
"lba005::f
Hi, Benjarmin and Wayne
Thanks.
Wayne solutions works.
It's my mistake.
Steven.
-Original Message-
From: Benjamin R. Haskell [mailto:rs...@benizi.com]
Sent: Thursday, November 11, 2010 11:41 AM
To: Steven Xu
Cc: Wayne Davison; rsync@lists.samba.org
Subject: RE: Changes made to m
lies" (in Rsync) failed: No such file or dir
ectory (2)
rsync error: error in file IO (code 11) at main.c(577) [Receiver=3.0.7]
rsync: connection unexpectedly closed (5 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(610) [sender=
3.0.7]
.
Thanks,
Steven.
From: 4way...@gmail.com [mailto:4way...@gmail.com] On Behalf Of Wayne Davison
Sent: Tuesday, November 09, 2010 4:48 PM
To: Steven Xu
Cc: rsync@lists.samba.org
Subject: Re: Changes made to main.c on implementing real time Rsync
On Tue, Nov 9, 2010 at 11:04
t_cleanup(RERR_FILEIO);
}
The problems related to this change is that the folder time stamp of the
folder could not be same as source.
If you have comments, please let me know.
Thanks,
Steven Xu
--
Please use reply-all for most replies to avoid omitting the mailing lis
ed. What does
ls /home/*/domains/*
have to say?
Regards,
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
--
ously, you
need to indicate the client and host platforms and the rsync versions
these platforms are running.
Offhand it appears that the server does not support a mode change
requested by the client.
Adding --itemize-changes might help you identi
our needs,
--prune-empty-dirs may be a better solution.
Also, to be consistent with your find finds, you command line needs to be
rsync -n -ai --filter=include.txt ./ bar
Steven
--
--
Ellis\?\#200\#231s iPhone \(Root\)"
from the command line?
You might try adding --itemize-changes. It's often more helpful than
additional -v's.
Steven
--
--
to need to supply
--protect-args.
Steven
--
--
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
--
Please use reply-all for most
+ /some/
+ /some/path/
+ /some/path/this-file-is-found
+ /file-also-included
- *
It should help you understand how to set up the filter rules you need.
The docs discuss a couple of other ways to solve this problem.
>one more thing?
I suspect the option name is confusing you. --link-dest names the source
of the basis files so you don't want it to be empty (or new).
You need to reverse the options as in
rsync srcdir --link-dest=last-backup-dir new-
home/
cd+ home/das/
cd+ home/das/htdocs/
cd+ home/das/htdocs/docs/
>f+ home/das/htdocs/docs/SHLNotes.txt
cd+ home/em/
cd+ home/em/htdocs/
cd+ home/em/htdocs/docs/
>f+ home/em/htdocs/docs/SHLNotes.txt
Which I think is w
subdirecories, you can often avoid the recursive
scan and use the --relative option and just list the source directories on
the command line.
Steven
--
--
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.co
nt just the files matching */htdocs/docs/*, the above
needs to change slightly.
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
---
ilename is not skipped.
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
--
Please use reply-all for most replies to
p or copy,
depending on your OS.
>I'm asking because the speed of local transfers doesn't seem quite good
>for an USB 2.0 connected hard drive.
What is the speed according to --stats?
Steven
--
------
"Ste
Einstellungen/test2.txt
>>f+ test.txt
>cd+ global/foo
This is the output of --itemize-changes. See
http://samba.org/ftp/rsync/rsync.html.
Regards,
Steven
--
--
"Steven Levine" eCS/W
On 2010/03/13 3:33 PM, Paul wrote:
> I want to copy only specific directories that contain specific
> filetypes, from sourcedir to destdir. For example, I want to copy all
> .mp3 and all .ogg files found in the GroupA, GroupC directories under
> /home/paul/sourcedir/. For example, if I have
>
> /h
We've never been able to use rsync on cygwin reliably. We tried loads of
things and whenever its been brought up on the cygwin list, the answer has
always been that its down to issues with pipes implementation, which was a
short coming of the underlining OS so nothing that could be fixed.
The fre
pipes in cygwin are unreliable, its not an rsync issue its a well known
cygwin issue.
You have two choices:
1. don't use cygwin
2. use daemon mode, which avoids piping though ssh hence the main cause
of the pipe issue, although reduces security.
Regards
Steve
- Original Message -
On 2010/01/16 9:34 AM, Adam Rosi-Kessel wrote:
> Max Arnold wrote, on 1/16/2010 12:08 PM:
>>> Rsync 3.0.7 and Cygwin 1.7.1 hangs at random instances. This does not
>>> happen
>>> always and does not happen at all locations.
>> Do you have any antivirus/firewall software installed? I once had
>> wei
dreniarb wrote:
> using a standard rsync command line, with this as the --exclude-from file:
>
> + /*.pst
> - *.*
>
> While this does include only files with a .pst extension, it also includes
> files without an extension. This means about 5000 files instead of just a
> handful. Using the --pru
When you request a log, --itemize-changes is
implied.
>Hope to chat soon.
Regards,
Steven
--
------
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
ook for MAXPATHLEN.
Regards,
Steven
--
--
"Steven Levine" eCS/Warp/DIY etc.
www.scoug.com www.ecomstation.com
--
--
Please use reply-all for mo
ocating core memory buffers (code 22) at
>util.c(124) [generator=3.0.6]
A stock rsync build has a hardcoded 1024 character limit on pathnames.
The actual limit ca be slightly less. It appears you have exceeded this
limit.
R
While transfering files from a win32 host here running
interix aka SFU it keeps constantly failing with various
errors see below.
Both ends are running 3.0.5 on the same network. Also
the transfer speeds are really slow, has anyone had
this before and is there anything we can do to
investigate th
Its an option when you install the port.
Regards
Steve
- Original Message -
From: "alexus"
To:
Sent: Friday, March 13, 2009 2:12 AM
Subject: rsync flags freebsd
is there a way to save special flags in freebsd when using rsync?
for example
dd# ls -lo init
-r-xr-xr-x 1 root
In addition to this the following is also common:-
132612096 991% 641.09kB/s ??:??:??
Seems to continue transferring rubbish infinitely until restarted.
Regards
Steve
- Original Message -
From: "Steven Hartland" <[EMAIL PROTECTED]>
To:
Sent: Sunday, June
I've been trying to sync two directories under interix between two
machines on the local network and I keep getting the flowing errors:-
The first error is "failed: Bad address (14)" which always occurs
rsync: readlink "/dev/fs/D/Media/Audio/The Hoosiers/desktop.ini" failed: Bad
address (14)
T
- Original Message -
From: "Wayne Davison" <[EMAIL PROTECTED]>
This looks like a system message overwriting the display, which rsync
can't control. We could switch over to writing \r at the start of each
progress message rather than at the end, and I may do that for the next
release.
On cygwin 1.5.25 we get the following test failure:-
- default-acls log follows
Testing for symlinks using 'test -h'
sending incremental file list
created directory /tmp/rsync-3.0.3pre2/testtmp/default-acls/da777/to
delta-transmission disabled for local transfer or --whole-file
file
program
d
Under cygwin 1.5.25 we get the following compile warnings
flist.c: In function `output_flist':
flist.c:2648: warning: unsigned int format, uint32_t arg (arg 4)
flist.c:2648: warning: unsigned int format, uint32_t arg (arg 4)
flist.c:2655: warning: unsigned int format, uint32_t arg (arg 5)
flist.c:
The progress fix listed
[quote]
- If rsync exits in the middle of a --progress output, it now outputs a
newline to prevent the progress line from being overwritten.
[/quote]
Appears to not work.
== Test 1 ==
CTRL+C is used to abort:-
rsync -av --whole-file --progress -e "ssh -p 23" test
All seems to compile ok but I get the following warnings on interix 3.5
flist.c: In function `recv_file_entry':
flist.c:840: warning: comparison between signed and unsigned
flist.c:874: warning: comparison between signed and unsigned
flist.c:876: warning: right shift count >= width of type
flist
the lines in the file specified to --files-from are actual file names and not
patterns so if you want all files starting with xyz then you must specify them
all.
Regards
Steve
- Original Message -
From: Meeaz
To: rsync@lists.samba.org
Sent: Thursday, May 29, 2008 2:57
Log file is likely locked.
- Original Message -
From: "Kaushal Shriyan" <[EMAIL PROTECTED]>
hi
I have the script http://pastebin.com/d4b062d28 and the roots cron
entry are as below
30 2 * * * su sms /usr/local/bin/testrsync_mysql.sh
I am getting the below error
building file list ..
- Original Message -
From: "Wayne Davison" <[EMAIL PROTECTED]>
I have already made a change in a similar vein to the official fileflags
patch (mine has the ability to handle immutability of both the oldname
file and newname file when renaming). Thanks, though!
Thanks for that wayne
Attached is a slightly different patch which doesn't attempt chflags
to every file, instead it catches the error case in robust_rename
and only then calls chflags(to, 0)
Hope this helps.
Regards
Steve
- Original Message -
From: "Rolf Grossmann" <[EMAIL PROTECTED]>
Wayne D
After looking through all the rsync docs for an option
to "set" the owner / group of the files on the destination
host, which there doesn't seem to be one, I did a quick Google
and turned up the following link.
http://lists.samba.org/archive/rsync/2001-October/000327.html
This seems to have a pat
age -
From: "Alain DESEINE" <[EMAIL PROTECTED]>
To: "Steven Hartland" <[EMAIL PROTECTED]>;
Sent: Wednesday, August 29, 2007 11:35 PM
Subject: Re: RSYNC Hang on client match_sums
Hi,
Thanks for help !
No big files there ...
Sometimes it hang on some hundre
Its not hitting a 2GB file is it?
- Original Message -
From: "Alain DESEINE" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 29, 2007 10:47 AM
Subject: RSYNC Hang on client match_sums
Hi,
Got a strange problem with rsync ! Here is the story ...
I got a linux rsync server running fo
- Original Message -
From: "Matt McCutchen" <[EMAIL PROTECTED]>
You might try running your unixy tools under Cygwin (
http://www.cygwin.com/ ) instead of Interix. I know there are a lot
of people happily using rsync under Cygwin, and if something goes
wrong, there will be a much larger
Likely to be a problem with cygwin and not rsync. cygwin and rsync
over ssh don't play nice.
Steve
- Original Message -
From: "Jerome Haltom" <[EMAIL PROTECTED]>
I am using rsync on a Linux box, connecting to a Cygwin SSH server which
has Rsync installed, and pulling some files
I'm using rsync to sync DB files from a FreeBSD box to a Windows XP box under interix. Until today everything was fine but now as
soon as the windows box hits one file which is now greater than 2Gb it goes into an infinite loop in generator.c:sum_sizes_sqroot
The code at fault seems to be:
for (
can decipher anyway). If I understand
correctly, your patch patches the patch that patches the src, right? Any
tips would be very much appreciated. Thanks.
- Steven
I've seen the ignore-case patch, but as far as I can tell that's for
source/destination matching. That's a dif
y thanks! I've searched for this by
Google for the past 2-3 years off-and-on hoping it would eventually be
introduced... and I'm finally bothering to put in the request. I hope it is
received well. Many thanks!
- Steven
--
To unsubscribe or change options: https://l
www.cyut.edu.tw/~ckhung/published/997nodoc.shtml
--
Steven Shiau
E-mail: steven _at_ nchc.org.tw; steven _at_ stick.idv.tw
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
On Wed, Sep 10, 2003 at 02:45:17AM -0700, jw schultz wrote:
> On Wed, Sep 10, 2003 at 02:21:32AM -0700, Steven Roberts wrote:
> > On Tue, Sep 09, 2003 at 11:58:57PM -0700, jw schultz wrote:
> > > On Tue, Sep 09, 2003 at 11:33:44PM -0700, Steven Roberts wrote:
> > > &
On Tue, Sep 09, 2003 at 11:58:57PM -0700, jw schultz wrote:
> On Tue, Sep 09, 2003 at 11:33:44PM -0700, Steven Roberts wrote:
> > Greetings,
> > We have encountered an odd performance issue in rsync (running version 2.4.6).
> If you want any support you'll need to get someth
ixed in a newer version, please let me know (and if it is in the
changelog, I apologize in advance).
Please let me know what additional information is needed (if any) or if
you need me to run tests.
Regards,
Steven Roberts
--
To unsubscribe or change options: http://lists.samba.org/mailman/listin
Title: Message
Hi,
I
ran out of disk space while getting ISOs doing:
rsync
-Pavz machinename::path/to/directory targetdir
When I deleted some
stuff and used the same command to resume, I got an error (code 12) at io.c
(165).
I had to delete the
file in order to resume. Later, the co
n the same LAN and scp would therefore
probably be more efficient I am keen to use rsync so I can get this working
across our WAN which of course only has low bandwidth.
Could anyone either suggest a solution or point me to some doco which
covers this.
Thank you
Steven
/d002/* Server1:/d002
Question: Can you clarify the last line in this for me?
Steven Hawks
NCR Corporation
IT Services - GAD Sales and Business Infrastructure
* 1529 Brown St., EMD/4, Dayton, Oh 45479
* * (937) 445-3946, fax 445-0375, voiceplus 622-3946
* [EMAIL PROTECTED]
96 matches
Mail list logo