Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ for Oracle Administrator's Guide
  3. Appendix C. Script-based Block-Level Incremental (BLI) Backups without RMAN on UNIX and Linux systems
  4. Creating NetBackup policies for script-based BLI backup
  5. Creating notify scripts for BLI backups
  6. Sample setup_bli_scripts session
NetBackup™ for Oracle Administrator's Guide

Sample setup_bli_scripts session

The following sample session shows how to use setup_bli_scripts to create the notify scripts.

#/usr/openv/netbackup/ext/db_ext/oracle/bin/setup_bli_scripts 
 
Please enter the user name of your Oracle administrator? orac901
 
ORACLE_BASE is the Oracle environment variable that identifies
the directory at the top of the Oracle software and administrative
file structure. The value of this variable is typically
/MOUNTPOINT/app/oracle
 
Please enter your ORACLE_BASE? /dbhome/oracle/orac901
 
ORACLE_HOME is the Oracle environment variable that identifies the
directory containing the Oracle software for a given Oracle server
release. The value of this variable is typically
/dbhome/oracle/orac901/product/RELEASE
 
Please enter your ORACLE_HOME? /dbhome/oracle/orac901
 
sqlplus will be used.
 
The default "connect" statement that will be used to connect to the database is:
                            "connect / as sysdba"
 
Would you like to modify the connect and use a specific login? (y/n) n
 
"connect / as sysdba" will be used.
 
 
Please enter the Oracle instance (ORACLE_SID) you want to back up? orac901
 
If you are using a CONFIG.ORA file, you need to specify where
it is, so that it can be backed up. If this does not apply
apply to your configuration, hit ENTER to go on. If this does
apply to your configuration, specify the file path.
Typically this would be:
/dbhome/oracle/orac901/admin/orac901/pfile/configorac901.ora
but this file could not be found.
 
Enter your Oracle config file path or hit ENTER: 
 
To back up a copy of the Oracle control file, you need to specify a file
path where Oracle can write a copy of the control file.
 
Please enter the file path where Oracle is to write a copy of your
control file? /dbhome/oracle/orac901/admin/orac901/pfile/cntrlorac901.ora
 
To back up the Oracle archive logs, you need to specify their location.
 
 
Enter the directory path to your Oracle archive logs? 
/dbhome/oracle/orac901/admin/orac901/arch
 
Do you have more archive log locations? (y/n): n
 
Do you want the output of successful executions of the NetBackup
scripts mailed to you? y
Please enter the mail address to send it to? jdoe@company.com
 
Do you want the output of unsuccessful executions of the NetBackup
scripts mailed to you? y
Please enter the mail address to send it to? jdoe@company.com
 
There are 4 backup methods to choose from:
   ALTER_TABLESPACE      - Use alter tablespace begin backup method
   NODATA_CKPT_HOT       - Use alter tablespace begin backup with nodata ckpts
   SHUTDOWN_CKPT_RESTART - Shutdown, create the ckpt clones, and restart
   SHUTDOWN_BKUP_RESTART - Shutdown the DB, backup, and then restart
If one of the methods requiring DB shutdown are selected, you may experience
problems with timeouts if the database can't be shut down in a timely
manner. You may want to change the shutdown command in the notify scripts to
shutdown immediate, or you may have to increase the BPSTART_TIMEOUT value in the
bp.conf file on the primary server, or you may want to change the backup
method to ALTER_TABLESPACE or NODATA_CKPT_HOT.
Note: the default BPSTART_TIMEOUT value is 300 seconds.
 
Do you want to use the ALTER_TABLESPACE method? y
 
You now need to decide on how many NetBackup policies you will have
backing up simultaneously. The first one you enter will be known
as the POLICY_IN_CONTROL in the scripts and will perform any needed
DB operations. When you create the policies on the NetBackup server,
you will have to divide the filesystems between these policies.
 
Please enter the name of the policy that will be the POLICY_IN_CONTROL? BLI_1
Please enter the name of another policy or DONE to stop? BLI_2
Please enter the name of another policy or DONE to stop? BLI_3
Please enter the name of another policy or DONE to stop? BLI_4
Please enter the name of another policy or DONE to stop? BLI_5
Please enter the name of another policy or DONE to stop? BLI_6
Please enter the name of another policy or DONE to stop? DONE

More Information

Creating NetBackup policies for script-based BLI backup

Example Oracle BLI backup policy

About script-based Block-Level Incremental (BLI) Backups without RMAN

Feedback

Was this page helpful?
Previous

About BLI notify scripts for other policies

Next

Performing backups and restores

Feedback

Was this page helpful?