How to backup standby instances in Oracle

This article is for Amanda Enterprise (AE)

Info Type: Tip

Info Description:

Since AE supports hot Oracle backups, backup script automatically STARTUP the instance before doing the backup. If the database(s) is/are already in STARTUP mode, the script safely exits out with status “Database already running”. However, in some situations if you don’t want the databases to STARTUP and want to backup databases in a standby mode, you can comment the STARTUP from “amrman” script on Amanda Server as shown below:

# cd /usr/lib/amanda/application
# cp amrman
# sed -i 's/STARTUP/#STARTUP/g' amrman