This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject
  • RSA.com
  • Home
  • Advisories
    • SecurID
    • SecurID Governance & Lifecycle
  • Documentation
    • SecurID
      • Authentication Agents
        • API / SDK
        • Apache Web Server
        • Citrix StoreFront
        • IIS Web Server
        • MFA Agent for macOS
        • MFA Agent for Windows
        • Microsoft AD FS
        • Microsoft Windows
        • PAM
      • Authentication Engine
      • Authentication Manager
      • Cloud Authentication Service
      • Hardware Appliance
        Component Updates
      • Hardware Tokens
      • Integrations
      • SecurID App
      • SecurID Authenticator for macOS
      • SecurID SDK
      • Software Tokens
        • Android
        • iOS
        • macOS
        • Token Converter
        • Windows
    • SecurID Governance & Lifecycle
    • Technology Partners
  • Downloads
    • SecurID
      • Authentication Agents
        • API / SDK
        • Apache Web Server
        • Citrix StoreFront
        • IIS Web Server
        • MFA Agent for macOS
        • MFA Agent for Windows
        • Microsoft AD FS
        • Microsoft Windows
        • PAM
      • Authentication Engine
      • Authentication Manager
      • Cloud Authentication Service
      • Hardware Appliance
        Component Updates
      • Hardware Tokens
      • Integrations
      • SecurID Authenticator for macOS
      • Software Tokens
        • Android
        • iOS
        • macOS
        • Token Converter
        • Windows
    • SecurID Governance & Lifecycle
  • Community
    • SecurID
      • Blog
      • Discussions
      • Events
      • Idea Exchange
      • Knowledge Base
    • SecurID Governance & Lifecycle
      • Blog
      • Discussions
      • Events
      • Idea Exchange
      • Knowledge Base
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Ideas & Suggestions
      • Community Support Articles
      • Community Support Forum
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Education
    • Blog
    • Browse Courses
      • SecurID
      • SecurID Governance & Lifecycle
    • Certification Program
    • New Product Readiness
    • Student Resources
Sign In Register Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
Announcements

The email address for SecurID Community notifications is changing

View Details

SecurID® Governance & Lifecycle Knowledge Base

Find answers to your questions and identify resolutions for known issues with knowledge base articles written by SecurID Governance & Lifecycle experts.
  • SecurID Community
  • :
  • Products
  • :
  • SecurID Governance & Lifecycle
  • :
  • Knowledge Base
  • :
  • How to perform a Database Backup (Export) and a Database Restore (Import) in RSA Identity Governance...
  • Options
    • Subscribe to RSS Feed
    • Bookmark
    • Subscribe
    • Email to a Friend
    • Printer Friendly Page
    • Report Inappropriate Content

How to perform a Database Backup (Export) and a Database Restore (Import) in RSA Identity Governance & Lifecycle

Article Number

000038174

Applies To

RSA Product Set: RSA Identity Governance & Lifecycle
RSA Product/Service Type: Appliance
RSA Version/Condition: 7.0.x, 7.1.x, 7.2.x
 

Issue

The recommended method for backing up and restoring an RSA Identity Governance & Lifecycle Oracle database on an appliance (RSA-supplied database) is to use the RSA-provided scripts which utilize the Oracle database export/import utilities. This RSA Knowledge Base Article describes the different ways to export/import an RSA-supplied database.

For non RSA-provided databases, please reach out to the Oracle DBA for backup and restore procedures. For RDS on AWS, please refer to the AWS documentation on RDS backup/restore facilities.
 

Resolution

IMPORTANT:
When backing up the database, please make sure to also backup the encryption key files located in /home/oracle/security and restore those files if the database restore occurs on a different or rebuilt server.


METHOD 1 - Using the RSA-provided script files.

To export the database:

Login to the server as the oracle user and execute:

acm stop
cd /home/oracle/database/DBA/AVDB/scripts
./AVDB_Export_AVUSER.sh -t <optional tag on the filename>
This creates a backup file called Export_AVDB_avuser<optional tag on the filename>.dmp in the  /home/oracle/AveksaExportImportDir directory.

To import the database:

Login to the server as the oracle user and execute:

acm stop
cd /home/oracle/database/DBA/AVDB/scripts
./AVDB_Import_AVUSER.sh -t <optional tag on the filename>

This imports a backup file called Export_AVDB_avuser<optional tag on the filename>.dmp from the /home/oracle/AveksaExportImportDir directory.

For example,

./AVDB_Export_AVUSER.sh -t _112119 creates a file called Export_AVDB_avuser_112119.dmp, and
./AVDB_Import_AVUSER.sh -t _112119 imports a file called Export_AVDB_avuser_112119.dmp

If any problems occur during the export or import of a database, please review the appropriate log file for each:

  • /home/oracle/AveksaExportImportDir/Export_AVDB_avuser-{YYYY-MM-DD-##-##}.log
  • /home/oracle/AveksaExportImportDir/Import_AVDB_avuser.log


METHOD 2 - Using alias commands at the command line prompt

This is the same as METHOD 1 only there are alias names defined that will execute the script files for you. These alias names are:


alias avdbexport='/home/oracle/database/DBA/AVDB/scripts/AVDB_Export_AVUSER.sh'
alias avdbimport='/home/oracle/database/DBA/AVDB/scripts/AVDB_Import_AVUSER.sh'

To export the database:

Login to the server as the oracle user and execute:

acm stop
avdbexport -t <optional tag on the filename>

This creates a backup file called Export_AVDB_avuser<optional tag on the filename>.dmp in the  /home/oracle/AveksaExportImportDir directory.

To import the database: 

Login to the server as the oracle user and execute:

acm stop
avdbimport -t <optional tag on the filename>

This imports a backup file called Export_AVDB_avuser<optional tag on the filename>.dmp from the /home/oracle/AveksaExportImportDir directory.

For example,

avdbexport -t _112119 creates a file called Export_AVDB_avuser_112119.dmp, and
avdbimport -t _112119 imports a file called Export_AVDB_avuser_112119.dmp

If any problems occur during the export or import of a database, please review the appropriate log file for each:

  • /home/oracle/AveksaExportImportDir/Export_AVDB_avuser-{YYYY-MM-DD-##-##}.log
  • /home/oracle/AveksaExportImportDir/Import_AVDB_avuser.log


METHOD 3 - Using the backup utility in the user Interface

This method is only available on RSA Identity Governance & Lifecycle hardware and software appliances.

The database can be backed up from the user interface. The advantage to this method is that the system can remain online and there is no downtime. However, the disadvantage is that there is always a risk to the integrity of the backup file if users are accessing the database at the same time that a backup is being performed. Additionally performance will be slower due to database contention. If you use this method, it is recommended to use it on a database during its quietest time. If possible, put the system into Maintenance Mode. (Admin > System > Maintenance tab > Edit > Maintenance Mode: On). There is a bit of downtime in this mode because users are restricted from using the system, but the time it takes to shutdown and restart the application can be avoided. 

To backup the database from the user interface, navigate to Admin > System > Backup tab > Edit > Scheduled: Yes.
 

Image descriptionImage description

Image descriptionImage description


This creates a backup file called Export_AVDB_avuserYYYY-MM-DD-##-##-##.dmp in the  /home/oracle/AveksaExportImportDir directory.

To import the database

Login to the server as the oracle user and execute:

acm stop
avdbimport -t YYYY-MM-DD-##-##-00
or
cd /home/oracle/database/DBA/AVDB/scripts 
./AVDB_Export_AVUSER.sh -t YYYY-MM-DD-##-##-00

This imports a backup file called Export_AVDB_avuserYYYY-MM-DD-XX-XX-00.dmp from the /home/oracle/AveksaExportImportDir directory.

An example filename of an exported backup file from the user interface would be Export_AVDB_avuser2019-11-21-16-33-00.dmp. To import this file:


avdbimport -t 2019-11-21-16-33-00
or
./AVDB_Export_AVUSER.sh -t 2019-11-21-16-33-00

If any problems occur during the export or import of a database, please review the appropriate log file for each:

  • /home/oracle/AveksaExportImportDir/Export_AVDB_avuser-{YYYY-MM-DD-##-##}.log
  • /home/oracle/AveksaExportImportDir/Import_AVDB_avuser.log
Tags (47)
  • 7
  • 7.0
  • 7.0.x
  • 7.1
  • 7.1.x
  • 7.2
  • 7.2.x
  • 7.x
  • Admin
  • Administration
  • Administrative
  • Aveksa
  • Customer Support Article
  • Database
  • Database Tutorial
  • Helpful Hints
  • How To
  • Identity
  • Identity G&L
  • Identity Governance & Lifecycle
  • Identity Governance and Lifecycle
  • IG&L
  • IGL
  • Informational
  • Instructions
  • KB Article
  • Knowledge Article
  • Knowledge Base
  • Maintenance
  • Process Steps
  • RSA Identity
  • RSA Identity G&L
  • RSA Identity Governance & Lifecycle
  • RSA Identity Governance and Lifecycle
  • Tip &amp Tricks
  • Tips and Tricks
  • Tutorial
  • Version 7
  • Version 7.0
  • Version 7.0.x
  • Version 7.1
  • Version 7.1.x
  • Version 7.2
  • Version 7.2.x
  • Version 7.x
  • Walk Through
  • Walkthrough
0 Likes
Was this article helpful? Yes No
Share
No ratings

In this article

Version history
Last update:
‎2021-04-24 12:58 AM
Updated by:
Administrator RSA-KB-Sync Administrator

Related Content

Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • Customer Success
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Provide Feedback
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.