This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

rsync win 2003 to nas4free

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
meldrone
Starter
Starter
Posts: 21
Joined: 28 Nov 2013 07:37
Status: Offline

rsync win 2003 to nas4free

Post by meldrone »

Traduction with google sorry for bad english
Hello,

failing to find my happiness on the net, as part of the solution or workarounds I try my luck once more since I found a solution.
I try to make a backup of a server to a win server 2003 9.1.0.1 nas4free through DeltaCopy .
copying takes place too bad if it is not certain that his character replaced by _ ( _ becomes ç example )
Then I do another backup since my nas4free to another server 2003 backup to tape and then the characters are correct.

The problem is that this is a recovery site and the nas4free replace the first 2003 server cited as old and out of warranty , and users begin to household above .
On nas4free when I look at this file I have special characters in place of _ ( diamonds ) when I look direct on the server.
When I look through file explorer tool on the web page they are white that appear.
and the last time I wanted to update the files by removing those that were deleted on the source server I had a nice crash. The server stops responding I rebooted and then nothing. my disk software raid had disappeared and repairing tools via the web interface I found myself with lots of files in a folder " lost + restore" . forced to start from scratch for my replications.

All that to say , how to make rsync correctly retrieves the character set and make me more of _ or diamonds ?

currently in CIFS options / SMB I have this:
Dos charset : CP437 ( U.S. Latin )
Unix charset : UTF-8

Thank you by advance for any leads to follow and lost time to read me ^ ^

meldrone
Starter
Starter
Posts: 21
Joined: 28 Nov 2013 07:37
Status: Offline

Re: rsync win 2003 to nas4free

Post by meldrone »

I found a way around the problem by iso-8859-1 instead of UTF-8 at the samba for the linux part.
locally on the machine that does not solve the problem (always special characters) but at least users will not be disturbed

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: rsync win 2003 to nas4free

Post by chrisf4lc0n »

Could you possibly post a short guide on how to setup a DeltaCopy in Windows environment. I mean both sides client and server...
I am trying to setup a sync between my main PC (client) and the N4F (server) but until now I could not get it working...
That would be much appreciated, thanks Chris.
Watercooling is just the beginning ;)

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: rsync win 2003 to nas4free

Post by raulfg3 »

chrisf4lc0n wrote:I am trying to setup a sync between my main PC (client) and the N4F (server) but until now I could not get it working
I use FreeFilesync to sync Video folder by hand ( only a few files are update a week so is usefull for me ), and no need to configure any special, only have a Video folder share in SMB in N4F, and a folder named Video on my PC.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: rsync win 2003 to nas4free

Post by chrisf4lc0n »

raulfg3 wrote:I use FreeFilesync to sync Video folder by hand ( only a few files are update a week so is usefull for me ), and no need to configure any special, only have a Video folder share in SMB in N4F, and a folder named Video on my PC.
I tried it, but it was not what I wanted, I would much prefer a real-time sync (maximum 5 minutes delay), which can be provided by the rsync. I will have a small brainstorm this evening when I come back from work and obviously post a little guide if I succeed.
There are 2 main reasons why I would need nearly a real-time sync:
1. Safety of my data, especially my designs.
2. The accessibility.
Watercooling is just the beginning ;)

meldrone
Starter
Starter
Posts: 21
Joined: 28 Nov 2013 07:37
Status: Offline

Re: rsync win 2003 to nas4free

Post by meldrone »

hi,
for the guide, see this link :
http://www.thegeekstuff.com/2012/05/rsy ... deltacopy/
you need only the server part.
next in nas4free, you need to configure rsync client with information set on windows server deltacopy

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: rsync win 2003 to nas4free

Post by chrisf4lc0n »

I got it working last night, unfortunately it kept loosing the non standard characters files, even if I changed to the above mentioned character set :(
I would really need iso-8859-2 to support all the files I store. I will try to edit the /var/etc/smb.conf manually and go as follows:
dos charset = CP852
unix charset = iso-8859-2
display charset = LOCALE
Watercooling is just the beginning ;)

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: rsync win 2003 to nas4free

Post by chrisf4lc0n »

Exactly as I thought, it changed the charset back to what was setup in webGUI after the reboot... Is there any other way of to set iso-8859-2 up?

Before reboot:

Code: Select all

nas4free: ~ # testparm -s -v | grep charset
Load smb config files from /var/etc/smb.conf
Processing section "[Data]"
Processing section "[ZFS_RAID]"
Loaded services file OK.
Server role: ROLE_STANDALONE
        dos charset = CP852
        unix charset = iso-8859-2
        display charset = LOCALE
After the reboot:

Code: Select all

nas4free: ~ # testparm -s -v | grep charset
Load smb config files from /var/etc/smb.conf
Processing section "[Data]"
Processing section "[ZFS_RAID]"
Loaded services file OK.
Server role: ROLE_STANDALONE
        dos charset = CP852
        unix charset = UTF-8
        display charset = LOCALE
Cock!
Watercooling is just the beginning ;)

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: rsync win 2003 to nas4free

Post by chrisf4lc0n »

I did not find a solution to the charset problem, but I found a workaround...
Instead of using Rsync, I will be running Cobian Backup, which allows me to synchronise all my data every minute or less if I want... Will leave Rsync on N4F until it will be possible to use iso-8859-2 charset in Samba.
Watercooling is just the beginning ;)

User avatar
crest
Hardware & Software Guru
Hardware & Software Guru
Posts: 538
Joined: 02 Jul 2012 22:25
Location: Vienna, Austria - GMT+1
Status: Offline

Re: rsync win 2003 to nas4free

Post by crest »

If you want realtime sync perhaps you should try BitTorrent Sync which is available for all common platforms. I wrote an extension for this, you can find it here -> viewtopic.php?f=71&t=5704.

regards
crest
NAS1: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI 760GM-P23; AMD Athlon(tm) II X2 250 7.58GiB RAM
NAS2: 11.2.0.4 - Omnius (Revision 6766) x64-embedded; MSI MS-7369; AMD Sempron(tm) LE-1250 8022MiB RAM
UPS: APC Back-UPS ES 550G
Extensions: OneButtonInstaller, Extended GUI, NextOwnCloud, BitTorrent Sync, Syncthing, Downloady, Midnight Commander, NCDU, MySQL, Rclone, Themes:

Post Reply

Return to “RSYNC”