COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: bvk.cognoise on 12 Apr 2011 01:56:13 AM

Title: how can i restore cognos packages?
Post by: bvk.cognoise on 12 Apr 2011 01:56:13 AM
hi ,
previously i use to work with cognos 8.4  have developed lot of reports using packages.but now we are migrating to cognos10.now how can i restore the packages into cognos10 Framework manager.how can i take backup and how can i restore packages.please reply me ASAP its very urgent requirement. :( :( :(

thanks
bvk
Title: Re: how can i restore cognos packages?
Post by: blom0344 on 12 Apr 2011 02:01:27 AM
packages are the runtime equivalent of Cognos models. You do not restore packages into a model. The model itself is the source.
Don't tell me you have no model , but only packages    :o

(and why generate multiple posts on the same subject?)
Title: Re: how can i restore cognos packages?
Post by: cognostechie on 12 Apr 2011 02:06:42 AM
Quote from: blom0344 on 12 Apr 2011 02:01:27 AM
packages are the runtime equivalent of Cognos models. You do not restore packages into a model. The model itself is the source.
Don't tell me you have no model , but only packages    :o

(and why generate multiple posts on the same subject?)

I think because there is no differentiation between models and packages  ;)
Title: Re: how can i restore cognos packages?
Post by: Arsenal on 14 Apr 2011 01:24:09 PM
Quote from: blom0344 on 12 Apr 2011 02:01:27 AM
packages are the runtime equivalent of Cognos models. You do not restore packages into a model. The model itself is the source.
Don't tell me you have no model , but only packages    :o

(and why generate multiple posts on the same subject?)

Not sure what the original poster wants, but Blom a model can be recreated from the package although I've never tried to do so and supposedly involves stopping and restarting services. Basically, you're going to force Cognos to generate an xml of the package being opened (which wiull be the package of the missing model), copy out that xml, create am empty FM model and then replacing the model.xml thus created with the copied out version.

say bye bye to anything else in the original model but not in the package, though.
Title: Re: how can i restore cognos packages?
Post by: blom0344 on 14 Apr 2011 01:51:05 PM
Quote from: Arsenal on 14 Apr 2011 01:24:09 PM
Not sure what the original poster wants, but Blom a model can be recreated from the package although I've never tried to do so and supposedly involves stopping and restarting services. Basically, you're going to force Cognos to generate an xml of the package being opened (which wiull be the package of the missing model), copy out that xml, create am empty FM model and then replacing the model.xml thus created with the copied out version.

say bye bye to anything else in the original model but not in the package, though.

Yes, that is a rescue backdoor, but the idea is to use a model as basis. The package is just meant as a runtime component. Restoring packages to rebuild the model is pointing out the rescue action and not best practice..  And indeed a package may contain PART of the model and then what?
Title: Re: how can i restore cognos packages?
Post by: Arsenal on 14 Apr 2011 05:01:59 PM
Agreed Blom. Painful as versioning and saving multiple copies are, that is the only way to ensure your backside is covered.

But ya know..mistakes happen sometimes. Like someone becomes a Manchester United fan  ;) Similarly someone deletes something by mistake or a consultant leaves and the management forgets to ensure he handed over the models etc.