Skip to content

Commit b26c627

Browse files
committed
Remove catalog keyword
1 parent b93c420 commit b26c627

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

playbooks/oracle_remove_orphan_backups/remove_orphan_backups/files/create_rman_deletion_script.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ export PATH=$PATH:/usr/local/bin;
1919
export ORAENV_ASK=NO ;
2020
. oraenv >/dev/null;
2121

22-
if [[ ! -z "$CATALOG" ]]
23-
then
24-
get_rman_password
25-
CATALOG_CONNECT_STRING="connect catalog rcvcatowner/${RMANPASS}@${CATALOG}"
26-
fi
22+
get_rman_password
23+
CATALOG_CONNECT_STRING="connect rcvcatowner/${RMANPASS}@${CATALOG}"
2724

2825
# We can potentially safely remove backupsets for all Orphan incarnations
2926
# but we limit ourselves to those that are also older than the recovery window

0 commit comments

Comments
 (0)