[Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
DeltaCopy not working with mapped windows share  XML
Forum Index » DeltaCopy Usage
Author Message
Sarah



Joined: 06/17/2008 21:16:38
Messages: 4
Offline

I am running DeltaCopy on a windows XP pro machine. I am running both client and
server. I have tried both rev 2.6.6 and 2.6.9 of rsync.exe in the program directory.
Everything works fine when I copy to an attached usb drive.

But I am having a problem copying to a mapped shared drive on another computer. The
error in the event log when I try to copy to a drive mapped to Z:\ is:

The following information is part of the event: rsyncd: PID 4380: rsync: chdir /cygdrive/z
failed
: No such file or directory (2).

Thanks to anyone who can help.
Sarah



Joined: 06/17/2008 21:16:38
Messages: 4
Offline

Can anyone help on this issue? Is this a problem with running the client and server
on the same machine?


>I am running DeltaCopy on a windows XP pro machine. I am running both client and
>server.
I have tried both rev 2.6.6 and 2.6.9 of rsync.exe in the program directory.
> Everything works fine when I copy to an attached usb drive.
>
>But I am having a problem copying to a mapped shared drive on another computer.
The
>error in the event log when I try to copy to a drive mapped to Z:\ is:
>
>The following information is part of the event: rsyncd: PID 4380: rsync: chdir /cygdrive/z
>failed
>:
No such file or directory (2).
>
>Thanks to anyone who can help.
Blake



Joined: 06/17/2008 21:17:24
Messages: 4
Offline

I have the exact same issue. I think it is related to the fact that deltacopy server
runs as a seperate user instance. The thing I don't understand is that even when
I tell deltacopy server to run as a user that automatically creates that mapped drives
I need, it still doesn't work. Also, Deltacopy server appears not to be able to use
UNC names (at least when I select a share that generates a UNC name, Deltacopy server
will destroy it).

For example, say I want to have deltacopy server store to "\\Wind1\t". If I select
this, deltacopy server will then show it as "\:\ind1\t" and cannot access it.

The funny thing is that the deltacopy client has no problem with the network shares,
only the server. Again, I suspect this is because it is creating a new user instance
for the server. But I am at a complete loss on how to get my mapped drive to appear
to this new instance that deltacopy server is creating!

>Can anyone help on this issue? Is this a problem with running the client and server
>on
the same machine?
>
>
>>I am running DeltaCopy on a windows XP pro machine. I am running both client and
>>server.
>
I have tried both rev 2.6.6 and 2.6.9 of rsync.exe in the program directory.
>> Everything works fine when I copy to an attached usb drive.
>>
>>But I am having a problem copying to a mapped shared drive on another computer.

>The
>>error in the event log when I try to copy to a drive mapped to Z:\ is:
>>
>>The following information is part of the event: rsyncd: PID 4380: rsync: chdir /cygdrive/z
>>failed
>>:
>No
such file or directory (2).
>>
>>Thanks to anyone who can help.
Anonymous



There is in fact a hack to get it working.

First:
You have to create a cygwin mount to the UNC path of the share you want to use:
- Create a key in HKEY_LOCAL_MACHINE\SOFTWARE\CYGNUS SOLUTIONS\CYGWIN\MOUNTS V2 that is called after the name of the mount you want (/backup for example)
- Populate this key with a string value that is named native that contains the UNC path to the share you want deltacopy to use
- Add a DWORD called Flags to that same key with the value 0x0000000a

Second:
Manually edit the deltacd.conf file that is found in the DeltaBakcup program folder and put the mount path that you have just created in the path variable (ex: /backup)

Third:
Enjoy
Anonymous



I tried this hack and it didn't work. I get the same error @ERROR: chdir failed.

Please help if this hack really works, it will save my you know what!
Anonymous



I am facing the very same problem.

I have created a Samba share on Linux server.
Its mapped on my XP laptop as Z:

RSync between any 2 folders within the XP Laptop works fine.
But when I try to RSync between an XP folder and Z:, it does not work.

Can someone pls help me with this issue ?

Thanks to all in advance.
Anonymous



I was able to do the registry hack/fix to get it to work. THANK YOU. The directions might be a little confusing for non-registry people, so I'll try to clear them up.

-Go to HKEY_LOCAL_MACHINE\SOFTWARE\CYGNUS SOLUTIONS\CYGWIN\MOUNTS V2

-create a new key called /backup (it can really be any name, like /whatever)

-In the new key/sub folder, right click and create a new string named "native" without the quotes.

-Double click on the new string, and change the Value Data to the share path. (I have it working via IP, so it was \\192.168.1.100\whatever)

-Create a new DWORD called Flags

-Double click on flag, and change the value data to "a" without quotes (hexidecimal), so it looks like 0x0000000a in the registry editor.

Hope this clears things up. You aren't technically using a mapped drive, and I don't know if you can. You are using the fully qualified share name.
Anonymous



Worked great for me! Thanks a bunch!
LaurentN



Joined: 07/09/2009 07:48:27
Messages: 7
Location: France
Offline

I experienced another issue - Windows bypass.

For CLIENT part, if you want to backup "Z:" ressouce - mapped to a network ressource, you can use SUBST in a DOS COMMAND.
SUBST X: Z:\
RSYNC command
SUBST X: /D
Then X: is a local drive, and you trick DeltaCopy client.



For SERVER part, if you want to store files onto network ressource, you must run a DOS COMMAND as the DeltaCopy Service Account (or log as this account)
REM this is to reconnect future connexions
NET USE /PERSISTENT:yes

REM this is to map my drive to Z:
NET USE Z: \\mysserver\my ressource

REM this is the subst...
SUBST X: Z:\

BE CAREFULL: SUBST X: -> Z: will work event if Z: is mapped to another drive............
If your server is a dedicated one, it can be a solution, otherwise -> forget


allowishes



Joined: 02/11/2010 11:38:26
Messages: 2
Offline

Thank you...thank you...thank you!

We are using Delta Copy to back up to a D-Link DNS-323. We mapped a drive to the device but as all of you know DC/rsync was not working. After this reg hack it worked perfectly. One thing though...I had to restart the DC service after making the other changes.

Thanks again!!!!
gontom



Joined: 07/07/2010 19:47:18
Messages: 2
Offline

This may be the solution I'm looking for too, but could someone explain a little more about how to edit the deltacd.conf file? I'm not sure I understand exactly what I'm supposed to do there. None of my attempts have fixed the problem, and I'm hoping it's because I'm not doing the file editing step correctly.

Thank you.
allowishes



Joined: 02/11/2010 11:38:26
Messages: 2
Offline

Here is the file before you edit:

use chroot = false
strict modes = false


[Backup]

path = /cygdrive/c/Backup
comment = Backup Drive
read only = false




just change the path = /cygdrive/c/Backup

to

path = /backup


 
Forum Index » DeltaCopy Usage
Go to:   

This website is owned and maintained by Synametics Technologies Inc. For questions contact support@synametrics.com

Support | Privacy Policy | Company Info