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
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
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
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
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
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
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
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
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
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
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]
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
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
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
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
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
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
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
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 :
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
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
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:
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
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:
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
--
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
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
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
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 |
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
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]. +
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|
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
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
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
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
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].
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
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
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
" 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
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
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
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
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
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
-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
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
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
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
--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
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
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
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
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
- 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
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
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
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
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
60 matches
Mail list logo