[Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
DeltaCopy and Cyqwin 1.7: Long directory paths and file names with international characters  XML
Forum Index » DeltaCopy Usage
Author Message
cactus



Joined: 01/15/2010 11:12:49
Messages: 2
Offline

Copy these file from the Cygwin 1.7 distribution (folder bin) to the DeltaCopy folder:

chmod.exe
cygcrypto-0.9.8.dll
cyggcc_s-1.dll
cygiconv-2.dll
cygintl-8.dll
cygpopt-0.dll
cygwin1.dll
cygz.dll
rsync.exe
ssh.exe

and DeltaCopy will support long directory paths and file names with international characters.

But how do you mount drives with Cygwin 1.7?
Now you specify mounts in the file fstab in folder etc (_not_ in the Registry as previously).
It is explained here in detail:

http://cygwin.com/cygwin-ug-net/using.html#mount-table

but I can't get it to work. I've created a the folder etc as a subfolder to the DeltaCopy folder.
I've also tested with the windows\system32\drivers\etc folder but negative.

The setting used is like this where BackupOne is the share name of a shared folder on the remote machine:

//192.168.10.210/BackupOne /backupshare smbfs binary,noacl 0 0

Any ideas?

/gustav
ediaz



Joined: 02/08/2010 04:20:47
Messages: 10
Offline

you can use the UTF-8 version of cygwin for solve this only replace the dll y deltacopy directory.

http://www.okisoft.co.jp/esc/utf8-cygwin/

regards!!
cactus



Joined: 01/15/2010 11:12:49
Messages: 2
Offline

No, that is for the old version 1.5 of Cygwin and does not allow for long directory paths.
ediaz



Joined: 02/08/2010 04:20:47
Messages: 10
Offline

Yes but solve the problem with the international characters.
BobMarley



Joined: 03/06/2010 17:47:43
Messages: 2
Offline

Don't use that Japanese cygwin1.dll with DeltaCopy, it'll corrupt your files. At least, that's what happens on my Winblowz XP computer when rsyncing with DeltaCopy.

Download the latest 1.7.1 Cygwin, extract the cygwin1.dll from it and replace the one which comes with the DeltaCopy package. I don't know if it'll support
a long directory path but it does support copying filenames containing Unicode / UTF8.
BobMarley



Joined: 03/06/2010 17:47:43
Messages: 2
Offline

Just tested long path. To get it to work download the latest versions of dll's and rsync, ssh and chmod exe's from cygwin to replace the ones which were supplied with DeltaCopy. They ones in the DeltaCopy distribution are too old and don't support either Unicode or Long Directory Path.

You'll also need to download the libgcc1-4.3.4-3.tar.bz2 and extract the cyggcc_s-1.dll and copy this to your DeltaCopyRaw directory.

Unicode filename copying now works.
Long directory path copying now works.
acidrop



Joined: 04/20/2010 02:58:25
Messages: 5
Offline

Hello!

I just tried copying dll files from Cygwin 1.7.5 also rsync.exe and ssh.exe.
Each time i try to synch i get the following error:

Error starting client-server protocol
Rsync.exe returned an error. Will try again. This is retry number 1 of 5

Executing: rsync.exe -v -rlt -z --chmod=a=rw,Da+x --delete "/cygdrive/C/Users/" "172.21.3.2::skata/Users/"
@ERROR: invalid uid nobody

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) [sender=3.0.7]

Do you have any ideas why this happens?
I need to have UTF-8 and Long file name support with deltacopy or if there is any alternative please suggest one.

Thank you
Iznogoud



Joined: 04/21/2010 10:05:53
Messages: 1
Offline

Hello,

I have the same problem (@ERROR: invalid uid nobody) with last version of cygwin/rsync (3.0.7).
I do not have the problem with a older version (3.0.x).

I solve the problem by adding the 2 lines to the rsyncd.conf :
uid = 0
gid = 0

Use 0 (zero), not "root".
With "uid = root", same problem : @ERROR: invalid uid root

Best regards.

This message was edited 1 time. Last update was at 04/21/2010 10:17:57

acidrop



Joined: 04/20/2010 02:58:25
Messages: 5
Offline

Hello and thank you for the answer.
Where is rsyncd.conf located? It isn't inside deltacopy folder..should i create it?
acidrop



Joined: 04/20/2010 02:58:25
Messages: 5
Offline

Ok i found it! You meant deltacd.conf file not rsyncd.conf
Thank you very much!
acidrop



Joined: 04/20/2010 02:58:25
Messages: 5
Offline

Hello again

I have managed to to sync successfully 2 servers in 2 different locations via VPN and ADSL line.
What i am doing is from location A sharing a folder which contains subfolders and files and transfer them to location B to a local folder.
I've updated cygwin version so now it can support UTF-8 and long file name support.
The only problem is with the permissions.
When a user creates a folder or file on location A it is transfered on location B but the user on location B cannot open the folder because
of permissions problem.
So i have each time a new folder or file is created from location A and transfered on location B, to change its permission so the user can open it.
I tried to use CACLS command making a script which will automatically correct the folder/file permissions and scheduled to run every 10 minutes but it is resource hungry because it tries to change permissions on each singe file/folder and it rebooted the server 3 times when
this runs.So i need another solution so permissions will be propagated correctly.Basically i don't need something special just Everyone group to have read/write access to folder files.
On deltacopy client i have checked the box "change permissions read/write on server".
Also i have put CYGWIN=nontsec system variable but no joy.
Any ideas?

Thank you
acidrop



Joined: 04/20/2010 02:58:25
Messages: 5
Offline

Hello

I managed to fix permissions problem following this article:

http://forum.qnap.com/viewtopic.php?f=22&t=20038

Basically moving deltacopy contents in /bin folder and creating fstab entrly under /etc.
jijej



Joined: 06/28/2010 12:38:51
Messages: 1
Offline

Thank you Iznogoud



i solve my problem ==>

adding the 2 lines to the rsyncd.conf :
uid = 0
gid = 0

ediaz



Joined: 02/08/2010 04:20:47
Messages: 10
Offline

Hi to all I make a copy of all files to run in Deltacopy in cywqin 1.7 long and international Characters in here..

http://www.pk25.com/temp/DeltaCopyFiles_cygwin1.7.7z

incluided a deltacd.conf to run ok.

is the last version 1.7.5

Regards!!
elbek



Joined: 12/01/2010 18:03:16
Messages: 3
Offline

Hi people, thanks to all by help other people like me.

I need a DeltaCopy Client working with international characters like ñ or ´ so im using last DeltacopyRaw version with last Cygwin files but no way

What i did was:

Download and install last cygwin and then replace chmod.exe, cygcrypto-0.9.8.dll, cyggcc_s-1.dll, cygiconv-2.dll, cygintl-8.dll, cygpopt-0.dll, cygwin1.dll, cygz.dll, rsync.exe, ssh.exe
in my DeltacopyRaw version 1.4 folder.

After some configuration the first try give me errors about No file o directory for SSH.exe and some missing file called cygssp-0.dll. It was another cygwin file, download it and copy to Deltacopy folder.

Second try give me again same error for ssh.exe so include ./ before ssh string in DeltaCopy Parameters: -e "./ssh -l myuser -i mysshkey"

Third try says me that "known_hosts" file cant be created in "/home/user/.ssh" but why? Im in MSwindows. I had to create and copy the "known_hosts" file to DeltaCopyRaw folder and add another command in DeltaCopy Parameters: -e "./ssh -l myuser -i mysshkey -o UserKnownHostsFile=known_hosts"

Finally it works but here come worst part. Using last Deltacopy and Cygwin files doesnt work fine with international characteres.

Finally reading in FreeNAS forums find a package: http://www.freenaskb.info/download/DeltaCopy/DeltaCopyRaw_repack_3.05.zip

Download, test and incredibly this "Repack" works perfectly with international characters even better than lastest versions. Only problem for this repack is that use DeltaCopy 1.3 without some features.

Somebody could tell me why it works better and what should i do???

Thanks to all.
 
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