Hello,

On 1/25/2007 8:54 AM, Robert Nelson wrote:
> Don't use sc.exe, you won't get all the parameters right.
> 
> You should be able to use winbacula-2.0.1.exe /s.
> 
> If you just want to remove or install the services use the following
> commands:
> 
> c:\bacula\bin\bacula-fd /remove
> 
> c:\Program Files\bacula\bin\bacula-fd /install

Ah... I wasn't aware that these switches still exist and work. During 
the first tries of the cross-compiled windows FD I tried them but hat 
difficulties to get the FD installed.

Might have been because my installation was broken, though.

Arno

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir
> Doisan
> Sent: Wednesday, January 24, 2007 2:53 PM
> To: Arno Lehmann
> Cc: bacula-users
> Subject: Re: [Bacula-users] Win2k Automated Upgrade from 1.3x to 2.0
> 
> Very cool!
> I am crazy enough to start working on it today unless my wify shoots me
> if I spend too much time working :)
> Since you told me the most important command "sc", the script is ez. If
> I will not have any emergencies at work, I will have testing done tomorrow.
> Thanks a lot!
> 
> 
> Arno Lehmann wrote:
> 
>>Hello,
>>
>>On 1/24/2007 10:38 PM, Vladimir Doisan wrote:
>>I think there is a bit of work needed to get the update 1.38 to 2.0
>>happen automatically.
>>If I understand correctly, you stop service, copy files, start service.
>>Which would work just perfectly for upgrades 1.38.x -> 1.38.y
>>and with slight path modifications it will work fine for 2.0.a -> 2.0.b
>>However it will not work for the upgrade from 1.38.x -> 2.0.a
>>
>>
>>>True, I suppose.
>>
>>Here's some steps what I think needs to be done
>>
>>1. Stop Service
>>
>>
>>>net stop bacula
>>
>>2. Delete Old Service (pointing to c:\bacula) probably need to delete
>>some registry keys
>>
>>
>>>sc bacula delete
>>
>>>or something.
>>
>>3. Move extracted files (.exe, .dll .txt ...) to correct folders
>>("ProgFiles\Bacula" and "Docs&Settins\AllUsers\AppData\bacula")
>>
>>
>>>%ProgramFiles% and %AllUsersProfile%\AppData\Bacula
>>
>>>might work
>>
>>4. Move old .conf files to new folders
>>
>>
>>>copy ... that one was easy!
>>
>>5. Create new service (pointing to new path) need to create new registry
>>keys
>>
>>
>>>sc create
>>
>>>don't ask _me_ for details... Microsofts Web Site probably has some sort 
>>>of a manual for the sc command. Or see if the output of 'sc create' 
>>>helps you...
>>
>>6. Start new service
>>
>>
>>>net start bacula-fd
>>
>>>(note the new service name!)
>>
>>7. Delete old c:\bacula directory (optional)
>>
>>
>>>I would keep it for a while.
>>
>>File movement is trivial, but how to create / delete services and modify
>>registry from CLI via rpc?
>>
>>
>>>sc is the magic command.
>>
>>This is why I think there should be some switches in winbacula-2.0.exe
>>to help automate this task of clicking next, next, next, finish. All of
>>the user interaction stuff (clicking) could be automated.
>>
>>Let me know what you think, I had crazy week (2 months actually), maybe
>>I am way off...
>>
>>
>>>If you're crazy enough you'll have something ready tomorrow :-)
>>
>>>Arno
>>
>>
>>Vladimir
>>
>>
>>
>>Michel Meyers wrote:
>>
>>
>>>>>P.S. You will also have to adapt the service name, the new installer
>>>>>installs the FD as 'bacula-fd', not just 'bacula'.
>>>>>
>>>>>Greetings,
>>>>>     Michel
>>
>>
>>Michel Meyers wrote:
>>
>>
>>>>>Vladimir Doisan wrote:
>>>>>
>>>>>
>>>>>>>Oh, so the install directory would still be c:\bacula (whatever the
> 
> 1.3x
> 
>>>>>>>was)?
>>>>>
>>>>>No, the new installer unfortunately uses the Program Files directory
> 
> for
> 
>>>>>it (but I think it's the same for all machines, unless you have
> 
> multiple
> 
>>>>>versions of Windows).
>>>>>
>>>>>
>>>>>
>>>>>>>Maybe I was looking at the different script, or mixed it up with
>>>>>>>something else... Could you give me the link?
>>>>>
>>>>>You can find it in examples/upgrade-win32-client.txt if you have the
>>>>>source tarball.
>>>>>
>>>>>Greetings,
>>>>>      Michel
>>>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> 

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to