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!

Rync with DeltaCopy & Win7

Synchronize files & directories to/from XigmaNAS with minimal data transfer.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
fbergski
NewUser
NewUser
Posts: 4
Joined: 03 Sep 2012 08:08
Status: Offline

Rync with DeltaCopy & Win7

Post by fbergski »

I changed over to a win7 box and have a weird issue. My rysnc task will run but will not copy anything from my win7 box. DeltaCopy server is running in win7 with no issues that I can see. When I check the diagnostic logs everything looks fine but a test file that I put in the "Documents" folder will not copy over.

This would be under a standard user not an administrator.

Thanks,

Philip

nicolap8
Starter
Starter
Posts: 74
Joined: 26 Jun 2012 01:02
Status: Offline

Re: Rync with DeltaCopy & Win7

Post by nicolap8 »

Have you tried to run the profile from Deltacopy? Works?
Have you enabled the verbose logging? (in Deltacopy)

tpampin
NewUser
NewUser
Posts: 1
Joined: 14 Sep 2012 17:36
Status: Offline

Re: Rync with DeltaCopy & Win7

Post by tpampin »

Hello,

I am currently doing what you are trying to make work (two win7 pc's running deltacopy to rsync on nas4free)

My two win7 pc's hibernate at night, the scheduled task wakes them, then runs a cmd file that sends a wake on lan to nas4free, sleeps for a bit so the nas can spin up, then starts the deltacopy. I use a schedued shutdown in nas4free to shut the box down about an hour after the last backup ends, then it sleeps until the next night (as this is what my nas is used for, pc backup).

I've been running this setup for quite a while, actually just upgraded from freenas to nas4free yesterday, all ran well for last night's backups.

here's what I do (more than likely I've left out a key part, but hopefully this helps you out - Thomas)

pc:
deltacopy 1.4 (probably old, but has been working well)

my user on the pc is not granted admin rights (by me to help with antivirus and such), but the task below runs with elevated privileges
scheduled task runs nightly:
general tab-
when running the task use: SYSTEM
run whether user is logged on or not
run with highest privileges
configure for: windows vista, server 2008
triggers tab -
daily at whatever time
actions -
start a program, then full path to the cmd file (See below)
conditions -
wake the computer to run this task
settings -
allow the task to be run on demand
run task as soon as possible after a scheduled start is missed
stop the task if it runs longer than 8 hours (in case something goes amiss)
if the running task does not end when requested, force it to stop
if the task is already running use rule: do not start a new instance

cmd file that gets called from above scheduled task:

c:\windows\system32\mc-wol.exe 00:0d:60:24:c5:c0 /a 192.168.0.255 (free cmd line wol to wake freenas)
timeout /t 180 (sleep for a bit until nas spins up)
C:\DeltaCopy\deltac.exe pc2.dcp (call deltacopy with its config file as the parameter)
timeout /t 15 (sleep for a bit when done)
C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0 (re-hibernate the pc as it was hibernating when this all started)




services rsync server settings
map to user: guest
tcp port: 873

services rsync server modules (one for each pc)

path: whatever your storage path is
enable module listing
access mode: read/write
aux parameters: incoming chmod = Fugo+rwx,Dugo+rwx (note, this chomd could be a security risk in certain setups, but it works for me here, backing up to my basement with a few usernames who can access the data if needed)

Post Reply

Return to “RSYNC”