Using the Scheduler to run the rman script directly stored in the recovery catalog

Hi everyone, I usually automate my backups rman, using either cron or dbms_scheduler to call my stored in a sh file NIX rman scripts.  Everything works fine but anyone know how / if it is possible to call a stored in the recovery catalog rman script. Let's say I have create a script in the catalog:

RMAN > create script showall

Comment "just one example of demonstration."

{

VIEW ALL;

}

Can I use dbms_scheduler to call this script directly? If Yes, how and if not then how can we plan for this or a stored script stored in the rman catalog catalog.  Been looking all over the place, but everything seems to indicate leaving Oracle to call .sh or .bat file.

Kind regards

Dave

Well, let us know the result.

The link you supplied refers to 12 c Scheduler improvements it seems, it may not be applicable to lower versions of Oracle.

Tags: Database

Similar Questions

  • RMAN cloning using the recovery catalog

    Hi all

    I do RMAN cloning using the recovery catalog.

    I use oracle 10R2 on solaris, I have a PRIMARY primary database name. I create another database for the catalog name of recovery REC_DB. and the master database with REC_DB record and took the full backup. now I have a full backup of the PRIMARY database in the recovery catalog.

    Now I want to clone the MAIN database using this backup (backup of the catalog).

    I've done this before, without using the catalogue,

    I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.

    RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.

    here target means what? primary or catalog database. kindly help me on this.

    Kind regards
    Kumar

    >

    >

    I know that the orders and the cloning procedure, I want to ask how to connect from the auxiliary.

    RMAN target sys/password@source_DB_string auxiliary sys / password@clone_DB_string *.

    here target means what? primary or catalog database. kindly help me on this.

    Looks like it is exactly what you were asking.

    You need to connect to the TARGET, CATALOG & AUXILIARY of the rman prompt instance.
    You then run your script/command clone, which you claim you already know how to do.

  • Can us refresh database using the recovery catalog?

    Hi all, I need update the dev of database using the prod database backup, we have TSM server and database of separate catalog for storing backups. No, my doubt is, we can update database dev using catalog, which has the backup of all info the prod

    In my previous organization, we used to copy the backup of the prod dev we restore and recover it in dev db. But in this organization, we have a TSM server that stores all backups of prod and dev.

    Please tell me we can update dev db using info catalogue simply and without copying backups of prod? If possible how?

    Thank you

    Harish

    user8596912 wrote:

    Yes I know that the content of the rman script.

    But we have not, so how can we be expected to comment on?

    My question is that the connection to the rman is good or bad?

    It would depend on the content of the script you do not think that we need to see.

    In the end, you can determine whether this is good or bad by testing.

    Because the rman is not connected directly to the target db prod.

    Have you read the link I gave you?

    I would limit for you: a database mirroring

    The docs in detail how to duplicate a database

    1 - active database

    2 - from a backup WITH a connection target (the database prod)

    3. from a backup WITHOUT a connection target (the database prod) but WITH a recovery catalog connection

    4 - from a backup WITHOUT connection AND connection catalog recovery target (the database prod)

    BTW, why you score your own messages as 'useful' to your own problem?

  • How to monitor all RMAN operations using single script in the recovery catalog?

    I use the rman recovery catalog, all databases are stored on the catalog database, is there any script to monitor all the databases that are registered in the recovery catalog.

    I have the script that displays only the last time success of the work of recovery catalog

    SELECT name, Inc., Journal, ctl
    Of
    RMAN.rc_database d,
    (select db_id, to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS') full)
    of s rman.rc_backup_set
    where s.backup_type in (')
    and controlfile_included = 'NONE '.
    Db_id group) f.
    (select db_id, to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS') Inc.)
    of s rman.rc_backup_set
    where s.backup_type ('i')
    Db_id group) i.
    (select db_id, Journal of to_char (max (START_TIME),' MM/DD / YYYY:HH24:MI:SS'))
    of s rman.rc_backup_set
    where s.backup_type ('l')
    l band db_id),
    (select db_key, ctl to_char (max (completion_TIME),' MM/DD / YYYY:HH24:MI:SS'))
    of s rman.rc_backup_controlfile
    Db_key group) c
    where f.db_id (+) = d.dbid
    and i.db_id (+) = d.dbid
    and l.db_id (+) = d.dbid
    and c.db_key (+) = d.db_key
    order by 1;

    Published by: 987633 on February 12, 2013 09:03

    Real!

    Difficult to shoot everything I want in a single query.

    select
            db_name,
            start_time,
            end_time,
            status,
            time_taken_display,
            output_bytes_display,
            output_device_type,
            session_key,
            session_recid,
            session_stamp
    from rc_rman_backup_job_details where end_time > sysdate -1
    

    Best regards

    mseberg

  • RMAN - 06004:ORACLE error in the recovery catalog. ORA-00904: invalid...

    Hello all,.

    One of our backups RMAN fails with the following error message. Any suggestions would be greatly appreciated.

    ==================================================================================================

    From backup 2008-12-30 22:03:47
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to 2008-12-30 22:03:47
    RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

    RMAN >
    RMAN > #BACKUP # ARCHIVELOG delete all '% d_bkp_al_ % t_Set % s_Piece %p' entry FORMAT;
    2 >
    3 > # DELETE ARCHIVELOG until ' SYSDATE-7 ";
    4 >
    5 > # check if the database can be restored
    6 > RESTORE DATABASE # VALIDATE;
    7 >
    8 > # check if controlfile can be restored
    9 > #RESTORE # CONTROLFILE to ' / backups/admin/custpr/custpr_bkp_cntlfile.ctl' VALIDATE;
    10 >
    11 > # check if archivelogs for these past two weeks can be restored
    12 > # RESTORE ARCHIVELOG FROM TIME ' SYSDATE-7' VALIDATE ';
    13 >
    14 > #-check all backups on backup media are intact
    15 > # CROSSCHECK BACKUP OF DATABASE;
    16 >
    17 > #-display based on a list of files that need to be stored on the retention
    18 > policy #. For this case study, the files that do not have at least 1 backups
    19 > # will be reported.
    20 > REPORT NEED backup.
    RMAN retention policy apply to the order
    RMAN retention policy is set to 7 days recovery window
    Report of the files whose recovery needs more 7 days of archived newspapers
    Days of files name
    ---- ----- -----------------------------------------------------
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of command report at 2008-12-30 22:03:48
    RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

    RMAN >
    RMAN > #-remove unnecessary backups. This command deletes the backups based on the
    2 > retention policy of #.
    3 > # commented DELETE OBSOLETE - TSM not configured to remove on 68
    4 > #DELETE # OBSOLETE;
    5 >
    6 > #-complete list of the existing backups
    7 > LIST BACKUP;
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the list command at 2008-12-30 22:03:49
    RMAN-06004: the recovery catalog database ORACLE error: ORA-00904: invalid identifier

    RMAN >
    RMAN > # end of file.
    2 > * end-of-file *.

    RMAN >

    Published by: ORA_UMAIR on December 31, 2008 07:51

    No help is possible.
    You publish a file of newspaper only, and can not see the command that failed.
    Also you include, contrary to the recommendation in the post on Forums label, the complete version number of 4-digit.
    This is important because they either has an error in your script that does not find RMAN or you hit a bug.

    -----
    Sybrand Bakker
    Senior Oracle DBA

  • Satellite Pro A60 EN does not start after you have used the recovery CD - isapnp.sys missing or damaged

    Help am stuck with it.

    Necessary to perform a recovery on the laptop and used the recovery CD 2 they seem to work OK. No error during installation, but after that they finished and it restarts didn't get the following message.

    Windows could not start because the following file is missing or corrupt:
    System32\drivers\isapnp.sys

    You can attempt to repair this file... etc but I don't have any original installation CD all have is the recovery for the Toshiba.

    I have a setup of Windows XP for the PC disk, but when I try to run which, but it starts just the configuration. Setup is loading files and after the kernel debugger get error

    "File ntkrnlmp.exe could not be loaded.
    The error code is 4, sometimes it's 7.

    I tried to delete and recreate and formatting partitions, so I can see and I can copy a file to the C: drive

    So any suggestions as to what wrong here

    Thank you very much

    I put t know if this Microsoft Knowledge base article would be useful for you, but you should check it out.

    [You receive a "Windows didn't start because the following file is missing or corrupt: Isapnp.sys" error message at startup | http://support.microsoft.com/kb/315311]

    Microsoft has a solution, and I would like to know if you can solve this problem by following the steps of the solution described in the article.

    Feedback would be much appreciated

  • Re: Cannot use the recovery on Satellite L505D partition

    Hello.

    I am trying to help a friend with their Satellite L505D who had a serious virus problem. I wasn't able to run/install programs with the virus on it. I used a Microsoft tool to remove the rootkit trojan, but I always had problems with viruses. I also lost most of the programs on the computer. All folders were empty (except for some games), so I could not access all of the tools in this way. I could not the machine to load any Toshiba restore utility by pressing zero everything with power. I saw some recovery using F8 during the startup options and had a link to restore the original setting of Toshiba, but clicking that choice has done nothing else a break for a few seconds. I waited several minutes, clicked on it again, rebooted and tried. Nothing. As a side note, once all the while, the recovery partition was visible from explorer.exe. Not before or since.

    So I reformatted the computer with a 64-bit Win7 Home Premium Upgrade disk (the partition of restoration by leaving intact) and then enter the key for the system. Supprise, supprise, it asks me to activate within 3 days.

    My basic question is, can I access this partition recovery in a different way to use it? IE copy its contents, or start on some comand prompt to log e:?

    Thanks in advance for your suggestions.

    Hello

    To be clear: there is only one way to use the saved on the HARD drive recovery image and install it.
    Exact description step by step how you can read on http://aps2.toshiba-tro.de/kb0/HTD1303440001R01.htm

    If this does not work, only way to do it anyway is to use the recovery DVDs. It is: has your friend created these disks?

  • Re: Portégé R700 - 15 p - cannot use the recovery on SSD 64 GB cd

    Hello

    I replaced my HARD drive to a low size of 64 GB SSD.

    Unfortunately I can not run the recovery cd, he stuck with the error "not enough space".

    I found that I got stuck when he tries to create the DATA partition (for storing the HDDRecovery)

    Any help is appreciated.

    Thank you

    Please don t create all partitions if you want to use the recovery image. Before installation of recovery partitions will be created automatically and recovery image will be copied on SSD automatically too. So please don t do something.

    Launch the installation of recovery, follow the on-screen menu and choose State factory installation.

  • How do I use the recovery folder on the HDD repair Satellite A300

    Hi all

    I have Toshiba satellite A300, model No. PSAGCE-00C006AR,.

    My operating system is windows Vista Home premium.
    Recently, I was working on battery when my system is closed.

    When I connected charger and power he found that the display shows the message (Please wait) forever and does not allow me to enter my password.
    When I press the power button to shut down my PC and reboot in safe mode, I can enter my password and connect to my PC, and however, when I connect to the PC shows only black screen with pointer and nothing more.
    Start button does not respond, the icon my computer or all other icons do not appear on the desktop.

    I did the following steps in trying to repair my PC: -.

    1 I restarted my PC in safe mode with command prompt, you try to run chkdsk/r, however I got the error message that the disk is protected and that I can demand that it runs at the next reboot. I typed Y and restart, but chkdsk does not work although I restarted 2 times.
    2 I restarted my PC and select advanced option then startup repair problem, then I got the message that no problem was found.
    3 I also tried Toshiba HDD recovery, but could not find any folder recovery although there is about 1.5 GB partition that has everything.
    4 I tried the windows complete PC Restore, but I received a message that (a valid backup not found)
    5 that my PC is come without recovery CD, so I borrowed an and restart my PC from the CD and repair selected... etc, however I got the error message that the disk is write-protected once again.

    Any advice how I can get my rear work system will be appreciated and how do I use the recovery folder on the HARD disk and avoid the write-protected message?

    Best regards
    Alaa Mostafa
    [email protected]

    Hello

    Of course I don't know what the problem is exactly, but I'm confused on a few other facts.
    The fact is that Toshiba has created the reminder that informs the user on the first day that Toshiba doesn't offer the recovery DVDs and it is recommended to create such a DVD support immediately.

    Question about you: you created this recovery media?

    The Toshiba recovery image has nothing to do with the WinRE Vista 1.5 GB partition. Partition WinRE Vista feature. On new models of laptops Toshiba recovery image is saved in folder HDDRecovery on the second partition. If touch you didn t and if you didn t change anything with partitions you should be able to install Vista using this recovery image.

    After your computer is turned on press F8 and choose the first option (if available) computer repair. You can enter the Vista System Recovery Options. The last option should be Toshiba Recovery. If you didn t change anything, this option will be available.

    Check it out!

  • Can satellite A210 - 11K - I recover my data before using the recovery disk?

    Hello

    Basically, my laptop has been slain in a loop of startup repair so my only option is to use the recovery CD. However, I have some files I have not back upward until my laptop decided to do not on me. Is there a way in which I can retrieve these files while at the same time fixing my laptop?

    I am running Windows Vista SP1.

    Thanks for any help,

    Felix

    Hello

    You can save your data if you put the HARD drive into an external HARD drive enclosure. Then, you can connect it to a laptop or PC and you can save the data on it or burn it to a DVD.
    All that s!

    These cases of disc HARD external are very good markets. I bought my drive enclosure external HARD on eBay and it s works well.

    But there is no other way to save the data as the Toshiba recovery disc erase the whole HARD drive and every disk HARD will be erased.

    Welcome them

  • Satellite L300-1BW - can I use the recovery DVDs?

    is it possible to use the recovery DVD on my laptop TOSHIBA L300-1BW without any recovery / hidden data on my HARD drive?

    As I want to update my player running more space

    Hello!

    I don't know if I understand your question right, but you can use the recovery disk for your laptop on every time Mr. He s not depending on the partition or HARD drive.

    For example, when you replace the HARD drive, you can install the laptop using the recovery disk.

    I hope I could help a bit.

    Good bye

  • Equium A100-338 has started to go very slow after using the recovery CD

    I used the recovery CD after my Equium A100-338 has started to go very slow, it still seems slower than it used to be.
    I haven't added anything to the computer from the CD recovery and verified the Manager tasks to see if I could spot anything suspicious.

    Statistics say, use 18-22% CPU, but the physical memory is about 68% is this normal or should it be less?

    Is there a list of standard processes I can check against mine to see if its doing something, it shouldn't be?

    Thank you

    Hello

    I think you feel that unity is a bit slow due to the high amount of different processes that run in the context of the BONE.

    The fact is that your laptop supports various features such as buttons FN, Toshiba control buttons, etc.
    All this has needs drivers.

    In addition, as I m not wrong the Norton Internet Security has been installed on your system.
    It s part of the image of Toshiba and this tool could affect the performance of the system.

    I have used in the past, but now changed to another application that doesn t need a lot of material resources.

    So if you want you can disable or delete some of the tools and utilities that are not important to you and could clean the system using a 3rd third party tool called CCleaner

    Welcome them

  • Not possible to use the recovery CD - frezzes at 25%

    I tried to use the recovery disk to format my hard drive and get my laptop cleaned, but it froze to a little less than 25%. So I turned off and tried to run again, but when he arrives at the same point (about 25%) happens almost mistake any key.?

    It is said

    command line arguments: - clone, mode is pload, src = x: \01367000.gho:1, dst = 1:1 - batch

    as you can tell I'm not steven hawkins, so any help would be greatly appreciated!

    Hello Stephen,

    There are two possibilities: -.

    1. your recovery CD is damaged in any way and cannot be read successfully during the restore process.

    2. you have a problem with your hard drive, and the restore process cannot write to it.

    It is not easy to say what problem you have, but if you look closely at the restore process you should notice a change in his behavior just before that the error message occurs. Hopefully this should help you decide what problem you have.

    Check if the light on your optical drive adopts a regular flashing sequence. This indicates an error reading the CD. Otherwise, if your hard drive takes a distribution of ordinary light and a light tapping its that may indicate a hard drive problem.

    Good luck

  • Desktop HP pavilion s5-1540: using the recovery disk

    I have the recovery disc I made when I got this pc.

    Now, I need to use.  I started the pc with the disc, but nothing happened.

    Can I get advice on how to use the recovery disk?

    Note.  I'm not very computer savy.

    I sent my pc in for repair to a place of repair no HP (insurance).  They have installed a generic operating system but there is no program file.  I want my pc as it was when I got it.

    I can't get these disks to run.

    any help is much ajppreciated.

    Insert the recovery disk 1 in the drive, restart the PC, when you see the HP logo screen start to type F9 on the keyboard, this should load the Boot Manager, and then highlight (using up/down keys) internal CD-ROM drive cd/dvd and press ENTER, it will now boot from the recovery disc 1 and we hope to start the restore process.

    It is a long process not to disturb the tactile keys or pc, while he recovers, it will reboot several times on his own, you know when it is done when it asks you to set up the pc for first time use.

    Make sure that the recovery discs are clean before you start.

  • error code cooD11BA... lost all my audio after I used the recovery disc 4

    I lost all my audio after using the recovery disc (4). COOD11BA error code

    Hi fluffy444,

    Step 1: We recommend first to install the sound card driver and check the result.
    a. check the sound card manufacturer or system to download the driver.
    b. Once you have downloaded the correct driver for your windows, install successfully.
    c. restart the computer and check the result.

    Step 2: If the problem persists, try running the troubleshooter from his Microsoft and check the result
    a. see How to fix the sound problems in Windows XP
    b. click Microsoft hotfix and run the tool successfully.
    c. follow the instructions on the tool and check the result.

    See also: Troubleshooting Audio in Windows

    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for