Previous Topic: Add Restored Databases to the CatalogNext Topic: Subscription


LMArchive–Backup/Restore Tracking

The LMArchive is the command-line utility that tracks the backup and restoration of warm databases to the event log store on a CA User Activity Reporting Module server. Use LMArchive to query for the list of warm database files that are ready for archiving. After backing up the listed database and moving it to long-term (cold) storage, use LMArchive to create a record on the CA User Activity Reporting Module server that this database was backed up. After restoring a cold database to its original CA User Activity Reporting Module server, use LMArchive to notify CA User Activity Reporting Module, which in turn defrosts the cold database files to a defrosted state that can be queried.

The command has the following format:

LMArchive -euser username -epassword pwd {-list [loc|all|inc] | -notify [arch|rest] -files file1,file2,file3...}
-euser username

Specifies the user name of a CA User Activity Reporting Module user account with the Administrator role.

-epassword pwd

Specifies the CA User Activity Reporting Module password associated with the user name.

-list [ loc | all | inc ]

Requests a list of one of the following: the archive directory locations, the names of all warm and cold databases, the names of just the warm databases

loc

Requests the location of the archive directory.

all

Requests a list of all filenames located in the archive directory of the event log store.

inc

Requests an incremental list of filenames of the current warm database files that have not been archived. The request returns the names of files that have not been backed up, moved to external storage, and changed to a cold state. Files are set to a cold state upon notification of the move through this utility's notify command.

-notify [ arch | rest ]

Notifies the CA User Activity Reporting Module event log store that the specified files have been successfully backed up or restored.

arch

Notifies the CA User Activity Reporting Module event log store that the specified files have been successfully backed up.

rest

Notifies the CA User Activity Reporting Module event log store that the specified files have been successfully restored.

-files file1,file2,file3...

Specifies the names of the database files you have backed up or restored.

More information:

About Log Storage

Identify Databases Not Backed Up

Record the Backups

Prepare to Restore Archived Databases

Restore Manually Archived Files