~go-bot/juju-core/trunk

Viewing all changes in revision 2725.

[r=hduran-8],[bug=1304116] Corrected restore tu support current juju code

Current restore plugin, takes a backup which contains
a dump of the mongodb for the backed up machine and 
several configuration files, it bootstraps a new
machine and:
Deletes the fresh db
Loads the dump
Places the files instead of the fresh machine ones
Restarts services.
Since replicaset was introduced the db load was not
working properly. A replicaset initiate with a fresh
config was added to solve it.

https://codereview.appspot.com/94330043/

R=jameinel, klyachin

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: