Created
September 13, 2016 23:11
-
-
Save sravanrox/c59bc723dad939501a227b0d9d399707 to your computer and use it in GitHub Desktop.
To be used with ASM archive log backup script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ORACLE_SID=+ASM1 | |
ORACLE_HOME=/u01/app/11.2.0.4/grid | |
ASMCMD="/u01/app/11.2.0.4/grid/bin/asmcmd" | |
export ORACLE_SID | |
export ORACLE_HOME | |
$ASMCMD << EOF | |
du +reco_dg/pdwh/archivelog | |
exit | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment