Hello all,
I need a script to parse the backup logs. I am newbie to scripting, please help.
Hello all,
I need a script to parse the backup logs. I am newbie to scripting, please help.
Hi.
Your question is far too vague to even think about beginning to think about answering.
What backup log (or log backup)? What does the log file look like? What do you want to extract from it?
Please show a part of the log file, and what output you hope to get.
I am sorry. I am very new to this scripting and database too. So I don't know exactly how to ask a question.
Looking for backup logs to parse.
When I checked filename.arc I couldn't able to read anything. How can I check the log file?
Many different applications can create .arc files.
Which application created yours?
.arc files are created when we take archive log backup
I should have been more specific myself.
What OS are you using, and what backup software?
HP-UX and RMAN
---------- Post updated at 03:23 PM ---------- Previous update was at 03:21 PM ----------
I'm looking for general script not specific. I try to edit or build myself by looking at that. If I couldn't able to succeed then I may need your help. Thank you very much for your quick replies and being patient. I really appreciate it.
Assuming that this is about Oracle (version unknown) and the Recovery Manager (aka. RMAN).
The .arc files from RMAN are archive files. They are not logs. Afaik the logs from RMAN are held in database tables. Other posters will know more.
With such limited information, all we can suggest is to RTFM.
For example (without knowing the Oracle version, the platform, the Operating System, the Shell, or what the O/P is trying to do) ... this is a huge guess.
Oracle9i Recovery Manager Reference -- Contents
Oracle9i Recovery Manager User's Guide -- Contents
Oracle9i Recovery Manager Quick Reference
Full acknowledgement to anacedent on dbforums.com for the above links from 2004.