I do the following:
The following line syncs the data
0,15,30,45 6-22 * * * /usr/local/bin/file_sync > /tmp/rsync-error 2>&1
The following runs once a day to delete added files
0 5 * * * /usr/local/bin/file_sync_delete > /tmp/rsync-error 2>&1
The next line monitors the sync
Here is what I have been doing with rsync(This is condinced version of
the main script that runs):
#!/usr/local/bin/bash
SSH=/usr/local/bin/ssh
RSYNC=/usr/local/bin/rsync
SED=/usr/bin/sed
USER=vmladmin
ROLLLISTDIR=/home/vmladmin/rolllists/
RO
Wayne Davison wrote:
>
> On Mon, Mar 22, 2004 at 04:49:15PM -0700, Eric Whiting wrote:
> > rsync (2.5.[67]) --delete fails on dirs with the w bit cleared. (example below)
> > Rsync will sync a dir with w bit clear, but will not remove it with --delete.
>
> It's actually debatable what the correct
Thanks Brian. :-)
Tim
*** REPLY SEPARATOR ***
On 3/23/2004 at 1:00 PM Brian Cuttler wrote:
>We always run rsync from a shell script, sometimes we pipe the
>shell script output to mailx or such. I'm sure you can write
>it to a log file but don't recall the syntax off hand.
>
>W
Hi Tim,
That worked. Thanks!!!
BTW, sorry about the automated message from my anti-spam system. I didn't realize
that replies would include an individual subscriber's email. So I quickly created a
separate email address for this list without the spam trap.
Thanks again,
Tim
*** R
We always run rsync from a shell script, sometimes we pipe the
shell script output to mailx or such. I'm sure you can write
it to a log file but don't recall the syntax off hand.
We never run the single command as a cron task, ie never
0 23 * * 1-5 rsync
but do
0 23 * * 1-5 script1.sh
I'm sur
"$rsynccommandline >$logfile 2>&1" is one way - use however many "v"s you
need.
If you want to accumulate the output of several invocations,
"$rsynccommandline >>$logfile 2>&1"
If you really want it in syslog
"$rsynccommandline 2>&1 |logger $facility.$severity", and make sure you
have syslog con
Hello,
I've just spent several hours going over several Google searches trying to find a way
to configure rsync to log into a file named "/var/log/rsync.log". So far, every
instance where I've found someone asking about rsync logging remained unanswered
(which is kind of weird in itself).
As
On Mon, Mar 22, 2004 at 04:49:15PM -0700, Eric Whiting wrote:
> rsync (2.5.[67]) --delete fails on dirs with the w bit cleared. (example below)
> Rsync will sync a dir with w bit clear, but will not remove it with --delete.
It's actually debatable what the correct behavior is in this case.
Using
on my NetWare 6 box when I'm trying to send to win 2000 I get the error
"error in socket io (code 10) at clientserver .c(114)"
any thoughts?
Thanks
Matt Vorwald
Network Engineer
Lumber Specialties
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting
Hi,
i've got few question on rsync with solaris.
We are thinking about sync 2 Sun E250 with rsync.
There are about over 1500 User Mailaccount with about 15 GB. Mailboxes
are in mmdf (almost mbox) format. Does somebody has any experience in
something similar ? How long would take it to sync ? Wou
OK, I didn't think about that.
/Greger
PS
I guess it's irrelevant, but when I tried using find on a pretty large
folder tree on my Win2k system, using "find ." to get all the files was
about twice as fast as using "find . -ctime 24". However, using "find .
-printf "%p %c"" was about 20% slower
I found this very useful for getting around this problem with osX
http://www.bombich.com/mactips/rsync.html
-Jason
-Original Message-
From: Andrzej Filip [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 7:46 AM
To: [EMAIL PROTECTED]
Subject: Re: rsync via ssh script
Tim Nonnast
Tim Nonnast wrote:
does anybody know, how a bash shell script looks, which automatically
enters the ssh password?
the rsync call should be:
rsync -avz -e ssh /home/johndoe/data/repository
[EMAIL PROTECTED]:/home/johndoe/junk
the call causes a password question.
Is ist possible to automate that
14 matches
Mail list logo