RE: Creating Grid backup jobs through a script

From: John Hallas <>
Date: Mon, 2 Mar 2009 11:25:14 +0000
Message-ID: <>

Thanks for the response Ian,

Yes, I am aware that you can use the library, however that would still be a manually intensive job for a large number of backups whereas I thought it would be easier to create a script that could be run against the OMS to create a number of databases.

If it is possible then I would see no reason why it should not be supported, if a procedure did exist then it should be supported in my view.

The question is, does such a procedure exit?


-----Original Message-----
From: Ian Cary [] Sent: 02 March 2009 10:24
To: John Hallas
Cc:; Subject: Re: Creating Grid backup jobs through a script

When you say creating a job using a script I assume you have an issue with using the Job Library and "Create Like" - is there a rason why?

I expect using a script you could update the Grid repository directly but I'm fairly sure you would be unsupported if you did. Having said that our security policy here requires all passwords to be changed every 90 days so I have written a script that updates the preferred credentials directly when this happens - changing them for over 50 databases is not something I want to do manually.



I am looking at how to consolidate various RMAN backups to be scheduled and managed through Grid. Currently we have a mixture of Grid, crontab and 3rd party schedules running RMAN jobs.

I am guessing that there must be a method of creating a grid job by using a script containing all the credentials, database name, backup type etc but I don't think I have ever come across any information around this.

Has anybody got any suggestions or even better an example.

Wm Morrison Supermarkets Plc is registered in England with number 358949. The registered office of the company is situated at Gain Lane, Bradford, West Yorkshire BD3 7DL. This email and any attachments are intended for the addressee(s) only and may be confidential.

If you are not the intended recipient, please inform the sender by replying to the email that you have received in error and then destroy the email. If you are not the intended recipient, you must not use, disclose, copy or rely on the email or its attachments in any way.

Wm Morrison Supermarkets PLC accepts no liability or responsibility for anything said in the email or its attachments and gives no warranty as to accuracy. It is the policy of Wm Morrison Supermarkets PLC not to enter into any contractual or other obligations by email.

Although we have taken steps to ensure the email and its attachments are virus-free, we cannot guarantee this or accept any responsibility, and it is the responsibility of recipients to carry out their own virus checks.

Received on Mon Mar 02 2009 - 05:25:14 CST

Original text of this message