-----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
Here's some steps what I think needs to be done 1. Stop Service 2. Delete Old Service (pointing to c:\bacula) probably need to delete some registry keys 3. Move extracted files (.exe, .dll .txt ...) to correct folders ("ProgFiles\Bacula" and "Docs&Settins\AllUsers\AppData\bacula") 4. Move old .conf files to new folders 5. Create new service (pointing to new path) need to create new registry keys 6. Start new service 7. Delete old c:\bacula directory (optional) File movement is trivial, but how to create / delete services and modify registry from CLI via rpc? 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... 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 Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users