Later in this document this folder is referred to as

  • No School
  • AA 1
  • alpayoran
  • 404
  • 100% (1) 1 out of 1 people found this document helpful

This preview shows page 382 - 384 out of 404 pages.

Later in this document, this folder is referred to as <scripts location folder> . List of the scripts The following table lists the scripts provided with the solution: Script name For Windows or Linux Description main.py Windows, Linux The main script that performs all operations related to Oracle backup and recovery. Not for independent use main.cfg Windows, Linux The configuration file contains the database access parameters and other parameters that are common for other scripts. This is the only file that you may need to edit. This file is located in the following folder: In Windows: %ProgramData%\Acronis\Oracle\Config In Linux: /var/lib/Acronis/Oracle/Config. backup_full_pre.bat Windows Calls the main script to perform a full database backup by RMAN backup_full_pre.sh Linux backup_incr_pre.bat Windows Calls the main script to perform an archived log backup by RMAN backup_incr_pre.sh Linux restore_disaster.bat Windows Calls the main script to recover the entire database to the latest available state restore_disaster.sh Linux
Acronis Certified Engineer Backup Training & Certification Appendix 383 Script name For Windows or Linux Description restore_datafiles.bat Windows Calls the main script to recover datafiles to the latest available state (complete recovery) restore_datafiles.sh Linux restore_controlfile.bat Windows Calls the main script to recover the control file to the latest available state restore_controlfile.sh Linux restore_to-point-in- time.bat Windows Calls the main script to recover the database to a point in time in the past (incomplete recovery). Such point in time is specified by a date and time in the following format: yyyy-mm- dd:hh24:mi:ss restore_to-point-in- time.sh Linux restore_to-scn.bat Windows Calls the main script to recover the database to a point in time in the past (incomplete recovery). Such point in time is specified by a System Change Number restore_to-scn.sh Linux last_log.bat Windows Calls the main script to show its latest log last_log.sh Linux *.rman Windows, Linux RMAN scripts for various operations. Not for independent use *.sql Windows, Linux SQL*Plus scripts for various operations. Not for independent use Other Windows, Linux Auxiliary scripts. Not for independent use Configuration parameters This section lists parameters that you can modify in the file main.cfg . BACKUP_DIR : the local folder where RMAN backups will be stored The disk where you want to store RMAN backups must have free space enough for two copies of the database The default path is C:\local_rman_backups\ in Windows and /tmp/local_rman_backups in Linux. Note: In Windows, use double backslash characters instead of single ones. For example, the default path is specified as C:\\local_rman_backups\\ TARGET : connection string for the database The default value is / . With this value, the script will log on to Oracle by using the operating system authentication. In Windows, the script will use the account under which the agent service runs. In Linux, the script will use the ORACLE_USER variable value (see later in this

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture