CHAPTER 9Scripting RMAN

Although RMAN allows interactive commands to be entered from the command line, there is little use for some of them in real life, especially for the commands that back up the database. In almost all cases, you'll want to automate your processes to back up your databases, delete archived redo logs, and so on. You should set up these tasks in such a way that they can run without any human intervention. This means you need to script RMAN commands, and the scripts need to be run by some sort of automated scheduler such as cron. In this chapter, you will learn different ways to script and schedule RMAN commands, both in Unix and in Windows.

Approaches to Scripting

RMAN provides for several approaches to scripting. We discuss ...

Get RMAN Recipes for Oracle Database 11g: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.