Backup of 500GB Database

Hi Guys,
Database: 10g
OS: RedHat 4
Archive log Mode: Enable
I want to implement backup strategy of 500 GB database for daily, weekly and monthly.
Please suggest your opinion.
Regards,
Prathmesh.

Here is an example of how you can take a rman backup.Using this you can prepare a script.If you have a grid control you can schedule from grid control as well.Please note the below script implements a no-catalog backup.
# To Take the Database Backup.
$ORACLE_HOME/bin/rman target=/ nocatalog log=${LOGFILE} <<EOF
run {
sql 'alter system switch LOGFILE';
allocate channel c1 type disk;
allocate channel c2 type disk;
backup
incremental level ${LEVEL}
format '${dest_bkpdir}/${ORACLE_SID}%s_%p_%t.rmn'
filesperset 5
(database include current controlfile);
sql 'alter system archive log current';
backup archivelog all skip inaccessible format '${dest_bkpdir}/${ORACLE_SID}_ARCH_%s_%p_%t.rmn'
release channel c1;
release channel c2;
Edited by: [email protected] on May 23, 2010 12:24 PM

Similar Messages

  • How can i do a RMAN backup of my database from the network ?

    i'm using oracle 8i.1.7.3 with win server 2003
    i want to know how can i do a RMAN backup of my database (sever machine A) from the network.
    i'd like to save the backup in another machine (the same LAN, the same OS ).
    to do that i've mapped a logical device in my comptur (z):
    when i run rman command i got this error:
    channel ORA_DISK_1: starting piece 1 at .......
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command ON ORA_DISK_1 channel at .......
    00
    ORA-19504: failed TO CREATE file "\\remote\save\"
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 123) The filename, directory name, or volume label syntax is inco
    rrect.

    Hi,
    ORA-19504: failed TO CREATE file "\\remote\save\"make sure you have created this directory and change it's ownership (chown command)to oracle.
    also make sure that oracle user has permission to write to this direcotry (chmod command)
    hope this helps
    cheers, walrus

  • How to take a Hot backup of Oracle database

    1: put the db in archive log mode
    2: set the db_sid to correct one
    3: login to sqlplus
    4: verify the name of the db that you are connected to
    select name from v$database;
    5: check if the db is in archive log made
    select log_mode from v$database;
    if not in archive log mode
    another command to check
    archive log list;
    6: find where on disk oracle writes archive log when it is in archive log mode
    sql> show parameter log_archive_dest_1;
    if the value is found to be 0, that means no values will be recorded, so we need to change it
    sql> alter system set log_archive_dest_1='LOCATION=c:\database\oradata\finance\archived_logs\'
    scope=spfile;
    7: shutdown immediate; < this is done just to prepare the db for hot backups >
    8: startup the db in mount mode
    startup mount;
    ( 3 startup types : nomount - just starts the instance, mount - locates the control files and open up according to the values, open - finds the datafiles from the control files and opens up the db )
    9: put the db in archive log mode
    alter database archivelog;
    10: open the database
    alter database open;
    11: check the status of the db
    select log_mode from v$database;
    SQL> archive log list;
    12: create a directory for archived log
    check if its empty, if empty we need to switch
    sql> alter system archive log current;
    run it 5 times < need to put / and enter > , then check the archive log dir , we will find files
    13: make a table in the database and insert data in it
    create table employees (fname varchar(2));
    check the table
    desc employees;
    insert values
    insert into employees values ('Mica');
    14: tablespace must be in hot backup mode
    check the status
    select * from v$backup;
    if found not active, then we need to change
    we cannot put the db in hot backup mode, unless it is archive log mode
    change to hot backup mode
    alter database begin backup;
    check the status
    select * from v$backup;
    15: now we can only COPY DBF FILES
    copy *dbf <distination location>
    16: need to take the db out to hot backup mode
    alter database end backup;
    17: need to make another archive log switch
    alter system archive log current;
    18: need to copy control files now, need to do a binary bckup
    alter database backup controlfile to '<location>\controlbackup';
    19: insert more values to the table
    insert into employess values ('NASH')
    COMMIT;
    make another archive log switch : alter system archive log current;
    do the same process for more values
    20 : backup all the archive logs to a new location
    21: shutdown the db and simulate a hw error, delete all the files from the database folder
    22: try to start the sqlplus and db ::: error
    23: copy all the backups to the db dir
    need to copy the control files, rename the binary backup of the control file and make the copies as needed
    24: try to mount the db, error < must use reset logs or noreset logs >
    25: need to do a recovering of the database
    shutdown
    restore the archive logs
    startup mount;
    recover database until cancel using backup controlfile;
    it will ask for a log file :
    yes for recovery
    cancel for cancelling recovery
    26: check status: open the database in readonly
    alter database open read only;
    check the tables to see the data
    shutdown immediate
    shartup mount;
    recover again : recover database until cancel using backup controlfile;
    if oracle is asking for a log that do nto exist , all we have to do is type cancel
    27: open the database
    alter database open;
    need to do reset logs
    alter database open resetlogs;
    28: check the db that you are connected, check the tables
    thanks and regards
    VKN
    site admin
    http://www.nitrofuture.com

    A very long list ... let me make it shorter.
    SQL> archive log list;If I see this:
    Database log mode              No Archive ModeI put the database into archivelog mode and leave it there forever.
    If it is in archivelog mode:
    RMAN> TARGET SYS/<password>@<service_name> NOCATALOG
    RMAN> BACKUP DATABASE PLUS ARCHIVELOG;Though there are a lot of things one could do better such as incrementals with block change tracking, creating an RMAN catalog, etc.

  • Backup of mirrored database is not possible?

    Hi Please correct me,
    backup of mirror database is not possible right?
    Thanks
    Shashikala
    Shashikala

    Hi Shashikala,
    While a database mirroring session is active, the mirror database is in a recovering state and it is not accessible. Thus as Ashwin’s post, backup and restore of the mirror database is not allowed. In addition, you need to note the following things:
    •Backup of the principal database is allowed, but BACKUP LOG WITH NORECOVERY is not allowed.
    •Restoring the principal database is not allowed.
    For more information, you can review this article:
    Database Mirroring and Backup and Restore.
    Thanks,
    Lydia Zhang

  • T-SQL: Manual Backup of Multiple Databases

    I am looking to change the way I do manual backups of multiple databases on the same instance of SQL Server 2008 R2.
    Currently I have T-SQL scripts for each database that look like this:
    BACKUP DATABASE [mydbname]
    TO DISK = N'D:\backup\manual\2014-01-01_1618\mydbname_2014-1-01_1618.bak'
    WITH NOFORMAT,
    NOINIT,
    NAME = N'mydbname-Full Database Backup',
    SKIP,
    NOREWIND,
    NOUNLOAD,
    STATS = 10
    GO
    But there are six of these scripts, one for each database. Now in another language and my past programming experience I would just use an array of database names and a loop, so that BACKUP DATABASE would only exist once in the script, but be executed multiple
    times, once for each database name in the array.
    I have such a very limited understanding of T-SQL, but I am guessing there is a completely different paradigm for the equivalent of, say, a for loop.
    I'd also like a solution where the date_time directory for the output of each backup to be dynamically generated. Instead of having to pre-create the dirs myself.
    Any help would be appreciated.

    I don't understand why you haven't been answered directly considering the simplicity of the question you are asking.  Maybe it's because I'm the only truly "old school" DBA left.  I don't use the GUI based maintenance or performance tools included
    with SQL Server not because I'm "old school" but because every time I've tried the results have been mediocre at best and in an environment where critical data is on the line mediocre doesn't cut it.
    Since I've had this type of tool in my "tool box" for more than a decade allow me to share what I typically do in this type of situation...
    declare @DatabaseName nvarchar(50),
    @DynamicSQL nvarchar(4000),
    @FileNameDate nvarchar(18)
    declare Database_Cursor
    cursor fast_forward for
    select d.name
    from sys.databases as d
    where d.name in ('MyDB1', 'MyDB2', 'MyDB3', 'MyDB4', 'MyDB5', 'MyDB6')
    open Database_Cursor
    fetch next
    from Database_Cursor
    into @DatabaseName
    while @@fetch_status = 0
    begin
    set @FileNameDate = cast(year(getdate()) as varchar(4)) + '-' +
    right('00' + cast(month(getdate()) as varchar(2)), 2) + '-' +
    right('00' + cast(day(getdate()) as varchar(2)), 2) + '_' +
    right('00' + cast(datepart(hour, getdate()) as varchar(2)), 2) +
    right('00' + cast(datepart(minute, getdate()) as varchar(2)), 2)
    set @DynamicSQL = '
    BACKUP DATABASE ' + quotename(@DatabaseName) + '
    TO DISK = N''D:\backup\manual\' + @FileNameDate + '\' + @DatabaseName + '_' + @FileNameDate + '.bak''
    WITH NOFORMAT,
    NOINIT,
    NAME = N''' + @DatabaseName + '-Full Database Backup'',
    SKIP,
    NOREWIND,
    NOUNLOAD,
    STATS = 10'
    print @DynamicSQL
    --execute sp_executesql
    -- @DynamicSQL
    fetch next
    from Database_Cursor
    into @DatabaseName
    end
    close Database_Cursor
    deallocate Database_Cursor
    There are two items you need to change in the above script to make it do precisely what you are asking...
    This should be obvious but you need to change the where clause in the cursor definition to include the 6 databases you want o backup instead of leaving it as "where d.name in ('MyDB1', 'MyDB2', 'MyDB3', 'MyDB4', 'MyDB5', 'MyDB6')"
    I've commented out two lines of code in the script.  Those lines actually run the backup statements which are built by the cursor.  The lines I'm referring to begin with the "execute sp_executesql" statement.  I've commented those lines out
    because you'll need to test the code prior to using it.  The code as designed will output the backup statements it procedures allowing you to verify it.
    I hope that helps.

  • Old Toad's automator workflow to backup Library6.iPhoto database

    Dear Old Toad,
    I just today downloaded your workflow to backup the iPhoto database file, and am having problems making it work.
    When I run it, either from the dock or the script menu, it launches Automator but then closes without doing anything. I don't get a confirmation screen, and no copy of the database is created.
    So I opened it in Automator to see if editing it would help, even though my library is already named iPhoto Library and stored in user/pictures. When I dragged it onto the Automator window, there was only 1 action (Get Specified Finder Items) instead of the 4 that show up in the ReadMe. When I dragged it onto the Automator app to open it, I got nothing.
    I downloaded it via Firefox 3.0.1 and got a 1.1MB zip, and I tried downloading it twice in case it had corrupted in the download, but no change with the second try. Downloaded from here:
    http://web.mac.com/toad.hall/ToadsCellar/ToadsCellar.html
    Running OS 10.4.11, iPhoto 7.1.5, on a G4.
    Something else I can try?
    Thanks,
    Daiya
    Message was edited by: Daiya

    Yes. Run the application like you would use the Save command in other applications, often. Running it again will overwrite the current backup copy with a new backup that will include all changes you've made to your library, new pictures, deletions, slideshows, books, etc.
    I suggested keeping it in the dock so you can quickly run it after any changes you've made to the library. Being in the Dock makes it more convenient than having to go into the Application folder and launching it from there.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Export 500gb database size to a 100gb file system space in oracle 10g

    Hi All,
    Please let me the know the procedure to export 500gb database to a 100gb file system space. Please let me know the procedure.

    user533548 wrote:
    Hi Linda,
    The database version is 10g and OS is linux. Can we use filesize parameter for the export. Please advice on this.FILESIZE will limit the size of a file in case you specify multiple dumpfiles. You could also could specify multiple dump directory (in different FS) when given multiple dumpfiles.
    For instance :
    dumpfile=dump_dir1:file1,dump_dir2:file2,dump_dir3:file3...Nicolas.

  • Can I take a backup of a database in standby mode?

    Can I run backup on a database that is in standby mode because it is the DR box receiving log shipping?
    Does that work in SQL 2005?  How about SQL 2000?
    Thanks.
    Josh
    ps - I know I should just try it, I've already Googled it - with mixed results.

    https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=466121
    Please allow backup of database in standby mode!
    This comes up as a very common requirement in HA/DR planning. Logs are shipped over a (relatively) small pipe to a DR site, for days or weeks or months. As part of a (partial) failover plan, we need a full backup of a current version of the database to restore on another server on the DR side - but we cannot take the main DR (secondary) copy out of standby without breaking the log chain. Yes, we might have to pause the application of logs - or possibly not - in order to take the backup of a large-ish database. But the alternative is shipping a large backup all the way from production over that small pipe, which can be prohibitive.
    Thanks for the reminder, Tibor.
    Josh

  • How to backup an oracle database?

    I am running a oracle server on a windows box.
    using the oracle 92 management console and developer tools.
    Can someone instruct me on how to create a "job" that will backup my oracle databases on a daily basis?
    I am more used to MS-SQL and have no clue how to do it in Oracle.
    Thanks

    Hi,
    this is my weekly script to backup oracle database.
    i run it from cron so you can schedule it in win but you must do same change there
    #!/bin/bash
    . /etc/profile.d/oracle.sh
    TMPDIR=/opt/app/oracle/tmp
    $ORACLE_HOME/bin/rman target / nocatalog log=$TMPDIR/backup_full_`date +'%Y%m%d_%H%M'`.log >/dev/null 2>&1 <<EOF
    set echo on;
    show all;
    crosscheck archivelog all;
    crosscheck backup ;
    delete noprompt expired backup device type disk;
    backup device type disk database tag='FULL_BACKUP';
    backup device type disk archivelog all not backed up;
    delete noprompt obsolete device type disk;
    exit;
    EOF
    exit

  • What are the steps applying incremental backups to standby database 11g

    Hi All,
    I have built 11g none ASM standby database from ASM RAC Database. Now I want to apply incremental backup to the standby database from primary but not sure how to do it. I tried following and I had an error “ORA-01103: database name 'ins-prim' in control file is not 'ins-sec'”
    1- I have configured standby database with RMAN backup.
    2- After finishing installation, I took a incremental backup from primary server(ins-prim) and moved incremental backup and control file to the standby (ins-sec) database
    3- I stared standby database nomount mode
    4- restore controlfile from “incremental backup location in standby database”
    5- alter database mount; and got this error
    “ORA-01103: database name 'ins-prim' in control file is not 'ins-sec'”
    What are the steps applying incremental backups to standby database with 11g?
    Thank you

    I build the database from backup and changed from ASM to none ASM and changed location of data files and logfiles. I think this changes makes the standby database as logical one.
    You can a have a physical standby with different locations for everything (redo/controlfiles/datafiles), ASM and no ASM etc. I have a such a configuration in production (10gR2)
    I build the database from backup
    Are you sure you have a standby ? Ins-sec receives the archivelog files from the primary ? How did you proceed to build this database ? I suspect you don't have a standby at all ! If you have duplicated the database ins-sec and ins-pri are independent databases and you won't be able to apply an incremental backup (your script was not correct but it is another story)

  • Rman backup with  standby database

    Hi All,
    I am looking for some suggestions for rman backup with standby  database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at  sql 'alter system archive log current' in rman  with standby as target. which gives following errors  with or without noswitch clause
    RMAN> sql 'alter system archive log current noswitch';
    sql statement: alter system archive log current noswitch
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
    RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
    ORA-01109: database not open
    Recovery Manager: Release 11.2.0.1.0
    Oracle databaes  Release 11.2.0.1.0 64 bit
    OS:RHEL 6 x86-64 bit
    Secondly, do I need to cancel manged recovery while taking rman backups on standby.
    I scanned thru MOS but could find solutions for rman with active DG.
    Thanks in advance

    726d07e6-b870-431f-8c22-a499c3ec4e0c wrote:
    Hi All,
    I am looking for some suggestions for rman backup with standby  database with datagaurd but no active DG. I wanted to do a rman tablespace backup. but I am stuck at  sql 'alter system archive log current' in rman  with standby as target. which gives following errors  with or without noswitch clause
    RMAN> sql 'alter system archive log current noswitch';
    sql statement: alter system archive log current noswitch
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 10/05/2013 18:15:12
    RMAN-11003: failure during parse/execution of SQL statement: alter system archive log current noswitch
    ORA-01109: database not open
    Recovery Manager: Release 11.2.0.1.0
    Oracle databaes  Release 11.2.0.1.0 64 bit
    OS:RHEL 6 x86-64 bit
    Secondly, do I need to cancel manged recovery while taking rman backups on standby.
    I scanned thru MOS but could find solutions for rman with active DG.
    Thanks in advance
    "I scanned thru MOS but could find solutions for rman with active DG."
    Howto make a consistent RMAN backup in an Standby database in Active DataGuard mode (Doc ID 1419923.1)

  • Consistent Backup Of Online Database

    Hi
    How can I take consistent backup of online database.
    If I open database in read only mode and take RMAN backup + Full Cold Backup from operating system commands.
    Did the above backups will be consistent?
    If yes please advise how to alter the status of system to read only.
    Wishes
    Jawad

    Cold backups are known to be a consistent backups , while Hot Backups are not considerd as conssistent backups, you required archivelogs to make them consistent . I am bit strange that you are using two backup methods . I would suggest you to use Hot Backups , if you have production database , otherwise cold backups will do the trick for you .
    Hare Krishna
    Alok

  • Backup Analysis Services Database

    I am having an issue backing up SQL Server Analysis services Databases.  I have seen some threads on ensuring SQLServerAgent service account has write access to the folder containing the backup, be a sysadmin in SQL Server Instance, and be a server
    administrator in SSAS.  All are currently set.  An receive access Denied when backing up the database via SSMS, or via powershell using SMO/AMO.
    One thing that is odd, I can Backup the SSAS Databases to the folder containing the OLAP Logs without any problems, and the permissions are even more restrictive.
    I have other servers where we backup the SSAS databases just fine, and the Folder permissions, Database and SSAS are the same.  It's just 2 or 3 servers that we are having an issue, and we don't understand why.
    In the grand scheme of things what permissions are required to successfully backup SSAS Databases?
    SQL Server Instance Permissions
    SQL Server Analysis Services Permissions
    File and Folder Permissions
    Any other type of permission not mentioned above
    Any information would be appreciated.
    DJ

    Hi Donsjones,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    Regards,
    Charlie Liao
    TechNet Community Support

  • What commands used for taking backup of oracle database using BR*Tools

    Can somebody please help me urgently to know what are the commands used for taking backup of oracle database using BR TOOLS.Also specifythe commands in detail which can be used for taking backups of oracle database ,Online Redo log files in databse using BRBACK tool,Archiving of offline, redo log files using BRARCHIVE, and Restoring a Database using BRRESTORE tool Commands(Plese specify the commands with their Syntax used).Also specify the commands with their Syntax which are used for taking backup of oracle database(online,Offline redo log files) into Tapedrives using BRTOOLS commands.
    Thanking You for helping (in advance).

    Dear Ashish,
    BRBACKUP / BRARCHIVE calls the operating system command to copy the files.
    Simple approach to get the commands is as follows.
    1. Set the BR_TRACE (as given in the SAP note 29321) and run the command for which you need to know the OS / SQL commands.
    2. This will generate the log file with the trace information. This trace has the information of the commands used by the job you have run.
    Hope this helps.
    Regards,
    Madhukar

  • RESTORE BACKUP IN ANOTHER DATABASE

    Hi,
    I used RMAN to make a full backup of the a database production. Now, I need recovery this same backup in another database from test. It is in another machine. How can I do it?
    My work so far:
    - I copy de backups files to another machine, with another database which was installed a same version of the Oracle Database 10g.
    - I put the test database to run in archivelog mode
    And now?
    Sorry my english.
    Thanks
    Message was edited by:
    user523458

    Hi,
    Since 2 weeks ago, I´m trying clone a production database into a test database.
    I´m search, search so much and I did not arrive the place some. I write and execute the following script:
    ==========================================================================
    RMAN> run {
    2> SET NEWNAME FOR DATAFILE 1 TO '/u02/oradata/oralab/system01.dbf';
    3> SET NEWNAME FOR DATAFILE 2 TO '/u02/oradata/oralab/undotbs01.dbf';
    4> SET NEWNAME FOR DATAFILE 3 TO '/u02/oradata/oralab/sysaux01.dbf';
    5> SET NEWNAME FOR DATAFILE 4 TO '/u02/oradata/oralab/users01.dbf';
    6> SET NEWNAME FOR DATAFILE 5 TO '/u02/oradata/oralab/integracao.dbf';
    7> SET NEWNAME FOR DATAFILE 6 TO '/u02/oradata/oralab/legis_data.dbf';
    8> SET NEWNAME FOR DATAFILE 7 TO '/u02/oradata/oralab/NOVA_INTERNET';
    9> SET NEWNAME FOR DATAFILE 8 TO '/u02/oradata/oralab/legis_text.dbf';
    10> SET NEWNAME FOR DATAFILE 9 TO '/u02/oradata/oralab/log01.dbf';
    11> SET NEWNAME FOR DATAFILE 10 TO '/u02/oradata/oralab/tecwin_web.dbf';
    SQL 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    12> 13> 14> 15> DUPLICATE TARGET DATABASE TO ORALAB
    16> PFILE=/u01/app/oracle/product/10.1.0/Db_1/dbs/initoralab.ora
    17> LOGFILE
    18> GROUP 1 ('/u02/oradata/oralab/redo01.log','/u02/oradata/oralab/redo01b.log') SIZE 10M REUSE,
    19> GROUP 2 ('/u02/oradata/oralab/redo02.log','/u02/oradata/oralab/redo02b.log') SIZE 10M REUSE,
    20> GROUP 3 ('/u02/oradata/oralab/redo03.log','/u02/oradata/oralab/redo03b.log') SIZE 10M REUSE,
    21> GROUP 4 ('/u02/oradata/oralab/redo04.log','/u02/oradata/oralab/redo04b.log') SIZE 10M REUSE,
    22> GROUP 5 ('/u02/oradata/oralab/redo05.log','/u02/oradata/oralab/redo05b.log') SIZE 10M REUSE;
    23> }
    EXIT
    ==========================================================================
    And I obtained the following result :
    ==========================================================================
    executing command: SET NEWNAME
    using target database controlfile instead of recovery catalog
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    sql statement: ALTER SYSTEM ARCHIVE LOG CURRENT
    Starting Duplicate Db at 07-AUG-06
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=160 devtype=DISK
    contents of Memory Script:
    set until scn 213934104;
    set newname for datafile 1 to
    "/u02/oradata/oralab/system01.dbf";
    set newname for datafile 2 to
    "/u02/oradata/oralab/undotbs01.dbf";
    set newname for datafile 3 to
    "/u02/oradata/oralab/sysaux01.dbf";
    set newname for datafile 4 to
    "/u02/oradata/oralab/users01.dbf";
    set newname for datafile 5 to
    "/u02/oradata/oralab/integracao.dbf";
    set newname for datafile 6 to
    "/u02/oradata/oralab/legis_data.dbf";
    set newname for datafile 7 to
    "/u02/oradata/oralab/NOVA_INTERNET";
    set newname for datafile 8 to
    "/u02/oradata/oralab/legis_text.dbf";
    set newname for datafile 9 to
    "/u02/oradata/oralab/log01.dbf";
    set newname for datafile 10 to
    "/u02/oradata/oralab/tecwin_web.dbf";
    restore
    check readonly
    clone database
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 07-AUG-06
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /u02/oradata/oralab/system01.dbf
    restoring datafile 00002 to /u02/oradata/oralab/undotbs01.dbf
    restoring datafile 00003 to /u02/oradata/oralab/sysaux01.dbf
    restoring datafile 00004 to /u02/oradata/oralab/users01.dbf
    restoring datafile 00005 to /u02/oradata/oralab/integracao.dbf
    restoring datafile 00006 to /u02/oradata/oralab/legis_data.dbf
    restoring datafile 00007 to /u02/oradata/oralab/NOVA_INTERNET
    restoring datafile 00008 to /u02/oradata/oralab/legis_text.dbf
    restoring datafile 00009 to /u02/oradata/oralab/log01.dbf
    restoring datafile 00010 to /u02/oradata/oralab/tecwin_web.dbf
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=/u03/admin/integra/flash_recovery_area/INTEGRA/backupset/2006_08_07/o1_mf_nnndf_TAG20060807T103544_2fg5w27d_.bkp tag=TAG20060807T103544
    restore not complete
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 08/07/2006 14:36:15
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 10 found to restore
    RMAN-06023: no backup or copy of datafile 9 found to restore
    RMAN-06023: no backup or copy of datafile 8 found to restore
    RMAN-06023: no backup or copy of datafile 7 found to restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    RMAN>
    Recovery Manager complete.
    ==========================================================================
    But the Backuset is OK, look:
    ==========================================================================
    RMAN> list backupset of database;
    using target database controlfile instead of recovery catalog
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    264 Full 24G DISK 01:33:39 07-AUG-06
    BP Key: 264 Status: AVAILABLE Compressed: NO Tag: TAG20060807T103544
    Piece Name: /u03/admin/integra/flash_recovery_area/INTEGRA/backupset/2006_08_07/o1_mf_nnndf_TAG20060807T103544_2fg5w27d_.bkp
    List of Datafiles in backup set 264
    File LV Type Ckp SCN Ckp Time Name
    1 Full 213646558 07-AUG-06 /u03/integra/system01.dbf
    2 Full 213646558 07-AUG-06 /u03/integra/undotbs01.dbf
    3 Full 213646558 07-AUG-06 /u03/integra/sysaux01.dbf
    4 Full 213646558 07-AUG-06 /u03/integra/users01.dbf
    5 Full 213646558 07-AUG-06 /u03/integra/integracao.dbf
    6 Full 213646558 07-AUG-06 /u03/integra/legis_data.dbf
    7 Full 213646558 07-AUG-06 /u03/integra/NOVA_INTERNET
    8 Full 213646558 07-AUG-06 /u03/integra/legis_text.dbf
    9 Full 213646558 07-AUG-06 /u03/integra/log01.dbf
    10 Full 213646558 07-AUG-06 /u03/integra/tecwin_web.dbf
    =========================================================================
    I create the dir "/u03/admin/integra/flash_recovery_area" in the AUXILIARY database
    and mount - with NFS - where the backupset were in the PRODUCTION database.
    1 - The share it´s work fine.
    2 - The RMAN backup it´s work fine.
    3 - The restore to another database "IN DIFERENT MACHINE" dont´s work.
    I am certain of that the file of backupset exists.
    Somebody can help me? Why this script don´t work?
    PS.: Sorry my English. I´m practising
    Thanks
    Message was edited by:
    user523458
    Message was edited by:
    user523458
    Message was edited by:
    user523458

Maybe you are looking for

  • How to block the Statistical delivery date in purchase order from updation

    Hello All,     We have the following requirement from our client. The client wants to track the delay in delivery of purchase orders raised to vendors. Currently the users, change the delivery date and then process the PO if there are any delays. The

  • Corruption in cshelp.txt file on save

    When I add a topic ID to the cshelp.txt file using the Context Sensitive Text-Only Topics editor and click Save, I get an error message about an invalid file. When I open the file in notepad it looks like this: . t o p i c H I D C _ B U T T O N _ C H

  • Issue w/iMac and Furman power conditioner

    Greetings, I just recently purchased a Furman Power Conditioner PL-Plus Series II -- go here for info on it: http://www.furmansound.com/product.php?div=01&id=PL-PLUS_II -- to plug my home recording studio gear into (powered monitors, outboard gear, e

  • Help!!!!!using multiple submit form in java servlet

    I am trying to build a application where i have 2 submit buttons. This is what i want to do. This code is in html <html> <head> <script language="JavaScript"> function altSubmit() { document.MyForm.action = "Second.html"; </script> </head> <body> <fo

  • Captivate 5.5 and Audition 5.5 not linking

    I have Captivate 5.5 installed and have downloaded and started using the trial version of Audition . I am unable to get the 2 programs to see each other. In captivate when I edit audio. mu edit with Audition button is still grayed out. I have tried w