Closed DB backup, archivec generated

hi
i had to take a tablespace for backup & issued command
ALTER TABLESPACE <tablespacename> BEGIN BACKUP;
during the backup lot of redo entries generated becaz header of datafile is freezed when BEGIN BACKUP- online redo log files are overwritten & two archived log files of 100 MB generted.....
how i will apply these archived log file apply to datafile or to backup,,,,actually i am a little bit confused here
plz. help me or clerify this scenario for me

saniome,
Is this backup just to have a backup of that tablespace or is there something else you are trying to do? (Like move it to another system?)
I am for the moment going to just assume that you are taking the backup just for the purpose of taking the backup. If you restore this tablespace from the backup the controlfiles of the database know what SCN they are currently on and will know from the header of the restored tablespace which SCN it started the backup on. The recovery manager will then use all the archive log files between the to SCNs to recover the tablespace.
Regards
Tim

Similar Messages

  • How can I backup archivelog generated in the last 5 minutes ?

    Version: 11.2.0.3
    Platform : RHEL 6.2
    How can I backup archivelog generated in the last 5 minutes ? Following is what I've attempted so far ?
    RMAN> backup archivelog all format '/rman_backups/Nov21Bkp/archiveTest_%U' UNTIL TIME 'sysdate-5/1440';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "until": expecting one of: "archivelog, auxiliary, backupset, backup, channel, controlfilecopy, copy, current, database, datafilecopy, datafile, db_recovery_file_dest, delete, diskratio, filesperset, force, format, from, include, keep, maxsetsize, noexclude, nokeep, not, plus, pool, recovery, reuse, section, skip readonly, skip, spfile, tablespace, tag, to, comma, (, ;"
    RMAN-01007: at line 1 column 81 file: standard input
    RMAN> backup archivelog all UNTIL TIME 'sysdate-5/1440' format '/rman_backups/Nov21Bkp/archiveTest_%U';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "until": expecting one of: "archivelog, auxiliary, backupset, backup, channel, controlfilecopy, copy, current, database, datafilecopy, datafile, db_recovery_file_dest, delete, diskratio, filesperset, force, format, from, include, keep, maxsetsize, noexclude, nokeep, not, plus, pool, recovery, reuse, section, skip readonly, skip, spfile, tablespace, tag, to, (, ;"
    RMAN-01007: at line 1 column 23 file: standard input

    HemantKChitale wrote:
    You shouldn't specify both "ALL" and "FROM/UNTIL TIME"
    Also if you want the archivelogs generated in the last 5 minutes, you should be using FROM TIME.
    If you want the archivelogs generated until 5minutes ago (and not the latest archivelogs), you should be using UNTIL TIME.
    Hemant K Chitale
    I've wondered about the utility of the FROM and UNTIL options for backup of archivelogs.  If one is going to back them up, why would one use an option that distinctly introduces the possibility of having gaps - un-backed-up archivelogs?  Why would one not simply back up all archives not previously backed up at least once?
    I'm sure you'll give me a valid response for a situation for which my imagination fails to see. 

  • Differnce between DB Backup and generate Script

    whats the differnce between DB Backup and generating Script of a database.
    Please mention the main diffrence as we know while genearating script we can select tables/procedures of our choice instead of having all while in backup it takes full tables and procedures.

    Hi Abhishek,
    In addition to others’ posts, we need to know that there are different types of
    backup in SQL Server, such as full backup, differential backup, log back up, file backup and so on.  It is recommended to back up database on a regular basis, as a well-planned backup
    and restore strategy helps protect databases against data loss caused by a variety of failures. You can make
    maintenance plans to back up database automatically.
    However, generating scripts is not a disaster recovery option. If you encounter some failures about database, you cannot get data back by generating scripts.
    Thanks,
    Lydia Zhang

  • 2 rman backup dump generating

    Hi,
    while taking rman level o backup two dumps generating.
    Kindly help to generate only one dump.
    My parameters are
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/home/oracle/oracle/dbs/snapcf_bmsddb01.f'; # default
    Regards,

    find the output
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1281 Incr 0 1023.70M DISK 00:00:17 28-JAN-11
    BP Key: 1287 Status: AVAILABLE Compressed: NO Tag: DB_LVL0_BKP
    Piece Name: /oradb/rman/rmnbkp/dbbackup/LVL0_BMSDDB01_28-01-2011_16m38uc3_1_1
    List of Datafiles in backup set 1281
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 15220618476 28-JAN-11 /oradb/oradata/bmsddb01/system01.dbf
    2 0 Incr 15220618476 28-JAN-11 /oradb/oradata/bmsddb01/undotbs01.dbf
    3 0 Incr 15220618476 28-JAN-11 /oradb/oradata/bmsddb01/sysaux01.dbf
    4 0 Incr 15220618476 28-JAN-11 /oradb/oradata/bmsddb01/users01.dbf
    5 0 Incr 15220618476 28-JAN-11 /oradb/oradata/tivoli01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1282 Incr 0 5.30M DISK 00:00:01 28-JAN-11
    BP Key: 1288 Status: AVAILABLE Compressed: NO Tag: DB_LVL0_BKP
    Piece Name: /oradb/rman/rmnbkp/dbbackup/LVL0_BMSDDB01_28-01-2011_17m38uct_1_1
    Control File Included: Ckp SCN: 15220618488 Ckp time: 28-JAN-11
    SPFILE Included: Modification time: 28-JAN-11
    BS Key Size Device Type Elapsed Time Completion Time
    1337 1.21M DISK 00:00:01 28-JAN-11
    BP Key: 1342 Status: AVAILABLE Compressed: YES Tag: ARC_LVL0_BKP
    Piece Name: /oradb/rman/rmnbkp/archives_bkp/ARCH_LVL0_BMSDDB01_28-01-2011-19m38udc_1_1
    List of Archived Logs in backup set 1337
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 1 15220616183 28-JAN-11 15220618132 28-JAN-11
    1 2 15220618132 28-JAN-11 15220618403 28-JAN-11
    1 3 15220618403 28-JAN-11 15220618537 28-JAN-11

  • Closing an order by generating proforma invoice

    Hi,
    is it possible to close an order by generation of proforma invoice? (for cases in which order is opened only in order to generate a proforma invoice for customs purposes only)
    if so how - with what type of order, etc

    Hi,
    cases in which order is opened only in order to generate a proforma invoice for customs purposes only)
    --> go to VOV8, select the order type you with to use, then go to Billing Tab and put F5 ( Pro ZForma customer ) in Order-rel.bill.type. And remove all others under billing tab.
    You can use quotation for this. Order Type - QT. if you are going to use QT then the settings are already there.
    Let us know.
    Regards,
    SB

  • FlexUnit4 - Tests run but runner has to be manually closed and no reports generated.

    I am trying out FlexUnit4 and using ant to build the tests.
    I built my ant script on the one from the FlexUnit4SampleCIProject.
    The test from that project run, the runner automatically closes and the reports are generated, my project however does not close the runner and generate reports.
    I am using flexsdk 3.3
    What could i be doing wrong?

    Morning guys,
    Mike and I worked through the race condition issue this evening/morning and new code should be in SVN as you read this post.  The short of it was that sometimes the FlashPlayer would spin up faster than the socket on the Java side and data was being lost along the way.  We've implemented a handshake between the CIListener and the Ant task so we can guarantee that things are working correctly now.  I've also done a shallow refactoring of the code to decouple some responsibilities so we can more easily test things going forward.  I've also updated the threading code to use stuff from Java 5, so going back to Java 1.4 will be a pain, but is still feasible with a few extra JARs.
    Let us know how it goes.
    -Brian

  • Automatic closing of SAP GUI generated by RRI in WAD

    BW experts,
    I am having a showstopper scenario in our project.  Basically i have a webbased report produced by WAD 7.0 and it is working correctly.  I have an RRI connected to it.  The RRI receiver is an ABAP program which we execute based from the item in WAD (i.e document number).
    However, it always open 2 browsers. 1 is for the SAP Gui session generated by RRI and 2nd browser is open due to the code we have in our abap which calls a browser (CALL_BROWSER).
    My question now is, is there a way to put an IF-THEN condition somewhere, perhaps in javascript, where the 1st SAP gui session can be killed immediately and the 2nd browser opened?
    I have already used different components like RRI, ClOSE_WINDOW, Script_item in WAD but with no avail.
    Any ideas is highly appreciated.

    Hello,
    I’m glad that you answered me. Your feedback was helpful for me and a source of good news for our project.
    I saw the B1DE form generator, it is still axed on the screen painter, and also I saw Ibai’s project.
    I realize that SBO developers need a more powerful tool for developing their add-ons. For the same reason we have started this project and we’ll continue to develop it.
    This is not just a .srf generator and converter. A powerful feature is that our visual objects have implemented the business objects from DI API (of course you choose with what business objects the visual objects are associated, obviously for performance reasons). The business logic can be made at the designer level. It is improper to say that they generate code because the code is embedded in the visual objects, and no code line is added. For example a complex choose from list can be made in a few minutes without any code writing. In a month the SBO UI add-on generator will be ready. So you can have the add-on developed with Axel Controls in Windows forms without writing hundreds of lines, and additionally with a click the SBO UI add-on will be generated automatically (srfs, functionality, menu and the .exe). And let’s not forget that the Windows forms solution made with Axel Controls has the same feel and look as the SBO.
    If you still have ideas or suggestions please post them.
    Regards,
    Andrei Baciu.

  • How to restore a database from backup taken in standby database

    Its our  environment standard to run backup in standby database.
    Now we have to perform refresh production database to UAT database.
    I have performed normal refresh/duplicate.  Is there any additional procedures need to be followed to perform refresh from standby database backup

    RMAN Restoration to New Server with Different Directory and New Database Name
    In this case, I have an existing production database with RMAN Level 0 backup:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'C:\flash_recovery_area\galaxy\backupsets\autobackup\SAMSUNG-ctl_%F';
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\flash_recovery_area\galaxy\backupsets\level0\level0-%d-%T-%U' MAXPIECESIZE 4G;
    DELETE NOPROMPT ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE - 7';
    SHOW ALL;
    REPORT SCHEMA;
    LIST BACKUP OF DATABASE;
    REPORT NEED BACKUP;
    REPORT UNRECOVERABLE;
    LIST EXPIRED BACKUP BY FILE;
    LIST ARCHIVELOG ALL;
    REPORT OBSOLETE;
    CROSSCHECK BACKUP DEVICE TYPE DISK;
    CROSSCHECK COPY OF ARCHIVELOG ALL;
    DELETE NOPROMPT EXPIRED BACKUP DEVICE TYPE DISK;
    DELETE NOPROMPT OBSOLETE DEVICE TYPE DISK;
    RUN {
    sql 'alter system archive log current';
    BACKUP INCREMENTAL LEVEL 0 DATABASE PLUS ARCHIVELOG DELETE INPUT;
    LIST BACKUP OF DATABASE;
    REPORT NEED BACKUP;
    REPORT UNRECOVERABLE;
    LIST EXPIRED BACKUP BY FILE;
    LIST ARCHIVELOG ALL;
    REPORT OBSOLETE;
    CROSSCHECK BACKUP DEVICE TYPE DISK;
    CROSSCHECK COPY OF ARCHIVELOG ALL;
    DELETE NOPROMPT EXPIRED BACKUP DEVICE TYPE DISK;
    DELETE NOPROMPT OBSOLETE DEVICE TYPE DISK;
    The backupsets will be restored into a new server with different file structure. The database will also be different. In the new server, I have created a blank database (SID or CUSTOM database with the name DBGRID). This is easier so I won't have to create any directories, user ORADIM or create new PWFile.
    This document assumes that a blank (starter) database has been created in the new server. The RDBMS version is the same as the source database.
    In this example, the source database name is GALAXY and the target database name is DBGRID.
    Let me know if you have any feedback or comments. All I want is to share these steps with you and make it better so we can help other DBA's as well.
    Steps start here
    -->
    ORIGINAL DATABASE: GALAXY
    DUPLICATE DATABASE: DBGRID
    FROM THE SOURCE DATABASE (GALAXY)
    1. Backup the database using RMAN incremental backups.
    2. Check the RMAN logs generated and look for the result of the command:
    C:\Users\Administrator>set ORACLE_SID=GALAXY
    C:\Users\Administrator>rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Aug 1 06:55:08 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: GALAXY (DBID=3578870300)
    RMAN> report schema;
    using target database control file instead of recovery catalog
    Report of database schema for database with db_unique_name GALAXY
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace RB segs Datafile Name
    1    680      SYSTEM *** C:\ORACLE\ORADATA\GALAXY\SYSTEM01.DBF
    2    510      SYSAUX *** C:\ORACLE\ORADATA\GALAXY\SYSAUX01.DBF
    3    140      UNDOTBS1 *** C:\ORACLE\ORADATA\GALAXY\UNDOTBS01.DBF
    4    5        USERS *** C:\ORACLE\ORADATA\GALAXY\USERS01.DBF
    5    106      EXAMPLE *** C:\ORACLE\ORADATA\GALAXY\EXAMPLE01.DBF
    6    2048     ALLINDEX *** C:\ORACLE\ORADATA\GALAXY\ALLINDEX01.DBF
    List of Temporary Files
    =======================
    File Size(MB) Tablespace Maxsize(MB) Tempfile Name
    1    29       TEMP 32767 C:\ORACLE\ORADATA\GALAXY\TEMP01.DBF
    This command shows all the physical database files that will be backed-up by the current RMAN job.
    List the online redolog files:
    SQL> select * from v$logfile;
    GROUP# STATUS  TYPE    MEMBER IS_
    3         ONLINE C:\ORACLE\ORADATA\GALAXY\REDO03A.LOG     NO
    3         ONLINE C:\ORACLE\ORADATA\GALAXY\REDO03B.LOG     NO
    2         ONLINE C:\ORACLE\ORADATA\GALAXY\REDO02A.LOG     NO
    2         ONLINE C:\ORACLE\ORADATA\GALAXY\REDO02B.LOG     NO
    1         ONLINE C:\ORACLE\ORADATA\GALAXY\REDO01A.LOG     NO
    1         ONLINE C:\ORACLE\ORADATA\GALAXY\REDO01B.LOG     NO
    6 rows selected.
    3. Since the target server has different structure, it is easier to use a pfile to startup the database rather than restoring the spfile from backup.
    C:\Users\Administrator>set ORACLE_SID=GALAXY
    C:\Users\Administrator>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 1 06:56:14 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> create pfile='C:\TEMP\initGALAXYrman.ora' from spfile;
    File created.
    4. Edit the pfile to have the following parameters:
    (These parameters has been edited to fit the target database requirements)
    galaxy entries has been changed to dbgrid. Directories has been corrected as well.
    dbgrid.__db_cache_size=192937984
    dbgrid.__java_pool_size=4194304
    dbgrid.__large_pool_size=4194304
    dbgrid.__oracle_base='D:\app\Administrator'#ORACLE_BASE set from environment
    dbgrid.__pga_aggregate_target=281018368
    dbgrid.__sga_target=524288000
    dbgrid.__shared_io_pool_size=0
    dbgrid.__shared_pool_size=301989888
    dbgrid.__streams_pool_size=4194304
    *.audit_file_dest='D:\app\Administrator\admin\DBGRID\adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='D:\oradata\DBGRID\control01.ctl','D:\oradata\DBGRID\control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    Leave as it is for now --> *.db_name='GALAXY'
    *.db_recovery_file_dest='D:\fra\backupsets\duplicate'
    *.DB_RECOVERY_FILE_DEST_SIZE=4G
    *.diagnostic_dest='D:\app\Administrator'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=DBGRIDXDB)'
    *.job_queue_processes=1000
    *.log_archive_dest_1='location=D:\fra\backupsets\archs'
    *.log_buffer=10485760
    *.memory_target=805306368
    *.open_cursors=300
    *.processes=800
    *.remote_login_passwordfile='EXCLUSIVE'
    *.session_cached_cursors=300
    *.sessions=885
    *.undo_tablespace='UNDOTBS1'
    Make sure that all the directory values in this edited pfile are existing in the target server.
    5. Copy all the RMAN backup pieces generated in the source database. Transfer the edited pfile as well. Make sure that all directories presented in the pfile exists in the target server.
    In this example, RMAN backupsets are located at:
    Backupsets:
    Level0 and Level1 = D:\fra\backupsets\duplicate\level0 , D:\fra\backupsets\duplicate\level1
    Controlfile and Spfile Autobackup = D:\fra\backupsets\duplicate\autobackup
    Edited pfile initGALAXYrman= C:\TEMP\initDBGRIDnew.ora
    FROM THE TARGET DATABASE (DBGRID)
    6. Connect to RMAN and perform database duplication using RMAN backup restoration
    C:\Users\Administrator>rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Aug 1 07:26:45 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database (not started)
    RMAN> set dbid = 3578870300; --> THIS IS THE DBID OF THE SOURCE DATABASE!
    executing command: SET DBID
    RMAN> startup nomount pfile='C:\TEMP\initDBGRIDnew.ora'; -->restore the edited pfile
    Oracle instance started
    Total System Global Area     535662592 bytes
    Fixed Size 1375792 bytes
    Variable Size 327156176 bytes
    Database Buffers 192937984 bytes
    Redo Buffers 14192640 bytes
    RMAN> restore controlfile from 'D:\fra\backupsets\duplicate\autobackup\SAMSUNG-CTL_C-3578870300-20120801-00'; -->restore the correct controlfile
    Starting restore at 01-AUG-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=19 device type=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=D:\ORADATA\DBGRID\CONTROL01.CTL
    output file name=D:\ORADATA\DBGRID\CONTROL02.CTL
    Finished restore at 01-AUG-12
    RMAN> alter database mount; -->mount the database
    database mounted
    released channel: ORA_DISK_1
    RMAN> catalog start with "D:\fra\backupsets\duplicate";
    --> catalog the location of the backup pieces to make it known to the control file
    Starting implicit crosscheck backup at 01-AUG-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=19 device type=DISK
    Crosschecked 3 objects
    Finished implicit crosscheck backup at 01-AUG-12
    Starting implicit crosscheck copy at 01-AUG-12
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 01-AUG-12
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    searching for all files that match the pattern D:\fra\backupsets\duplicate
    List of Files Unknown to the Database
    =====================================
    File Name: D:\FRA\BACKUPSETS\duplicate\autobackup\SAMSUNG-CTL_C-3578870300-20120801-00
    File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-01NHGTGV_1_1
    File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-02NHGTIA_1_1
    File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-03NHGTMT_1_1
    Do you really want to catalog the above files (enter YES or NO)? YES
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: D:\FRA\BACKUPSETS\duplicate\autobackup\SAMSUNG-CTL_C-3578870300-20120801-00
    File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-01NHGTGV_1_1
    File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-02NHGTIA_1_1
    File Name: D:\FRA\BACKUPSETS\duplicate\level0\LEVEL0-GALAXY-20120801-03NHGTMT_1_1
    RMAN> list backup summary; -->check your backup they are now known
    List of Backups
    ===============
    Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    1 B  A  A DISK 01-AUG-12       1       2 NO         TAG20120801T011054
    2 B  0  A DISK 01-AUG-12       1       2 NO         TAG20120801T011137
    3 B  A  A DISK 01-AUG-12       1       2 NO         TAG20120801T011405
    RMAN> list archivelog all; -->list you archivelog for point in time recovery
    List of Archived Log Copies for database with db_unique_name GALAXY
    =====================================================================
    Key Thrd Seq     S Low Time
    26 1    29      A 01-AUG-12
    Name: D:\FRA\BACKUPSETS\ARCHS\ARC0000000029_0785167457.0001
    Perform database restoration and recovery. The sequence number is Seq+1 for complete recovery, so that will be 29 + 1 = 30. You can also do recovery via SCN or time based recovery.
    Remember in the previous step: RMAN> REPORT SCHEMA;
    Each datafile has a corresponding datafile number.
    Follow the format to convert them into their respective new restoration directory in the target server.
    SET NEWNAME has the format:
    SET NEWNAME FOR DATAFILE [FILE NUMBER IN THE REPORT SCHEMA COMMAND] TO
    ‘[NEW LOCATION AND FILENAME OF THE DATAFILES]’;
    RMAN> run {
    2> SET UNTIL SEQUENCE 30 THREAD 1;
    3> set newname for datafile 1 to 'D:\oradbgrid\oradata\SYSTEM01.DBF';
    4> set newname for datafile 2 to 'D:\oradbgrid\oradata\SYSAUX01.DBF';
    5> set newname for datafile 3 to 'D:\oradbgrid\oradata\UNDOTBS01.DBF';
    6> set newname for datafile 4 to 'D:\oradbgrid\oradata\USERS01.DBF';
    7> set newname for datafile 5 to 'D:\oradbgrid\oradata\EXAMPLE01.DBF';
    8> set newname for datafile 6 to 'D:\oradbgrid\oradata\ALLINDEX01.DBF';
    9> restore database;
    10> switch datafile all;
    11> recover database;
    12> }
    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
    Starting restore at 01-AUG-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=19 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to D:\oradbgrid\oradata\SYSTEM01.DBF
    channel ORA_DISK_1: restoring datafile 00002 to D:\oradbgrid\oradata\SYSAUX01.DBF
    channel ORA_DISK_1: restoring datafile 00003 to D:\oradbgrid\oradata\UNDOTBS01.DBF
    channel ORA_DISK_1: restoring datafile 00004 to D:\oradbgrid\oradata\USERS01.DBF
    channel ORA_DISK_1: restoring datafile 00005 to D:\oradbgrid\oradata\EXAMPLE01.DBF
    channel ORA_DISK_1: restoring datafile 00006 to D:\oradbgrid\oradata\ALLINDEX01.DBF
    channel ORA_DISK_1: reading from backup piece D:\FRA\BACKUPSETS\DUPLICATE\LEVEL0\LEVEL0-GALAXY-20120801-02NHGTIA_1_1
    channel ORA_DISK_1: piece handle=D:\FRA\BACKUPSETS\DUPLICATE\LEVEL0\LEVEL0-GALAXY-20120801-02NHGTIA_1_1 tag=TAG20120801T011137
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:02:06
    Finished restore at 01-AUG-12
    Starting recover at 01-AUG-12
    using channel ORA_DISK_1
    starting media recovery
    archived log for thread 1 with sequence 29 is already on disk as file D:\FRA\BACKUPSETS\ARCHS\ARC0000000029_0785167457.0001
    archived log file name=D:\FRA\BACKUPSETS\ARCHS\ARC0000000029_0785167457.0001 thread=1 sequence=29
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 01-AUG-12
    Log in to SQL*Plus to recreate the redolog files.
    Format:
    ALTER DATABASE RENAME FILE ‘[OLD REDOLOG LOCATION]’ TO ‘[NEW REDOLOG LOCATION]’;
    C:\Users\Administrator>sqlplus "/ as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 1 08:54:27 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> select instance_name, status from v$instance;
    INSTANCE_NAME STATUS
    dbgrid MOUNTED
    SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO03A.LOG' TO 'C:\oracle\oradata\dbgrid\REDO03A.LOG';
    Database altered.
    SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO03B.LOG' TO 'C:\oracle\oradata\dbgrid\REDO03B.LOG';
    Database altered.
    SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO02A.LOG' TO 'C:\oracle\oradata\dbgrid\REDO02A.LOG';
    Database altered.
    SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO02B.LOG' TO 'C:\oracle\oradata\dbgrid\REDO02B.LOG';
    Database altered.
    SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO01A.LOG' TO 'C:\oracle\oradata\dbgrid\REDO01A.LOG';
    Database altered.
    SQL> ALTER DATABASE RENAME FILE 'C:\ORACLE\ORADATA\GALAXY\REDO01B.LOG' TO 'C:\oracle\oradata\dbgrid\REDO01B.LOG';
    Database altered.
    Open the database in resetlogs option. Create spfile from the edited pfile then bounce the database.
    RMAN> alter database open resetlogs;
    database opened
    SQL> create spfile from pfile='C:\TEMP\initDBGRIDnew.ora';
    File created.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  535662592 bytes
    Fixed Size 1375792 bytes
    Variable Size 327156176 bytes
    Database Buffers 192937984 bytes
    Redo Buffers 14192640 bytes
    Database mounted.
    Database opened.
    SQL> select instance_name, status from v$instance;
    INSTANCE_NAME STATUS
    dbgrid OPEN
    Create a new TEMP tablespace, make this as the new default temporary tablespace. Drop the old TEMP tablespace. Restart the database.
    SQL> CREATE TEMPORARY TABLESPACE TEMP01 TEMPFILE 'D:\oradbgrid\oradata\TEMP0101.dbf' SIZE 200M;
    Tablespace created.
    SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP01;
    Database altered.
    SQL> drop tablespace TEMP including contents and datafiles;
    Tablespace dropped.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance sta

  • Best Practices: What is a best backup plan on BO 4.0

    Hi Experts!
    I work with BO since 2007. I worked a lot with BO XI 3.1 and now with BI 4.0. I always have a question about the way to make a backup: What is a best backup plan on BO 4.0.
    I know de many way to do this, but how I'm a consultant developer and backup usually is not my responsibility, but always I have to advise my clients and users.
    The little summary of ways I know on BI 4.0:
    - Stop the services and do a backup of repository database and FileStore folder (eventually include the TomCat folder and others BO installation folders)
    - Create a job on LCM and a schedule to export a LCMBIAR file
    - Use the Upgrade Management Tool to generate a BIAR file by the command line
    I found that interesting post of Raphael Branger, but his the best option is to use the 360View, but that software I don't know, and the clients usually want to use the SAP solutions, so the preference is use the BO's way to make backup.
    Backup & Recovery in BO 4.0
    Note: I agree with Raphael about the old Import Wizard, I don't know why Upgrade Management Tool don't allow to import a biar file that same version of target. It is terrible.
    Let me make a the big question: What is a best backup plan on BO 4.0?
    I know that this depends of the environment and the many variables, but let us consider the general environment, the standard installation.
    Thanks everybody!

    Thanks Mrinal and Ajay,
    On my experience I always use the full-backup: repository database backup + filestore folder backup (usually I recommend include BO folder installation and TomCat folder too because the custom configurations). That backup is essential, is basic.
    But this backup is not flexible.The usual problems on BO's production enviroment is accidental deletion of some reports or objects of BO. Since BO XI R2 I used the "Import Wizard" to generate BIAR files by the command line, I usually create a BAT file with command line to create thats files, however BO 4 Import Wizard was died, now exists "Upgrade Management Tool", but I can create BIAR files by the command line too. Let's suppose a case that the BO user has deleted a report and that user did notified that deletion after 1 month. We don't need to restore all objects of the full-backup of 1 month ago, with BIAR files, we can restore only that report. Thats is the advantage of using BIAR files.
    So, my strategy is use the full-backup (repository database + BO installation folder) and create BIAR files.
    What do you think about the backup by generating BIAR files?

  • Windows Backup no longer works. Trying to change settings results in "The parameter is incorrect. (0x80080057)"

    I tried to backup my computer and it didn't make any progress for many hours. After a few hours I gave up and closed the backup panel. I restarted the computer and now the panel comes blank with the external backup drive plugged in.  If I double click
    the backup folder on the external drive and click restore I keep getting the error dialogue, "The parameter is incorrect. (0x80080057)".
    If I don't plug in the drive it and click Options > Change backup settings I get the same error dialogue. Note, the backup control panel displays and says the drive is not plugged in and shows the last time I attempted to backup. It says that backup was
    complete but some files were skipped. The error code is 0x8100002F.
    I tried to solve the problem using: http://support.microsoft.com/kb/982736/en-us It did not help.
    I have looked into some of the logs and found this:
    Description
    Windows Backup failure
    Problem signature
    Problem Event Name: WindowsBackupFailure
    Operation: Backup
    AppVer: 6.1.7601
    HRESULT: 0x81000015
    TargetType: 11
    OS Version: 6.1.7601.2.1.0.256.48
    Locale ID: 1033
    Files that help describe the problem
    WindowsBackup.1.etl
    This is the second to last time I backed up. 
    Someone else had this problem: http://www.techsupportforum.com/forums/f299/solved-windows-7-backup-0x80070057-error-546542.html
    They had a restore image and could go back to an earlier time. I do not have this option.
    What can I do?

    Hi,
    I doubt this was External harddrive problem. Please check Event log about VSS error log. If there is any error message with VSS.
    If so, please refer to the link below for more details about VSS error.
    http://technet.microsoft.com/en-us/library/ee692290(v=ws.10).aspx
    In addition, please also try to backup your system to other location for test if it had same problem. If not, it should be external drive problem.
    Roger Lu
    TechNet Community Support

  • Time Machine operates, but no changes are recorded in the backups.

    Time Machine appears to make a backup each hour, and a new backup file is written.  No error messages are produced.   However, each new backup file appears to be exactly the same as the previous one.  Using the "Get Info" function of the Finder, I can see that, indeed, each backup file on the "Time Machine" backup location records the exact same number of files and bytes as the previous backup file.  This started ten days ago, during which time I have created, modified, or deleted several hundred files.  When I enter the Time Machine application, I find that none of this activity is recorded in the backups.  These results are the same, whether the backup is generated manually or under the automatic hourly schedule.
    I am using OS 10.7.5 on an iMac 27" purchased in late 2011.  Time Machine is set to back up the files from an internal 250 GB SSD and 2 TB HDD.  The backup location (target drive) is an external iOmega 2TB HDD with its own power supply, connected by Firewire 800.  This drive is about 14 months old.
    The iOmega target drive has 624 GB used and 1.38 TB available space.  According to the Time Machine Excluded Items dialogue, the extimated size of a full backup is 443 GB.
    When I set Time Machine up about 14 months ago, I identified several folders to exclude from backups, and I have not changed that since.  I have checked, and it is exactly the same as when I set it up.
    Thanks for suggestions/solutions.

    When you replaced your MBP's original HD with the Samsung SSD, how did you originally populate its contents? In other words, did you begin with a new OS X installation, followed by using Setup Assistant and migrating  your information from an existing TM backup, or...?
    Edit: A persistent bug with this site prevented replies from appearing until I posted one. Since you resolved the problem by reinstalling OS X I'll only suggest you don't use OnyX or any other utility to "clean" anything or perform any other action for that matter. Although I understand you only used OnyX in an effort to address an existing problem, such utilities are only likely to add to or obscure the underlying cause.

  • How to use the backup database to create report or update testing

    Hi,
    I have a fully backup of production database in the last month, and I have using Oracle 8.1.7. I want to known how can I use
    this backup to generate a new instance so that I can reproduct some report from the last month data or doing some update testing
    from the backup database with the both production instance and last month instance is opened at the same time. I have tried to
    create a new instance by using the oradim and startup the new sid with mount option and then use the alter database function
    to change the datafile name to the new directory. After this i also create the local service name and change to listerner. I can
    startup the new instance but when i start the production database. I got the error that I can open the database with exclusive.
    I do this in Oracle 7.3.4 and it works. But how can i setting it in Oracle 8.1.7. Anyone can help me and many thanks.

    Hi,
    Create the Second instance thro' Database Configuration Assistant, and Replace with Back up files.Now you can run two instances at parallel.

  • Restoring Apps From Backup

    So I poked around in here and, while there are a few threads addressing the general question, I don't know enough to take that info and run with it. I thought it'd be safer if I could just present my situation specifically, so there won't be too much room for error.
    On the (bad) advice from an Apple technical support guy, I (apparently needlessly) did a clean install on my PowerBook. I backed everything up onto a LaCie drive using SilverKeeper.
    My question is: How do I best get my many apps back onto the PowerBook and functioning properly? I know there's more to it than just replacing the Applications folder (or its contents). And I understand the Library folder(s) comes into play. But I'd like to know exactly what to copy from the external drive and where to place it on the PowerBook. The backed-up version of my PowerBook's hard drive looks a bit different so I would like to be as precise as I can.
    I know reinstalling is the best thing to do, but it's time-consuming at best and possibly life-derailing at worst!
    (If there's anything else anyone thinks I should know before performing this transfer - application-related or otherwise - I'd appreciate the advice!)
    Thanks!
    15" PowerBook G4 1.67 GHz   Mac OS X (10.4.8)  

    Many apps can be simply moved from your backup disk's application folder to the new harddisk.
    However there are definitively configuration files and other stuff created by an application that is then lost. It depends upon the application whether or not (and how) it will work.
    Anyway, you find most configuration files at these places:
    <Boot volume> / Library / Application Support
    <User> / Library
    <User> / Library / Application Support
    You may look into these directories and move all files and folders that sound like being related to an application you want to restore to the new place.
    However a clean installation of the software should be preferred (I guess that file associations are not redone by moving apps).
    By the way, you state that reinstalling the OS was a bad advise from the Apple technician (I also not trust them ... so if your backup was generated as a clone, why not restoring the entire disk back to original state ? Anyway, since you don't write about the reason for the OS restore, I'm unsure if this would help.

  • Backup complete with no archivelog

    Hi all,
    10g and 11g,
    achivelog enabled
    I want to do a hot backup without generating any acrhivelogs. it this possible?
    I want my backupset to be complete as itself and the simplest and the smallest single copy so far,
    and no redundancy whatsoever, And it does not need recovery when restored or maybe the least recovery process it can be.
    The following are my procedures:
    I will tell the users to stop processing at 6pm.
    I will shutdown listener.ora
    I will shutdown and startup restrict.
    I will alter system switch logfile 3 times.
    Then run rman backup.
    Do you think I will still generate archive logs? My goal really is to avoid recovery during restore.
    Any ideas is highly appreciated :)
    Thanks,
    zxy

    I want to do a hot backup without generating any acrhivelogs.Oracle is always doing things in the background.
    The only way to have a backup that doesn't require you to apply any archive logs that get generated during the backup is to do a cold backup

  • Error   during DEV backup PSAPSR3 is already in backup status

    Dear All,
    When i m taking development backup.It generating the error PSAPSR3 is already in backup status.Plz tell me how to resolve this issue.
    LOG file is attached.
    BR0051I BRBACKUP 7.00 (13)                                                                               
    BR0189W Expiration period equal 0 - backup volumes could be immediately overwritten                                                                               
    BR0055I Start of database backup: bdxxiprp.ant 2008-05-13 17.40.29                                                                               
    BR0477I Oracle pfile E:\oracle\MRD\102\database\initMRD.ora created from spfile E:\oracle\MRD\102\database\spfileMRD.ora                                                                               
    BR0280I BRBACKUP time stamp: 2008-05-13 17.40.32                                                                               
    BR0319I Control file copy created: G:\oracle\MRD\sapbackup\CNTRLMRD.DBF 24461312                                                                               
    BR0328E Database file Q:\SAPDATA1\SR3_1\SR3.DATA1 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file Q:\SAPDATA1\SR3_2\SR3.DATA2 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file Q:\SAPDATA1\SR3_3\SR3.DATA3 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file Q:\SAPDATA1\SR3_4\SR3.DATA4 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file G:\ORACLE\MRD\SAPDATA1\SR3_5\SR3.DATA5 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file H:\ORACLE\MRD\SAPDATA2\SR3_6\SR3.DATA6 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file H:\ORACLE\MRD\SAPDATA2\SR3_7\SR3.DATA7 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file H:\ORACLE\MRD\SAPDATA2\SR3_8\SR3.DATA8 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file H:\ORACLE\MRD\SAPDATA2\SR3_9\SR3.DATA9 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file H:\ORACLE\MRD\SAPDATA2\SR3_10\SR3.DATA10 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file I:\ORACLE\MRD\SAPDATA3\SR3_11\SR3.DATA11 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file I:\ORACLE\MRD\SAPDATA3\SR3_12\SR3.DATA12 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file I:\ORACLE\MRD\SAPDATA3\SR3_13\SR3.DATA13 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file I:\ORACLE\MRD\SAPDATA3\SR3_14\SR3.DATA14 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file I:\ORACLE\MRD\SAPDATA3\SR3_15\SR3.DATA15 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file J:\ORACLE\MRD\SAPDATA4\SR3_16\SR3.DATA16 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file J:\ORACLE\MRD\SAPDATA4\SR3_17\SR3.DATA17 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file J:\ORACLE\MRD\SAPDATA4\SR3_18\SR3.DATA18 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file J:\ORACLE\MRD\SAPDATA4\SR3_19\SR3.DATA19 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0328E Database file J:\ORACLE\MRD\SAPDATA4\SR3_20\SR3.DATA20 of tablespace PSAPSR3 is already in backup status                                                                               
    BR0056I End of database backup: bdxxiprp.ant 2008-05-13 17.40.35                                                                               
    BR0280I BRBACKUP time stamp: 2008-05-13 17.40.35                                                                               
    BR0054I BRBACKUP terminated with errors          
    Thank and Regard's
    Adil

    Hi ,
    Are you taken backup successfully , if not pls check below things.
    1,tablespace PSAPSR3 is already in backup status, This error usually occurs when you are running an Online Backup and because of some previous failed backups the table spaces are still under back up status.
    pls check if any backup is running or not
    ps -ef|grep brbackup .
    2 , check any lock file is created under oracl/SID/sapbackup if s remove lock file from the directory .
    3 , login into DB
    > sqlplus /nolog
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 19 14:57:23 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    SQL> connect /as sysdba
    Connected.
    SQL> select status from v$backup;
    check the status it should not be ACTIVE .
    from your case Tablespace PSAPSR3 is already in backup status so login into DB
    > sqlplus /nolog
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 19 14:57:23 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    SQL> connect /as sysdba
    Connected.
    alter tablespace PSAPSR3 end backup;
    SQL> alter tablespace PSAPSR3 end backup;
    Tablespace altered.
    SQL> select status from v$backup;
    STATUS
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    STATUS
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    STATUS
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    STATUS
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    NOT ACTIVE
    41 rows selected.
    SQL>
    After complete the above activity pls fire the backup .
    It might be resolve your issue .
    Edited by: satheesh0812 on Oct 19, 2010 11:54 AM

Maybe you are looking for

  • Site-to-Site VPN btw Pix535 and Router 2811, can't get it work

    Hi, every one,  I spent couple of days trying to make  a site-to-site VPN between PIX535 and router 2811 work but come up empty handed, I followed instructions here: http://www.cisco.com/en/US/products/ps9422/products_configuration_example09186a0080b

  • Linking to a specific location in a web page is not working

    Hello, I am using anchor tags for linking to a specific location in a web page . This Page contains some images(.bmp). Eg: <h2><a name="exactline">Linking Directly to a Specific Location</a></h2> <a href="http://www.example.com/some-page-or-other.asp

  • Safari CSS3/JS lags on iMac 2014

    Hello guys, I have few days old iMac 21" with nVidia card so I suppose my problem is about Safari and its speed on my website www.davidsalcer.cz is CSS/JS picture slider. Nothing is wrong, on my late 2010 MacbookPro is works just perfect and fast, on

  • Displaying text in a combo box.

    Hi, i was wondering if anyone could help me finish an application i am working on. I have two forms, one inputs dat to a text file and another retrieves it. i want to display the text in a combo box and then click an event in the combo box and a desc

  • Posted this two other places that I shouldn't have. Front Row Video Issues.

    Alrighty, so QuickTime has been giving me some issues with playback with some videos and I've found a player that has fixed this, and can play QuickTime files as well. My question is this, can I change the default FrontRow player from QuickTime to VL