Hi,
What you can do is you can export BMC_System along with its subclasses and
then import it back to the Dev env.
Following are the steps using cmdbdriver:
EXPORT
Export Item List:
Number of export items (0): 1
Class Name
Namespace (): BMC.CORE
Class name (): BMC_System
Metadata, Instance data (1-2) (1): 1
Export options -- class only, super classes, subclasses (1, 2, 4)
(1): 4
Directory for exported data: /opt/remedy/BMC_System
This will export BMC_System and all its subclasess
HTH
Vinit Patil
Steve Iocco wrote:
>
>
> Hi. This is a fresh install, and yest with Atrium 7.6. What I am trying
> to do now is run the cmdbdriver to export it from the backup I took right
> after the CMDB install, so with the Computer System class.
>
> Thanks.
>
>
>
>
>
> Date: Tue, 19 Jan 2010 20:29:51 -0700
> From: [email protected]
> Subject: Re: Deleted a class by accident
> To: [email protected]
>
> **
>
>
>
>
>
> Hi Steve,
>
> Ok, so we’ll probably need more info. Are you upgrading or doing a fresh
> install? If upgrading, from which version? Did you perform all the
> necessary patches before moving to 7.6? And I’m assuming your installed
> Atrium 7.6. Did you do your atrium backup before or after your deleted
> Computer System?
>
>
> From: Action Request System discussion list(ARSList)
> [mailto:[email protected]] On Behalf Of Steve Iocco
> Sent: Tuesday, January 19, 2010 8:22 PM
> To: [email protected]
> Subject: Re: Deleted a class by accident
>
> **
> Thanks for your reply. This is actually in our dev environment which will
> be promoted to prod. The problem is I do have a backup but only after the
> atrium install. to compound this I am unable to re-run the itsm installer
> (7.6) as it seems to sit there and hang when I revert the DB back to just
> the atrium. Any suggestions? The uninstaller for ITSM worked only for
> change and asset, not for service desk.
> If I can get ITSM uninstalled properly removing any references of it I can
> then revert the DB back to the point after the Atrium install then
> re-install ITSM.
> Thanks
>
>
>
>
>
> Date: Tue, 19 Jan 2010 20:18:09 -0700
> From: [email protected]
> Subject: Re: Deleted a class by accident
> To: [email protected]
>
> **
>
> Looks like you deleted BMC_ComputerSystem. Did you take a DB backup
> before you made the change? Cause you could restore from that.
>
> I’m assuming you’re atleast on CMDB 2.1 and have done this on your dev
> environment, so you could try exporting the class definition for Computer
> System from your Prod environment using the cmdbdriver utility. Read up
> on the utility in the CMDB Admin guide. When you launch the utility,
> you’ll need to run the ‘init’ command and then ‘log’ to login.
>
> To export the class def use the xexpdf command, it will prompt you:
>
> Command: xexpdf
> XEXPORT DEFINITION
> Export all classes? (F):
> Classes to export:
> Class and its subclasses, From namespace (1,2) (1):
> Namespace (): BMC.CORE
> Class name (): BMC_ComputerSystem
> Export all attributes with classes? (T):
> Filename for exported data: ProdComputerSystem
>
> Then on your dev env, import the def
>
> Command: impdf
> DEFINITION IMPORT
> Import Item List:
> Number of import items (0):
> Import option : Create/Overwrite (1-2) (1): 2
> Filename containing import data: ProdComputerSystem
>
> You might might need to run the Update Asset UI after the import is done
> to resync with the AST form. You data should still be there on the Base
> Element hopefully.
>
> Hope this helps
>
> Edward
>
>
>
>
> From: Action Request System discussion list(ARSList)
> [mailto:[email protected]] On Behalf Of Steve Iocco
> Sent: Tuesday, January 19, 2010 7:58 PM
> To: [email protected]
> Subject: Deleted a class by accident
>
> **
> Hi everyone. I created a new class in the atrium CMDB but decided to
> delete it afterwards. Problem is I must have highlighted another class,
> likely under base element and removed something else instead. Is there a
> way to rebuild this class? I would need pretty step by step instructions.
> All I know at this point is accessing the asset management console gives
> the following error:
> ARERR [303] Form does not exist on server : AST:ComputerSystem
> Thanks
> Steve
>
>
>
>
> Windows Live Messenger makes it easier to stay in touch - learn how!
> _Platinum Sponsor: [email protected] ARSlist: "Where the Answers
> Are"_
> _Platinum Sponsor: [email protected] ARSlist: "Where the Answers
> Are"_
>
>
>
> Spread the cheer with Messenger for mobile. Learn more.
> _Platinum Sponsor: [email protected] ARSlist: "Where the Answers
> Are"_ _Platinum Sponsor: [email protected] ARSlist: "Where the
> Answers Are"_
> _________________________________________________________________
>
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"
>
>
-----
Thanks & Regards,
Vinit
--
View this message in context:
http://old.nabble.com/Deleted-a-class-by-accident-tp27236166p27253576.html
Sent from the ARS (Action Request System) mailing list archive at Nabble.com.
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"