Created
July 18, 2017 02:28
-
-
Save aoflima/30f7f03efc0fc7947ba80d44dc0c57f9 to your computer and use it in GitHub Desktop.
ORA-00257: archiver error – FRA Clean Up emergency
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
JDEPROD@xxxx-/cloudfs/DBA/scripts$ cat delete_arch_logs.sh | |
export ORACLE_SID=JDEPROD | |
export ORAENV_ASK=NO | |
. oraenv | |
$ORACLE_HOME/bin/rman target / << EOF | |
run | |
{ | |
crosscheck backup; | |
crosscheck archivelog all; | |
delete noprompt expired backup; | |
delete noprompt expired archivelog all; | |
} | |
exit | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment