To create a new application for Oracle database backup, go to the tab: Applications -> Instances
Then select the Create button. The Creating an Application Definition section will be displayed, which needs to be completed.
This is a description of how your script is going to be invoked - you need to specify:
- Name - unique name of the application in the vProtect system
- Choose Node Config - select which node should perform the task
- Backup policy - specify which backup policy should be used for this application
In the SSH access subtab, complete the following fields:
- Host - set the address of the host where the MySQL instance exists
- Port - set the host port
- User - indicate a user for connecting to the ssh
- Password - enter the connection password
- SSH key path - alternatively you can specify the ssh key path for authorization
After saving the changes to the application, you need to configure the environment variables in the settings section of your application as needed.
When using the built-in script for database backup, define:
- VP_ORACLE_DBORARCH - type of backup, either "db" to back up the database, or "arch" to back up the database logs
- VP_ORACLE_PASSWORD - Oracle database user password
- VP_ORACLE_RETENTION - how long RMAN should keep backup. Allowed "RECOVERY_WINDOWS_OF_14_DAYS" to set the number of days, "REDUNDANCY_14" to set the number of backups
- VP_ORACLE_ENVIROINMENTVARIABLES - path to the Oracle database Environment Variables
- VP_ORACLE_SCRIPTPATH - path to the Oracle server, where vProtect can place and execute the backup script
- VP_ORACLE_COMPRESS - if backup should be compressed on the Oracle server, then please type "Yes"
- VP_ORACLE_USER - login username for Oracle
- VP_ORACLE_LOGPATH - path to the Oracle server, where vProtect can place the log file from the backup job
- VP_ORACLE_STOREPATH - path to the Oracle server, where vProtect can place the backup file