Allow "--in-place" as an alternative option name for "--inplace"

2019-06-26 Thread Jan-Benedict Glaw via rsync
Hi! As I commonly spell --inplace as --in-place, I'd like to suggest this simple patch: commit 5689f99b702788044a45e13582559832cf986328 Author: Jan-Benedict Glaw Date: Wed Jun 26 22:49:31 2019 +0200 Allow "--in-place" as an alternative option name for "--inp

Re: Permission denied (13)

2011-04-15 Thread Jan-Benedict Glaw
lly, the No File Security^W^W^WNetwork File System's server reject access by UID=0 (= root) from a client. (It may explicitely be allowed by something oftenly called "no_root_squash".) Other than that, I guess you'll have so strace and tcpdump all involved parts to see wh

Re: "Connection reset by peer" withing a rsyncd strace log

2011-03-16 Thread Jan-Benedict Glaw
causing this, like a firewall dropping a too old connection or something like that. Thus, I'd suggest to also do a tcpdump -i ethX -n -s0 -w rsync.pcap -C 5 port rsync This should rotate the pcap files after ~ 5MB, only the very last one (from client as well as from server) are really inter

Re: cron issue

2011-03-13 Thread Jan-Benedict Glaw
On Sun, 2011-03-13 21:30:58 +, Adnane RABIH wrote: > Le 13/03/2011 18:10, Jan-Benedict Glaw a écrit : > >On Sun, 2011-03-13 16:10:12 +, Adnane RABIH > >wrote: > >>I made a script to backup a folder on a remote server it works > >>manually, I set a cron

Re: cron issue

2011-03-13 Thread Jan-Benedict Glaw
set there.) MfG, JBG -- Jan-Benedict Glaw jbg...@lug-owl.de +49-172-7608481 Signature of: http://www.eyrie.org/~eagle/faqs/questions.html the second : signature.asc Description: Digital signature -- Please use reply-all for most replies to avoid omitting

Re: how to migrate 40T data and 180M files

2009-08-11 Thread Jan-Benedict Glaw
On Tue, 2009-08-11 10:58:15 +0200, Michal Suchanek wrote: > 2009/8/11 Jan-Benedict Glaw : > > On Tue, 2009-08-11 16:14:33 +0800, Ming Gao wrote: > > > I need to migrate 40T data and 180M files from one storage device to > > > another > > > one, both so

Re: how to migrate 40T data and 180M files

2009-08-11 Thread Jan-Benedict Glaw
like "copy over anything", so it's merely mount both filesystems and use two `tar' instances with a pipe in between... MfG, JBG -- Jan-Benedict Glaw jbg...@lug-owl.de +49-172-7608481 Signature of: http://perl.plover.com/Ques

Re: rsync between windows Opensolaris failures

2009-07-08 Thread Jan-Benedict Glaw
That is, there might be something like a greeting message in non-interactive mode.) MfG, JBG -- Jan-Benedict Glaw jbg...@lug-owl.de +49-172-7608481 Signature of: Eine Freie Meinung in einem Freien Kopf the second : für einen Fre

Re: replicating a live directory

2008-04-02 Thread Jan-Benedict Glaw
wntime. Live replication--one day I'll play with it again. Another approach could be a shared device (think nbd) with a sync-mounted filesystem. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED] +49-172-7608481 Signature of: They that give up essential liberty to

Re: replicating a live directory

2008-03-30 Thread Jan-Benedict Glaw
ld be to just omit the receiving daemon and use the NFS protocol instead. Maybe using FUSE these days instead of a preload lib would also be a nice imprevement... MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED] +49-172-7608481 Signature of: What we do fo

Re: Rsync on windows

2008-03-30 Thread Jan-Benedict Glaw
On Sun, 2008-03-30 09:54:26 +0300, Mark, Oren <[EMAIL PROTECTED]> wrote: > > It there a way to use rsync from windows server, so it will pull data on > NFS through UNIX rsync server? Yes, there is. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]

Re: Script work fine on sheel, but no on a cron job

2007-10-23 Thread Jan-Benedict Glaw
both) instances of the rsync client/daemon. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED] +49-172-7608481 Signature of:Don't believe in miracles: Rely on them! the second : signature.asc Description: Digital signature -- To unsubscribe or cha

Re: Rsync on Mac OS X

2007-08-14 Thread Jan-Benedict Glaw
gt;echo "$i" >> .sent_files > else >echo -n "-- File $i transfer failed" | logger > grep -v "$i" .pending_files > .pending_files_new Dito. >mv .pending_files_new .pending_files > fi; > f

Re: rsync summary details...

2007-06-24 Thread Jan-Benedict Glaw
p? You're really bad in math, aren't you? :-) If you used "cp" or "scp" or some other non-differential copying mechanism, you would have send 33378.82 times the amount of data that rsync just sent over the wire: = / ( + ) Or in other words: "The traffic use

Re: Rsync with non-english characters in filenames?

2007-06-18 Thread Jan-Benedict Glaw
On Mon, 2007-06-18 13:59:59 +0200, Fredrik Karlsson <[EMAIL PROTECTED]> wrote: > On 6/18/07, Jan-Benedict Glaw <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-18 12:00:00 +0200, Fredrik Karlsson <[EMAIL PROTECTED]> > > wrote: > > > I am trying to use rsync

Re: Rsync with non-english characters in filenames?

2007-06-18 Thread Jan-Benedict Glaw
nsferred as-is. The target filesystem doesn't allow for these characters. What filesystem type is it? https://bugzilla.samba.org/show_bug.cgi?id=2790 mentions a patch, http://opencoder.net/iconv.diff , to recode filenames using iconv. Just search for "rsync iconv", you'll find

Re: Rsync for hp 3000

2007-04-25 Thread Jan-Benedict Glaw
On Wed, 2007-04-25 14:28:02 -0400, Robert Denton <[EMAIL PROTECTED]> wrote: > Good luck getting IIRC to compile. If I recall correctly, it is > nearly impossible. ;) Nah, that cannot be all that hard :) MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED] +49

Re: transferred files have ",v" at their end

2007-01-06 Thread Jan-Benedict Glaw
r end. > > Can you please advise? You'd use "cvs" to connect to these repositories and check-out a working copy. Rsync'ing this stuff is reasonable for doing backups, but not to compile the project. (Of course, you'd setup a local CVS server to serve the just-downl

Re: 1 file of 16000 always being updated

2006-12-08 Thread Jan-Benedict Glaw
12sum). I've at least seen things like this two times, where a HDD silently replied data from a bad sector. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED] +49-172-7608481 Signature of:If it doesn't work, force it. the second :

Re: Building file list takes hours,how to improve performance?

2006-11-01 Thread Jan-Benedict Glaw
On Thu, 2006-11-02 09:21:45 +0800, woo robbin <[EMAIL PROTECTED]> wrote: > 2006/11/1, Jan-Benedict Glaw <[EMAIL PROTECTED]>: > >On Wed, 2006-11-01 22:01:07 +0800, woo robbin <[EMAIL PROTECTED]> > > wrote: > > > I've backed up some files(about 20G,wit

Re: Building file list takes hours,how to improve performance?

2006-11-01 Thread Jan-Benedict Glaw
n time: 8631.470 seconds > File list transfer time: 0.000 seconds Well, the USB stuff tends to be slow. And untuned filesystems are that, too. If it's ext3, you'd play with the dir_index flag. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED] +49-172-760848

Re: track a stolen laptop via rsync

2006-10-19 Thread Jan-Benedict Glaw
address belongs to. Then email their abuse account (usually [EMAIL PROTECTED]) and ask them for help. If they're unwilling (most probably), go to the nearest police station with your evidence. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED] +49-172-7608481 Signature of:

Re: Newbie: What does -e do?

2006-08-05 Thread Jan-Benedict Glaw
On Sat, 2006-08-05 19:34:39 -0700, Jeffrey Ellis <[EMAIL PROTECTED]> wrote: > on 8/5/06 4:51 PM, Jan-Benedict Glaw at [EMAIL PROTECTED] wrote: > > rsync can be used in conjunction with several transport protocols. In > > one incarnation, you can tell rsync about a command (sup

Re: Newbie: What does -e do?

2006-08-05 Thread Jan-Benedict Glaw
ofing won't give an attacker all of your backup) as well as encrypt all the traffic. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]+49-172-7608481 Signature of: Träume nicht von Dein Leben: Lebe Deinen Traum! the second : signature.asc Description:

Re: shell script segment fault when executed by crontab

2006-06-17 Thread Jan-Benedict Glaw
once on the command line and once from within the script and compare both outputs. Probably where are missing PATH entries or some other variables missing. Oh, the `ltrace' tool should visualize accesses to environment variables, so its use might be an alternative approach. MfG, JBG --

Re: Usage of a telnet client instead of ssh or rsh

2006-05-13 Thread Jan-Benedict Glaw
r kerberos-ized situation? Well, ignoring the protocol-specific extensions, I'd think of some kind of expect(1) wrapped telnet client to do the login and command-sending stuff... Though that's all a crude workaround. Why don't you just use ssh, which is nicely (via GSSAPI) kerberized

Re: Rsync backups over the internet

2006-05-07 Thread Jan-Benedict Glaw
nt call? These are eg. noted in /etc/fstab (if it's a regularly mounted filesystem on a unix-like box). MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf| Gegen Zensur | Gegen Krieg _ _ O für einen

Re: Rsync backups over the internet

2006-05-07 Thread Jan-Benedict Glaw
with unknown speed and latency." Please give us some more hints. One hour over eg. a mobile phone connection with 9600 Baud (like 1kb/sec) for a dataset which changes completely would be quite well-working, while one hour with fast disks over a well-connected site (eg. gigabit internet upstr

Re: rsync a raw device

2006-03-14 Thread Jan-Benedict Glaw
possible. # cat /dev/sda | ssh [EMAIL PROTECTED] "cat > /dev/sda" Of course, change the device name as needed on both sides... MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf| Gegen Zensur |

Re: Question about rsync and BIG mirror

2006-03-03 Thread Jan-Benedict Glaw
hortly, what do YOU > think? Any advices? That all depends on the usage pattern. So you've got one central rsync server and a number (how many?) of clients that need to synchronize. All these do have 2Mbit connectivity, right? You'd also have to define the way your files change. Do

Re: ftp:// error

2005-12-02 Thread Jan-Benedict Glaw
my_folder Do you really expect a program implementing the RSYNC protocol to talk to a machine which has some software running speaking the FTP protocol? This won't fly... You need to use a FTP client is a FTP server is installed. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +

Re: Question and feature requests for processor bound systems

2005-08-18 Thread Jan-Benedict Glaw
a hint that most likely the > file is appended to, but will still catch most occurances where a file was > modified. Option 4: tar over netcat. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf|

Re: Filename enocings

2005-07-28 Thread Jan-Benedict Glaw
gt; @@ -0,0 +1,220 @@ [...] > +/** > + * Runs the filename converter process. Should be called before filename > + * conversion begins (actually it's not necessarh, but it keeps the proress > report ^^^ Typo in commen

Re: rsync doesn't copy all files

2005-07-25 Thread Jan-Benedict Glaw
amba which you need to get right. Unfortunately, having them wrong at some time and correcting them can lead to wrongly-displaying filenames. So once you got it right, you'd better check the filenames to see if they match your expectation... MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTE

Re: An idea: rsyncfs, an rsync-based real-time replicated filesystem

2005-04-13 Thread Jan-Benedict Glaw
glibc development, or you need to nail down one version that actually "works"... A different approach would be to use ptrace for sniffing at the syscall layer, but this is troublesome right after fork() IIRC. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481

Re: Steroids for Rsync!

2005-03-03 Thread Jan-Benedict Glaw
nths' with some being 'write 4 times a day' so rsync should be perfect > if it can be told right after the file is created. We are installing > fiber to our building so this might be the perfect combination to come > up with a five second mirror performance. I'd defi

Re: Transferring large amount of files w/ Rsync - Initial transfer

2005-01-23 Thread Jan-Benedict Glaw
to incremental synchronization ? See manpage :-) > Is it complicated to add to Rsync an option that would just generate > checksums/hash values of files so that > the solution above becomes feasible ?. No need for that... MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED].

Re: RSync with /really/ long file lists

2004-12-04 Thread Jan-Benedict Glaw
you'd need to mmap() it, in parts (4GB limit on 32bit hardware, which you aren't even allowed to fully exploit...), which would complicate things, and make it possibly a lot slower. MfG, JBG PS: Thanks to all who wrote code for rsync -- I'm really a happy user! -- Jan-Benedict G

Re: rsync retry after connection failure

2004-10-31 Thread Jan-Benedict Glaw
to > script that under this OS, any suggestions are welcome. Well, if you don't know how to do this with .bat files, maybe you'd start writing a wrapper in C? Though, there are numerous examples how to do error checking in batch files... MfG, JBG -- Jan-Benedict Glaw [EMAIL PR

Re: Anyone syncing database files?

2004-08-20 Thread Jan-Benedict Glaw
On Fri, 2004-08-20 16:43:07 -0400, Loukinas, Jeremy <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > Anyone syncing say 18-20gb Oracle dbf files..? No problem--as long as you don't try to backup hot database files. Shutdown Oracle first:) MfG, JBG -- Jan-Benedi

Re: bash: /usr/local/bin/rsync: Argument list too long

2004-08-10 Thread Jan-Benedict Glaw
" as a _directory_ name containing thousands of files, it'll work just fine since "." isn't expanded by the shell interpreter, but recursively read by rsync itself. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 _ O _ "Eine

Re: bash: /usr/local/bin/rsync: Argument list too long

2004-08-10 Thread Jan-Benedict Glaw
l to allow a larger buffer for argv[]. (For Linux, you'll need to edit ./include/linux/binfmts.h; change MAX_ARG_PAGES to whatever you like better) - Try to use xargs, but that may be tricky... MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481

Re: A question about connection refused

2004-06-25 Thread Jan-Benedict Glaw
hat rejects an unknown access? Try "iptables-save" or "ipchains-save" to see if there are any rules installed (pay attention to default action, too!)... MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 "Eine Freie Meinung in einem Frei

Re: Problem in using rsync

2004-06-17 Thread Jan-Benedict Glaw
r than 10min (= 600sec). > Can you help me on this??? I think it's just a performance problem to gather all neded information in 10min. Try setting a higher timeout (like 7200sec = 2h) and have a testdrive. MfG, JBG PS: With 16MB, you'd probably always run into timeout because of consta

Re: Problem in using rsync

2004-06-17 Thread Jan-Benedict Glaw
ce then, we had 2 errors out of 3 backup runs. The error That's quite little RAM for 8 CPUs. SCNR, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf| Gegen Zensur | Gegen Krieg fuer einen Freien Staat vol

Re: protocol version mismatch

2004-05-25 Thread Jan-Benedict Glaw
the file "this_file_should_be_empty" contains *anything*, you'd look at your scripts and comment those outputting commands. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf| Gegen Zensur | Gegen Kri

Re: coder wanted

2004-05-06 Thread Jan-Benedict Glaw
-z is only wise if you've got a slow link in between and fast CPUs. Omit it if you're in LAN with not-that-fast CPUs. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf| Gegen Zensur | Gegen Krieg fuer

Re: rsync 2.6.2 --daemon Problem

2004-05-05 Thread Jan-Benedict Glaw
V6ONLY exists in 2.4.21 upwards, I think that's not a major problem. Hey, these kernels do have known root exploits, so it's time for an update! So if there's a but, don't hide it, but work towards fixing it. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-1

Re: [PATCH] time limit

2004-04-20 Thread Jan-Benedict Glaw
c instance)... MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf| Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | F

Re: How to getting clean list of transferred files

2004-03-26 Thread Jan-Benedict Glaw
he output. Long-term solution is more like patching rsync to use stderr, though... MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf| Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger

Re: start a batch after rsync

2004-01-09 Thread Jan-Benedict Glaw
--many-options-here 2>&1 | grep ' is uptodate$' > /dev/null 2>&1 || ./your_script.sh Of yourse, fi MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf| Gegen Zensur | Gegen Krieg f

Re: rsync not working with ZoneAlarm Pro

2004-01-01 Thread Jan-Benedict Glaw
what you told it to do. Allow 22/tcp to host myweb.com. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf| Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak

Re: minimalist rsync on windows

2003-11-25 Thread Jan-Benedict Glaw
x27;ll happen if you try to connec to a SSH 2 server with a SSH 1 client. Use a newer ssh client (or force it to use protocol 2 if possible). DO NOT install an older ssh server (or accept SSH 1 protocol connections - SSH 1 can easily be captured (see eg. ettercap:-) MfG, JBG -- Jan-Benedic

Re: Does block level replication require local disk access (Blocklev el) or can it work with a network share too

2003-07-23 Thread Jan-Benedict Glaw
On Wed, 2003-07-23 13:20:12 -0700, jw schultz <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > On Wed, Jul 23, 2003 at 10:10:22PM +0200, Jan-Benedict Glaw wrote: > > On Wed, 2003-07-23 14:18:41 +0100, Antony Parkin <[EMAIL PROTECTED]> > > wrote in mess

Re: Does block level replication require local disk access (Blocklev el) or can it work with a network share too

2003-07-23 Thread Jan-Benedict Glaw
hment and notify the sender by reply > e-mail or send a message to [EMAIL PROTECTED] > * Please do *never ever* send something like that to a public mailing list. Thanks, JBG -- Jan-Benedict Glaw [EMAIL PROT

Re: Live DB backups with rsync?

2003-01-14 Thread Jan-Benedict Glaw
- Use a combination of both - some DB servers are IIRC capable of not touching some primary DB files/storage areas for some time but collecting any changes outside MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 "Eine Freie Meinung in

Re: Rsync and ssh with passwordless authentifikation

2002-11-18 Thread Jan-Benedict Glaw
G, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED]. +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf| Gegen Zensur fuer einen Freien Staat voll Freier Bürger" | im Internet! Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/ msg05574/pgp0.pgp Description: PGP signature

Re: Using rsync for backup trashes st_atime

2002-10-24 Thread Jan-Benedict Glaw
On Thu, 2002-10-24 05:06:11 -0700, jw schultz <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > On Thu, Oct 24, 2002 at 01:19:40PM +0200, Jan-Benedict Glaw wrote: > > On Thu, 2002-10-24 04:04:14 -0700, jw schultz <[EMAIL PROTECTED]> > > wrote in message

Re: Using rsync for backup trashes st_atime

2002-10-24 Thread Jan-Benedict Glaw
On Thu, 2002-10-24 04:04:14 -0700, jw schultz <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > On Thu, Oct 24, 2002 at 12:16:26PM +0200, Jan-Benedict Glaw wrote: > > I think '--preserve-server-atime' would be a nice additional feature, > > and I te

Using rsync for backup trashes st_atime

2002-10-24 Thread Jan-Benedict Glaw
7;t yet looked at the source, so there may be already a solution to this problem. If you think this is a nice feature, please give some response... MfG, JBG -- - Eine Freie Meinung in einem Freien Kopf für - einen Freien Staat voll Freier Bürger