000027956 - KB-1443 - How to determine the size of a backup before starting

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000027956
Applies ToAffected Versions: All Versions
Resolution
If you need to determine approximately how large an Aveksa database export file* will be before creating one, using the AVDB_Export_AVUSER.sh script, you can run the following UNIX command in a terminal window connected to the Aveksa system. The command is run as the oracle user and the data below is all on 1 line:
expdp avuser/secret directory=Aveksa_ExportImport_Directory ESTIMATE=blocks estimate_only=y logfile=log.log
Explanation:
expdp - Oracle datapump utility which is used for the backup
avuser/secret - Credentials for database access
directory=Aveksa_ExportImport_Directory - Output directory. This is specified when creating the database and by default is /home/oracle/AveksaExportImportDir
ESTIMATE=blocks estimate_only=y - Don't do the backup just tell me how big it is
logfile=log.log
- File name for output that you see in the terminal window.

*Also known as the database backup, database dump or datapump export file

Attachments

    Outcomes