This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Where is my --password-file?


At 07:35 AM 12/14/2005, you wrote:
jd wrote:
> I am trying to back up a Windows box using rsync and I get this error
> message:
>
> rsync: link_stat
> "/home/Administrator/password-file=/home/Administrator/rsync_passwd"
> failed: No such file or directory (2)
>
> But the file is there:
>
> $ ls -al /home/Administrator/rsync_passwd
> -rw-r--r--  1 Administrator Domain Users 10 Dec 12 16:02
> /home/Administrator/rsync_passwd
>
> What am I missing?
>
> Janos Dohanics

  The fact that it's not looking for a file called
    "/home/Administrator/rsync_passwd"
but one called
    "/home/Administrator/password-file=/home/Administrator/rsync_passwd"
which probably doesn't exist.....

Perhaps you have a mistake in the command line you're using? Perhaps you've
typed "~password-file=XXXX" when you meant to say "--password-file=XXXX"?
Yep, that's probably it. You typed a tilde instead of a dash and it's being
expanded to your home dir path.


    cheers,
      DaveK
--

Dave,


actually, this is the command I have used:

rsync -avz "/cygdrive/e/Company" password-file="/home/Administrator/rsync_passwd" --delete --delete-excluded --exclude "Office2003/" --exclude "Office2003SP/" server1@192.168.30.17::winbackups/ > /home/Administrator/rsync_server1.log

Janos Dohanics

Attachment: cygcheck.out.txt
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]