rsync and cygwin paths

2003-06-04 Thread Lapo Luchini
(cc to [EMAIL PROTECTED] so that people that knows ebtter what i'm talking about can eventually correct me) jw schultz wrote: Perhaps that is the document he needs. If not could you cygwinese, cygwinites, cygwinists, cygwinim or whatever point him to one that will clear up the slash/backslash is

Re: [rsync] Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
I, too, tried it after it was mentioned and it worked for me as well. I think this is going to be my solution. I haven't got everything working yet, but will try to finish it up later today. I was able to successfully build a good file list from a regular CMD prompt, so I called it a night. :-)

Re: [rsync] Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
I, too, tried it after it was mentioned and it worked for me as well. I think this is going to be my solution. I haven't got everything working yet, but will try to finish it up later today. I was able to successfully build a good file list from a regular CMD prompt, so I called it a night. :-)

Re: rsync for migrating oracle datafiles

2003-06-04 Thread jw schultz
On Wed, Jun 04, 2003 at 11:45:15PM +1200, Mark Edwards wrote: > Hi - a question for all ye rsync guru's out there... > > I have a need to migrate some fairly large Oracle > datafiles from a UFS filesystem to VxFS (VERITAS), however > I am not being allowed nearly enough outage time to > perform a

rsync for migrating oracle datafiles

2003-06-04 Thread Mark Edwards
Hi - a question for all ye rsync guru's out there... I have a need to migrate some fairly large Oracle datafiles from a UFS filesystem to VxFS (VERITAS), however I am not being allowed nearly enough outage time to perform a standard file copy migration. The datafiles (of which there are about 4

rsync off file list

2003-06-04 Thread --
.:. hello! i'm wondering if anyone has a cron script or something that backs up files off a list. i've included such a list in this e-mail. it is to mirror the directory structure with a dir named after its hostname as the root directory. then perhaps

[patch] exclude patterns documentation

2003-06-04 Thread jw schultz
I just reviewed the EXCLUDE PATTERNS section of the manpage and found that the declarative portion never actually states that only the part of the path that is relative destination is compared. I'm not quite satisfied with my text on this so if anyone has a better way of stating it i'm open to sug

[rfc idle thought] exclude pattern left anchor

2003-06-04 Thread jw schultz
A thought has been nagging me for a bit now so i'll run it up the flagpole and see if anyone salutes. There seems to be quite a bit of confusion regarding the use of the leading slash as a top of tree anchor for exclude patterns. The manpage seems clear enough to me but somehow it doesn't seem to

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread jw schultz
On Wed, Jun 04, 2003 at 10:50:18AM +0200, Lapo Luchini wrote: > Bert wrote: > > >While I don't know the cygwin architecture details, it looks like the > >/cygdrive functionality is a part of cygwin.dll and can be used > >without a parent bash shell. > > It is part of it's POSIX-layerness, inde

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Lapo Luchini
Bert wrote: While I don't know the cygwin architecture details, it looks like the /cygdrive functionality is a part of cygwin.dll and can be used without a parent bash shell. It is part of it's POSIX-layerness, indeed, and it's storen in the registry, so it needs no "startup script" to set it

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Bert
Michael, While I frequently run scheduled bash shell scripts via a bash.bat file as you describe, I don't think it is necessary here... I think Trey can run rsync.exe directly if he really wants to. I tested running 'ls /cygdrive' from within a cmd.exe dos prompt and it worked... Microsoft Wi

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Michael Hipp
Trey Nolen wrote: But can you do that if you are not running it from the Cygwin prompt? I didn't do that because we were starting it with the scheduler. Will that still work? Yes. Write a small 'myjob.bat' file with something like this in it: @echo off C: chdir C:\cygwin\bin bash --logi

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
> I think that a key part of the answer is to use /cygdrive/c instead of / or > \ to identify c:\ in a cygwin environment. > But can you do that if you are not running it from the Cygwin prompt? I didn't do that because we were starting it with the scheduler. Will that still work? Trey Nolen

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Bert
I think that a key part of the answer is to use /cygdrive/c instead of / or \ to identify c:\ in a cygwin environment. HTH, Bert -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: rsync and cygwin

2003-06-04 Thread jw schultz
Since i don't use windows or cygwin i don't know what clue you are missing. I'll have to bow out on this one. -- J.W. SchultzPegasystems Technologies email address: [EMAIL PROTECTED]

Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
That is with a - /* at the end of the excludes file (I was trying to exclude everything else). But, when that is removed, it matches everything under the cygwin directory (again matching cygwin's root as / ) and doesn't see the rest of our data. Trey Nolen > OK, sorry about that. When I do th

Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
OK, sorry about that. When I do that, I get: building file list ... excluding directory / because of pattern /* done total: matches=0 tag_hits=0 false_alarms=0 data=0 Trey Nolen - Original Message - From: "jw schultz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 20

Re: rsync and cygwin

2003-06-04 Thread jw schultz
On Tue, Jun 03, 2003 at 06:34:42PM -0500, Trey Nolen wrote: > If we do that, it backs up the cygwin directory (c:\cygwin being the root of > the cygwin install) and not the root of c: (i.e. C:\ ). I was refering to the exclude list, not the command line. In any case -vv will show you what patterns

Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
If we do that, it backs up the cygwin directory (c:\cygwin being the root of the cygwin install) and not the root of c: (i.e. C:\ ). Trey Nolen - Original Message - From: "jw schultz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 6:13 PM Subject: Re: rsync and c

Re: rsync and cygwin

2003-06-04 Thread jw schultz
Try using slash instead of backslash. On Tue, Jun 03, 2003 at 06:04:50PM -0500, Trey Nolen wrote: > Hi, I'm having some trouble using rsync on W2K under Cygwin. We are using it > to back up the W2K machine to a Linux machine. We are using the patched > version of rsync 2.5.6 that allows it to run

rsync and cygwin

2003-06-04 Thread Trey Nolen
Hi, I'm having some trouble using rsync on W2K under Cygwin. We are using it to back up the W2K machine to a Linux machine. We are using the patched version of rsync 2.5.6 that allows it to run faster on NT/2K when calculating the changes. We can backup a directory without a problem, but in this

Re: rsync not overwriting files on destination

2003-06-04 Thread jw schultz
On Tue, Jun 03, 2003 at 02:13:48PM -0700, Eric Chen wrote: > Hi, > > I am rsyncing from my source server A to a destination server B. > A/vol1 contains two files syslog.txt and syslog.bak > B/vol1 contains five files syslog.txt, syslog.bak, initlog.txt, > internal.txt, and internal.bak. > > I wan

rsync not overwriting files on destination

2003-06-04 Thread Eric Chen
Hi, I am rsyncing from my source server A to a destination server B. A/vol1 contains two files syslog.txt and syslog.bak B/vol1 contains five files syslog.txt, syslog.bak, initlog.txt, internal.txt, and internal.bak. I want to preserve the 5 files on B/vol1 when I do rsync from A to B. Here is t

Re: rsync not overwriting files on destination

2003-06-04 Thread jw schultz
Please start a new thread. On Tue, Jun 03, 2003 at 12:46:04PM -0700, Eric Chen wrote: > Hi, > > I am rsyncing from my source server A to a destination server B. > A/vol1 contains two files syslog.txt and syslog.bak > B/vol1 contains five files syslog.txt, syslog.bak, initlog.txt, > internal.txt,

rsync not overwriting files on destination

2003-06-04 Thread Eric Chen
Hi, I am rsyncing from my source server A to a destination server B. A/vol1 contains two files syslog.txt and syslog.bak B/vol1 contains five files syslog.txt, syslog.bak, initlog.txt, internal.txt, and internal.bak. I want to preserve the 5 files on B/vol1 when I do rsync from A to B. Here is t