Hello,
On 1/24/2007 10:38 PM, Vladimir Doisan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFt9HnNR4PQ6HVpW0RAm1bAKCNTfXI8TvVu0zue4iSuzyY8wrNRgCgs+Dy
> ekv89lRPnXjFn+RKlkqIJ0w=
> =lYJa
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> 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