Thanks Carlos. We imported images and it kind of worked. Lots of manual work though. This thread can be closed.
On Wed, May 14, 2014 at 2:54 PM, Carlos Martín Sánchez < cmar...@opennebula.org> wrote: > Hi, > > On Thu, May 1, 2014 at 1:11 PM, Sangram Rath <sangram.r...@gmail.com>wrote: > >> Hi All, >> >> We will reinstall opennebula. We have images and templates. Is it >> possible to save them and reimport into the new setup? >> >> Whats the correct process? >> >> -- >> Thanks, >> Sangram Rath >> > > We don't have a process to export/import resources. > > If you really need to, you can try to automate something with the > ruby/java API: > > - OpenNebula will accept xml files as templates to create the new resources > - For the templates you need to save the VMTEMPLATE/TEMPLATE element, > adding the NAME to it. > - For images, save the IMAGE/TEMPLATE, and add the NAME and the SOURCE. > SOURCE points to the final destination inside the datastore, using it > instead of PATH tells opennebula to skip the initial copy. > > But there are things that may go wrong. For example, templates will only > work if they reference the Images by name, not by ID. > > Regards > -- > Carlos Martín, MSc > Project Engineer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org > | @OpenNebula <http://twitter.com/opennebula> <cmar...@opennebula.org> > > > -- Thanks, Sangram K Rath
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org