You need to use /cygdrive/c wherever you have c:\.

Your bank should probably be done differently, say, you use a
pre-script that uses "net .." to map 10.5.1.5 to a local disk, say
f:\\ and then your bank line reads:
/cygdrive/f/...

That should fix all these issues. Unix thinks of \ (backslash) as
something else, not the same as how Windows sees it. In short, always
use forward slashes.

On Tue, Sep 28, 2010 at 4:05 PM, Daniel Lacey <[email protected]> wrote:
> Looking for some help. Thanks in advance!
>
> I installed hardbackup and cwrsyncserver on a windows 2003 server (SP 2).
> IP is 10.5.1.16
>
> I want to backup this server to a NAS.
> IP is 10.5.1.5
>
> On the client, I have default.conf and master.conf configured as follows
> (without comments...)
> default.conf:
>
> client: 10.5.1.16
> tree: :C:\WINDOWS\system32\LogFiles
>
>
> master.conf
>
> bank:
>     \\10.5.1.5\DirvishBackups\CLS
>
> image-default: %Y%m%d
> log: gzip
> index: gzip
> expire-default: +30 days
> Runall:
>     Dallas
>
> The dirvish command prompt looks like:
>
> C:\Program Files\hardBackup>dirvish --vault Dallas --init
> dirvish error: branch \\10.5.1.5\DirvishBackups\CLS/Dallas:default image
> 20100928 failed
>
> ON the NAS, the log files show:
> summary file
> client: 10.5.1.16
> tree: :C:\WINDOWS\system32\LogFiles
> rsh: ssh
> Server: callrouter1
> Bank: \\10.5.1.5\DirvishBackups\CLS
> vault: Dallas
> branch: default
> Image: 20100928
> Reference: default
> Image-now: 2010-09-28 12:50:54
> Expire: +30 days == 2010-10-28 12:50:54
> SET permissions devices init numeric-ids stats
> UNSET checksum sparse whole-file xdev zxfer
>
>
> ACTION: "C:/Program Files/hardBackup/rsync" -vrltH --delete -pgo --stats -D
> --numeric-ids "10.5.1.16::C:/WINDOWS/system32/LogFiles/"
> "/cygdrive/c/10.5.1.5/DirvishBackups/CLS/Dallas/20100928/tree"
> Backup-begin: 2010-09-28 12:50:54
> Backup-complete: 2010-09-28 12:51:03
> Status:  (1280) --
>
> rsync_error file
>
>
> *** Execution cycle 0 ***
>
> cygwin warning:
>   MS-DOS style path detected: C:\Program Files\hardBackup\hardbackup.key
>   Preferred POSIX equivalent is: /hardBackup/hardbackup.key
>   CYGWIN environment variable option "nodosfilewarning" turns off this
> warning.
>   Consult the user's guide for more details about POSIX paths:
>     http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
> ssh: Could not resolve hostname 10.5.1.16:: hostname nor servname provided,
> or not known
> @ERROR: Unknown module 'C:'
> rsync error: error starting client-server protocol (code 5) at
> /home/lapo/packaging/rsync-3.0.7-1/src/rsync-3.0.7/main.c(1506)
> [Receiver=3.0.7]
>
> log file
>
> ACTION: "C:/Program Files/hardBackup/rsync" -vrltH --delete -pgo --stats -D
> --numeric-ids "10.5.1.16::C:/WINDOWS/system32/LogFiles/"
> "/cygdrive/c/10.5.1.5/DirvishBackups/CLS/Dallas/20100928/tree"
>
> Tunnel: ssh
> Command to run: "C:/Program Files/hardBackup/rsync" -vrltH --delete -pgo
> --stats -D --numeric-ids "10.5.1.16::C:/WINDOWS/system32/LogFiles/"
> "/cygdrive/c/10.5.1.5/DirvishBackups/CLS/Dallas/20100928/tree"
> Tunnel command: ssh -i "C:\Program Files\hardBackup\hardbackup.key" -L
> 9119:127.0.0.1:873 [email protected]: -T -N
> Establishing secure channel ...
> Exitcode is 5.
> Terminating secure channel ...
> RackStation> exit
> Connection to 10.5.1.5 closed.
>
>
>
>
>
>
>
> --
>
> |-------------------------------------------------------------------
> | Dan Lacey [email protected]
> | PGP Key: 0xFE94668F @ http://pgp.mit.edu or http://keyserver.pgp.com
> | PGP Key fingerprint: 8A97 2996 266D A21C 0277 54EF 40D5 2B80 FE94 668F
> |-------------------------------------------------------------------
>
> _______________________________________________
> Dirvish mailing list
> [email protected]
> http://www.dirvish.org/mailman/listinfo/dirvish
>
>



-- 
----)(-----
Luis Mondesi
Maestro Debiano

----- START ENCRYPTED BLOCK (Triple-ROT13) ------
Gur Hohagh [Yvahk] qvfgevohgvba oevatf gur fcvevg bs Hohagh gb gur
fbsgjner jbeyq.
----- END ENCRYPTED BLOCK (Triple-ROT13) ------
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to