Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

****************I am authoring a Book on Oracle Database Cloud Services.......More details to follow.***************

Title : Oracle Database Cloud Revealed
Publisher : Apress
Release Date : Jan-2019

**********************************************************************************


Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]


My Cloud Certifications:
Oracle Cloud Infrastructure 2018 Certified Architect Associate.
Oracle Cloud Infrastructure Classic 2018 Certified Architect Associate.
Oracle Database Cloud Administrator Certified Professional.
Oracle Database Cloud Service Operations Certified Associate.

Search This Blog

Tuesday, August 11, 2015

Create RMAN backup script.

Connect to catalog & Target database:

[oracle@collabn1 config]$ rman

Recovery Manager: Release 11.2.0.1.0 - Production on Tue Aug 4 14:22:45 2015

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

RMAN> connect catalog rcuser/rcuser@prod1

RMAN> create script whole_backup{
allocate channel ch01 type disk format '/u10/backup';
backup database plus archivelog;
}

created script whole_backup

RMAN> list script names;

List of Stored Scripts in Recovery Catalog


    Scripts of Target Database ORCL

      Script Name
      Description
      -----------------------------------------------------------------------
      whole_backup

RMAN> print script whole_backup;

printing stored script: whole_backup
{
allocate channel ch01 type disk format '/u10/backup';
backup database plus archivelog;
}

RMAN>

No comments: