

Administration Guide › Log Storage › Restore Auto-Archived Files
Restore Auto-Archived Files
If you copy archived files from external storage to the remote server configured for auto-archiving, you can restore them with the restore-ca-elm.sh script. This alternative is preferred over the manual use of LMArchive utility.
To restore auto-archived files
- Use your caelmadmin credentials to log on to the CA Enterprise Log Manager server with the event log store where you want to restore the databases.
- At the command prompt, switch users to root, that is:
su - root
- Change directories to /opt/CA/SharedComponents/iTechnology with the following shortcut:
cd $IGW_LOC
- At the command prompt, switch users to the caelmservice account.
su - caelmservice
- Run the following command, where userid and pwd are the credentials of a CA Enterprise Log Manager user account with the Administrator role.
restore-ca-elm.sh -euser userid -epasswd pwd -rhost hostname -ruser userid -rlocation path -files file1,file2,file3...
Note: To allow a non-Administrator to run the restore-ca-elm shell script, create a custom role and custom policy. Then, users to whom you assign this custom role can specify their credentials for userid and pwd.
More information:
Restore–Script for Restoring Archived Databases
Example: Allow a Non-Administrator to Manage Archives
Automating Backup and Restore
Copyright © 2013 CA.
All rights reserved.
 
|
|