Create a directory to the target where you wish to take the backup as
mkdir abc
cd abc
mkdir backup
cd backup
pwd
/abc/backup
Now set the ASM environment and execute as root user for GRID backup
tar -cvpf /abc/backup/abc_GRIDBKP.tar $ORACLE_HOME
and for RDBMS set any DB environment and as a oracle user
tar -cvpf /abc/backup/abc_RDBMSBKP.tar $ORACLE_HOME $ORACLE_HOME
No comments:
Post a Comment