Before you restore archived databases, you need to know the following:
You can query the archive catalog through the CA Enterprise Log Manager Administration tab, Log Collection Explorer, where you can specify simple or advanced filters. Or you can use the command line utility as described here.
If you already have the needed information at hand, skip this procedure.
To prepare to restore archived databases
su - root
cd $IGW_LOC
LMArchive -euser userid -epassword pwd -list all
The list of all archived files appears.
LMArchive -euser userid -epassword pwd -list loc
The archive directory appears.
Example: Display All Current CA Enterprise Log Manager Archive Files
The following command issued by the CA Enterprise Log Manager Administrator, Administrator1, requests a list of all databases located in the event log store's archive directory.
LMArchive ‑euser Administrator1 ‑epassword calmr12 ‑list all
A list of the current archive files appears, in a format similar to the following:
CAELM Archived Files:
calm04_20091206191941.db.cerod calm04_20091206191958.db.cerod calm04_20091206192014.db.cerod calm04_20091206191941.db.sig calm04_20091206191958.db.sig calm04_20091206192014.db.sig
Example: Display the CA Enterprise Log Manager Archive Directory
The following command issued by a CA Enterprise Log Manager Administrator, Administrator1, requests the directory location of the archived databases:
LMArchive -euser Administrator1 -epassword calmr12 -list loc
The following is a typical response:
CAELM Archive Location (localhost) : ../../LogManager/data/archive
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |