[Box Backup] BoxBackup as a Windows Service (Cygwin)
Sitkei Attila
boxbackup@fluffy.co.uk
Thu, 23 Sep 2004 12:35:06 +0200
This is a multi-part message in MIME format.
--------------090304080203000909060802
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Per Thomsen wrote:
> I tried this, but was unable to get it to start a service, using the
> SINGLEPROCESS thingy.
>
> Has anyone been successful in getting bbackupd to run at boot time, as
> a service, or otherwise. Or even at login time. I tried adding it to
> the 'Run' part of the Windows registry as Ben suggested, but I
> couldn't get that to work either.
>
> I would be willing to donate some money to help get a production (or
> at least Beta) grade bbackupd running on win32. Anyone else in the
> same boat? My user base is largely on Windows machines.
>
Yeah,
http://www.electrasoft.com/srvany/srvany.htm shows how to create a
'service' using srvany.exe utility. Done that and works without the
SINGLEPROCESS option. For more details and custom usage see the attached
.reg file.
Yours
--tef
--------------090304080203000909060802
Content-Type: text/plain;
name="bbackup.reg"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="bbackup.reg"
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\bbackup]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):63,3a,5c,77,69,6e,6e,74,5c,73,79,73,74,65,6d,33,32,5c,73,72,\
76,61,6e,79,2e,65,78,65,00
"DisplayName"="bbackup"
"ObjectName"="PMIDOM\\teflon"
"Description"="Ben Summers' backup and mirroring tool (client)"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\bbackup\Parameters]
"Application"="c:\\bbackup\\bbackupd.exe"
"AppDirectory"="c:\\bbackup"
"AppParameters"="bbackupd.conf"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\bbackup\Security]
"Security"=hex:01,00,14,80,a0,00,00,00,ac,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,70,00,04,00,00,00,00,00,18,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,00,00,00,00,1c,00,ff,01,0f,00,01,02,00,00,00,00,00,05,\
20,00,00,00,20,02,00,00,00,00,00,00,00,00,18,00,8d,01,02,00,01,01,00,00,00,\
00,00,05,0b,00,00,00,20,02,00,00,00,00,1c,00,fd,01,02,00,01,02,00,00,00,00,\
00,05,20,00,00,00,23,02,00,00,00,00,00,00,01,01,00,00,00,00,00,05,12,00,00,\
00,01,01,00,00,00,00,00,05,12,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\bbackup\Enum]
"0"="Root\\LEGACY_BBACKUP\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
--------------090304080203000909060802--