Use this script to put an Oracle database into hot backup mode.
#!/bin/ksh # # script: backup_start.sh # # Sample script to put example Oracle database into hot backup mode. export ORACLE_SID=dbase export ORACLE_HOME=/oracle/816 export PATH=$ORACLE_HOME/bin:$PATH svrmgrl <<! connect internal archive log list; alter tablespace ts1 begin backup; # . # . Put all required tablespaces into hot backup mode # . alter tablespace tsN begin backup; quit !