On Sat, Mar 10, 2007 at 08:43:01PM +0100, Konrad Karl wrote:
| please consider the following scenario:
| (and pleast forgive if I have not googled enough but I was unsuccessful to
| find an app what exactly does what I want)
|
| machine A (office) is, where most file changes/downloads etc happen.
On Thu, Mar 08, 2007 at 01:34:03PM -0800, Sriram Ramkrishna wrote:
| OK, I wasn't aware that you couldn't hardlink a directory to another
| directory.
You're not supposed to be able to. But some systems allow it in a
restricted manner just for very special issues such as recovery of
an otherwise
py to site 4
--
|---/------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / [EMAIL PROTECTED] |
|/-|
--
To unsubscribe or change options: https://lists.samba.org/mail
-print". Note that
all file types can have hard links, even symlinks. Do exclude directories
as those will have many links for other reasons (e.g. 1 for self reference,
1 for being inside a directory and 1 each for each subdirectory within).
--
|-------/
urce being a file, though if I could get device content to device
contnt to work I guess I could fake this with the loopback device.
Any ideas?
--
|---/------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address b
source and destination could recurse
their respective trees in sync with each other and copy, create, delete,
as things go through that parallel recursion.
--
-----
| Phil Howard KA9WGN | http://linuxhomepage.com/
nations. One problem is, there are no messages to explain why
some file is, or is not, matched, so it is very hard to figure this out.
I suspect I still don't really grasp the whole picture of how this works.
It's certainly not the way I would have designed it.
--
-
e man page just didn't really give me the correct understanding of how
this works. Maybe someone can try explaining in another way.
--
-
| Phil Howard KA9WGN | http://linuxh
t)
--create-fail-action=mkdir
--create-fail-action=abort
or some such?
--
-----
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
's what I used to do
before rsync.
--
---------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org
nized) networks, though, this could still be a
major time savings, as well as traffic savings. But it clearly would have
to have a special option to enable it.
Has anything like this been considered before?
--
-----
| Phi
On Sun, Mar 28, 2004 at 07:16:26PM -0600, John Van Essen wrote:
| On Fri, 26 Mar 2004, Phil Howard <[EMAIL PROTECTED]> wrote:
| >
| > So I have on my server a big file tree. I want to use rsync to download
| > only the PDF files, which make up a small portion of that tree. So I
n rsync do this by itself? Is there a way to tell rsync "only download
this particular extension"? How SHOULD I have done this?
I generally understand things best by knowing what sequence of steps is
performed. I thought I understood this for rsync based on what the man
page said.
eld for it.
--
-----
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-
--
To unsubscribe or change options: http://lists
r a headless
virtual console, where I can spy on the current running any time I want.
Adding the ability to have a script extract that info, while still being
able to see normal stdout and stderr output, would be good.
--
-----
On Sat, Jan 03, 2004 at 01:00:09PM -0800, Wayne Davison wrote:
| On Sat, Jan 03, 2004 at 02:11:04AM -0600, Phil Howard wrote:
| > After doing a fresh extraction of the source for 2.6.0, I execute
| > ./configure and it enters a loop with no output before or during.
|
| What shell are you
?
--
-
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org
to cleanly avoid that, but bind mounts are reasonably clean even if
they do clutter /etc/mtab a bit. Since I'm doing this on Linux, this
is an option. I'm not sure what my options will be on other systems
if/when I need to run those.
--
-------
not the one mounted within (in
that run, anyway). I do not see such an option in man rsyncd.conf.
Is there an undocumented one available?
--
-
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED
ication validation). Any thoughts on this?
--
---------
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://ka9wgn.ham.org/|
---
. stat() succeeds). But
if stat() fails, even though lstat() would succeed, the symlink is not
copied.
--
-
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org
c
root@hadar:/root 23> ls -l /usr/sbin/rsyncd
-rwxr-xr-x1 root root 548639 Jun 22 03:47 /usr/sbin/rsyncd
root@hadar:/root 24> cmp /usr/bin/rsync /usr/sbin/rsyncd
root@hadar:/root 25> strings strings
===
can potentiall break established things not expecting this.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA |
ould work
over any transparent stream transport without having to know what that
transport is once it is established. Much of the use I make of rsync is
not over ssh.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.c
to see it go away even if none of those are ever
adopted (it's too useful the way it is).
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
--exclude' '/testing/**' \
'--exclude' '/uemacs/**' \
'--exclude' '/v1.0/**' \
'--exclude' '/v1.1/**' \
'--exclude' '/v1.2/**' \
mething cleaner
that already does it right, if possible.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http:
ugh unless it was some bug from an older version
that is now fixed.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
tory openssl-0.9.6b/work/openssl-0.9.6b
deleting directory openssl-0.9.6b/work
wrote 34720 bytes read 20 bytes 4087.06 bytes/sec
total size is 85523954 speedup is 2461.83
root@pollux:/home/root/src 158>
=====
--
---
exist at the source.
It would have been helpful if the --delete documentation made a
reference to --force.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
On Mon, Jan 28, 2002 at 11:14:59AM +, pod wrote:
| >>>>> "PH" == Phil Howard <[EMAIL PROTECTED]> writes:
|
| PH> This problem has persisted for as long as I've used rsync. When
| PH> the --delete option is used, not all files are deleted f
directory there.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
On Sat, Jan 26, 2002 at 05:40:36PM +0100, Peter Breitenlohner wrote:
| 2. I just fetched rsync-2.5.2 but the build (on i686-linux) badly fails.
| The complete log from configure and make is attached.
...
| gcc -I. -I../rsync-2.5.2 -O2 -DHAVE_CONFIG_H -Wall -W -c ../rsync-2.5.2/rsync.c -o
|rsyn
sting that it be the default option, so it would nt impact anyone
unless they wanted it to.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
of the language here, yet :-)
--
---------
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
ption gets around this on "ln -s".
I'll do some tests with training "/" instead of "/." to see if that works
for me now with 2.5.0. It may have been a bug in an older version. If I
get any unexpected results with 2.5.0 I'll report back with those.
Consi
et retransferred even though most every file already exists
somewhere on the destination.
--
---------
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
On Sun, Dec 02, 2001 at 03:10:13PM +1100, Martin Pool wrote:
| On 1 Dec 2001, Phil Howard <[EMAIL PROTECTED]> wrote:
| > There does not seem to be an option in configure to get rsync 2.5.0
| > to link libz as a shared library. Is there any way to do this?
|
| rsync uses a modifie
There does not seem to be an option in configure to get rsync 2.5.0
to link libz as a shared library. Is there any way to do this?
--
-
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas
ps a trailing "/" instead of training "/." is supposed to work. I do
not remember why I didn't start using it, but I am sure I would have tried
it, so maybe I encountered that problem. But "/." on the end works for me
and is what I have been using in all my
ng others
to do so. So far it looks like there is nothing like that.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
ither anonymous or authenticated, but without granting any SSH
access to anyone (e.g. the rsync "users" won't be in the /etc/passwd
user space).
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/
ce it is more of a syncronization kind of
thing anyway.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
this
gets cut into stone.
ACLs that are extra files are trivial to do between like machines.
ACLs that are metadata are not trivial even on like machines. It
gets to be a mess out there when implementations preceed standards.
--
lso as far as I can tell, the transfer appears to
> work... but this seems like something that might be serious.
Is this via RSH/SSH or the rsyncd port? This could be related to #1.
--
-
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
Dave Dykstra wrote:
> You shouldn't have to have it be in the foreground in order for strace -f
You're right, I was not aware of that option. And I thought I
knew my way around strace.
Here's what strace shows me:
[pid 14576] open("/tmp/rsyncd.lock", O_RDWR|O_CREAT|0x8000, 0600) = 4
[pid 1457
ync in daemon mode AND leave it
in the foreground so I can run it via strace and maybe see if the
syscall is being done right.
--
-
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
se it).
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
it up.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
s (assuming you are running rsync
> > on the
> > receiving end):
> >
> > for dir in $root/$dir; do
> >if [ -d $dir ]; then
> > rsync -a from:$root/$dir/ $root/$dir
> >fi
> >
> > rsync -a from:$root/ $root
> >
> >
> > hope that helps,
> >
> > John
> >
> >
> >
> >
> >
>
>
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year! http://personal.mail.yahoo.com/
>
--
-
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
aning I am going to have to manually handle
this about 2 or 3 times a week. It should be an automated thing
that just does the right thing itself.
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTE
speedup is 2086.90
=
--
-----
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
s back, like:
while ! rsync ; do echo "oops, let's try that again"; done
--
-
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
through ssh?
--
-
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
t option and it had no effect, not even on
the usual download syncronizing over a dialup that I do. I could
not get it to pace the rate below the dialup speed no matter what
I would specify.
--
-----
| Phil Howard - KA9WGN | Dalla
from one directory
to another, rsync would detect a new file with the same checksum as an
existing (potentially to be deleted) file, and copy, move, or link, as
appropriate. In theory this should apply to anything anywhere in the
whole file tree being processed.
--
--
help for you to run some
> straces.
I would have presumed since there was a daemon process running
(as opposed to running from inetd) that the daemon itself could
simply track the connection count.
One possibility here is that I do have /var/run symlinked to /ram/run
which is on a ramdisk. So the lock file is there. The file is there
but it is empty. Should it have data in it? BTW, it was in ramdisk
in 2.4.4 and this max connections problem did not exist, so if there
is a ramdisk sensitivity, it's new since 2.4.4.
--
-
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/ |
-
td).
So it seems like it counts clients wrong. But I can't get more
that 1 right after restarting the server, so it's a little more
than that somewhere.
===
--
---
58 matches
Mail list logo