realtimeSync as a service on win7 ?

Get help for specific problems

Anonymous

followed the help file to registed RealtimeSync as a service, and started it
.succeed
but the files did not sync to the target folder
User avatar
Site Admin
Posts: 7279
Joined: 9 Dec 2007

Zenju

First find out whether the command line starts whenever you change something
in the monitored folders. If it does have a closer look at the ffs_batch
configuration you are executing.

Anonymous

I just followed this steps:

first of all ,created two folders "c:\test1, d:\test2" ,and setup c:\test1 to
d:\test2 for backup ,and save it in c:\test1\SyncSettings_test.ffs_batch.

1. instsrv RealTimeSync c:\tools\srvany.exe , SUCCESSFULY ADDED!

2. added a new key "Parameters" under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RealTimeSync"

3. Add a new String value named "Application" and specify a command (c:\Program Files\FreeFileSync\RealTimeSync.exe "c:\test1\SyncSettings_test.ffs_batch")

4. start the RealTimeSync service

5. copy a file "test.txt" into c:\test1

and ~ nothing was happened.
User avatar
Site Admin
Posts: 7279
Joined: 9 Dec 2007

Zenju

Did you check your setup runs correctly before running it as a service?

Anonymous

"Did you check your setup runs correctly before running it as a service?"

Yes。

It runs well ,so I'd like to run it as a service for auto sync .
User avatar
Site Admin
Posts: 7279
Joined: 9 Dec 2007

Zenju

Are RealtimeSync.exe and FreeFileSync_win32.exe starting and exitting
correctly? You can check this in task manager.

Anonymous

"Are RealtimeSync.exe and FreeFileSync_win32.exe starting and exitting
correctly? You can check this in task manager."

No. Just the service, after computer restarted.

Must this two be running ?
User avatar
Site Admin
Posts: 7279
Joined: 9 Dec 2007

Zenju

Yes, both must be child-processes of srvany.exe at any time. As soon as
FreeFileSync is started by RealtimeSync there will be another two temporal
child-processes of RealtimeSync_win32.exe, named FreeFileSync.exe and
FreeFileSync_win32.exe.

There is one important setting that will help you debug what's wrong with the
setup. Allow "data transfer between service and desktop". If the service shows
some error message or popup, you'll see it although the process runs under the
system account:

[404, Invalid URL: http://s7.directupload.net/file/d/2800/m6jkky26_png.htm]

Anonymous

so, I must
1. start the service
2. run the RealTimeSync.exe
isn't ?

so why shuold I use this service ?
User avatar
Site Admin
Posts: 7279
Joined: 9 Dec 2007

Zenju

No you just start the service, which internally starts RealTimeSync.exe.

> so why shuold I use this service ?
Because you want to automatically sync even if no user is logged into the
system. If this is not your scenario then you're better off simply putting a
link to RealTimeSync exe in the operating sytems autostart folder.

Anonymous

Thank you very much :)