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

Yes it will, see below.

> 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")
[...]
> File movement is trivial, but how to create / delete services and modify
> registry from CLI via rpc?

You don't have to move the files. The new FD will work perfectly fine 
from c:\bacula\bin with the config files remaining in the old paths as 
well (I use it as such) so upgrading this way is no issue.

For new machines, you will have to decide whether you want to use the 
new subdirectories (in which case you need to adapt the script when you 
want to do upgrades for them) or the old ones (in which case I recommend 
installing an old 1.38.x FD and then upgrading it without the installer).

> 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.

As I said, it has, or at least it had. Try out the /S (upper case) and 
/Service options. The problem is, that I have not found a way to 
remotely get software to execute (apart from dropping it into the 
startup program 'group/directory' and rebooting the system). Windows' at 
service doesn't seem to work when invoked via RPC from a Linux box (at 
least it didn't for me.)

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

Reply via email to