Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005
    Posts
    2

    Unanswered: Verifying RMAN backup completion

    Does anyone know how to search for strings in the RMAN backup log to verify the backup completed successfully, or failed. I was thinking of using grep or sed to find phrases like "ORA-", "RMAN-", "failure of ...", Recover Manager Complete", "Target database", "No such file or directory"

    Thank you
    John Ellis

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool


    In Unix you can check for return code -gt 0:
    Code:
    rman ...
    if [ $? -ne 0]
    then
      echo "rman error"
    fi
    In WinDoze check for %ERRORLVL% -gt 0.

    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •