I would also recommend altering template_zone_ref (removed field to "null") and making the state in vm_template as 'Active'. Last but not the least even if they are gone from secondary storage you can recover the templates from the vms created from templates.
On 19/09/14 4:23 PM, "ilya musayev" <ilya.mailing.li...@gmail.com> wrote: >Assuming the data still resides (you need to check you secondary store), >you can alter the "removed" field for that record and it will bring it >back in the UI. > >Review: >SELECT * FROM cloud.vm_template; -> alter removed field to "null" >SELECT * FROM cloud.template_store_ref; -> local_path for location of >the template/iso and alter destroyed field to 0 > >On 9/19/14, 12:15 AM, Ivan Rodriguez wrote: >> Hi CloudStack Users, >> >> Is there any chance to UNdelete an user and recover all the previous >>ISOS >> and templates ? >> >> Cheers >> >