BR0243W Wrong creation date 2000-01-01 00.00.00 for volume PRDTPBKP

BR0280I BRRESTORE time stamp: 2010-04-07 12.32.32
BR0226I Rewinding tape volume in device /dev/rmt1 ...
BR0351I Restoring /oracle/QAS/sapbackup/.tape.hdr0
BR0355I from /dev/rmt1.1 ...
BR0241I Checking label on volume in device /dev/rmt1.1
BR0243W Wrong creation date 2000-01-01 00.00.00 for volume SCRATCH in device /dev/rmt1.1
BR0218W Checking label on volume in device /dev/rmt1.1 failed
BR0212I Please check the volume or the device
BR0280I BRRESTORE time stamp: 2010-04-07 12.36.20
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRRESTORE:

there are 2 kinds of label,
1. the one you stick on the tape cartridge.
2. the software label.
Brrestore checks the second one, the software label... obviously, it cannot read the "sticky label"...
brrestore tells you that you software label is SCRATCH and not PRDTPBKP.
you want proof of that?
run this command:
brbackup -i show
you will see SCRATCH.

Similar Messages

  • BR243W Wrong creation date

    I am trying to restore backup taken yesterday.
    The restore command is : brrestore -b <logfileneme.aft> -m full
    It terminates with error
    BR243W Wrong creation date 2000-01-01 00.00.00 for volume PRDB01 in device /dev/rmt0.1
    BR218W Checking label on volume in device /dev/rmt0.1 failed
    the out put of brbackup -i show is
    BR351I Restoring /oracle/PRD/sapbackup/.tape.hdr0
    BR355I from /dev/rmt0.1 ...
    BR133I Label of volume in device /dev/rmt0.1:
    VOLUME = PRDB01 DATE = 20000101000000 DBID = PRD ACTID = bdxoajbv FUNCID = tib USED = 2
    BR280I Time stamp 2008-03-25 11.56.21
    The tape is new and was initialized yesterday.
    The files are that I have copied from the source system in the sapbackup folder are .aft backPRD.log *.tib files.
    Let me know how I can resolve this
    OS: AIX5.3
    SAP: 4.7
    Kernel : 640 version 196

    BR243W Wrong creation date 2000-01-01 00.00.00 for volume PRDB01 in device /dev/rmt0.1
    BR218W Checking label on volume in device /dev/rmt0.1 failed
    Seems issue related to device/tape
    Initilaize tape by using below command and paste the result.
    brbackup i- force -v scratch
    Regards,
    Nick Loy

  • Mail shows wrong creation dates for some older messages after upgrade to OSX 10.9.

    Searching for old mail messages I find that the creation date on many old messages is now incorrect after upgrading my system to OSX 10.9.
    Searching mail for messages from a person now results in threads that include unconnected messages and messages that are out of date order making the thread difficult to follow.
    Any ideas on how to fix this?  Thanks.

    Hi showbuyer!
    You may need to try reindexing your mailbox in order to resolve this issue:
    Mail (Mountain Lion): Reindex messages
    http://support.apple.com/kb/PH11704
    Make sure you have a good backup of any important mail data before performing this troubleshooting step. Thanks for being a part of the Apple Support Communities!
    Regards,
    Braden

  • Anyway for LR to correct wrong Creation date on files ?

    My problem is i use to re name files with A better Renamer software back when i began shooting digital. These files all read in the column "Date Created " as December 20, 1903
    the Date Modified is usually OK but is there a way that LR 1.4.1 or V2 can fix this in a few thousand of my files . I no longer re name files with this software . I can rename files in the bridge now if needed. Has anyone had this issue....thank you, this forum is very helpful.

    Yes, with LR 2 you can change the date created and have it written back to even proprietary files.
    You can of course rename files easily in LR either on import or after.
    Geoff the kiwi
    Adobe Community Expert

  • What has gone wrong?  Data usage went from 1/2 gigabyte for last 2 years to over 3gigabytes.  I am not doing anything differently.

    Data usage has increased dramatically.

    How much data is reported for each app? Does it total 5.2 GB?
    Also, check your usage with your carrier on their website.
    In Settings go to iTunes & App Stores. Be sure use Cellular Data is off. And probably Automatic downloads also.

  • Image copy to folder with name based on image creation date

    Hi all,
    I am new to Mac OS X and automator so I would like to know the following,
    Is it possible to have an automated action that triggers when I attach my camera to USB, and who copies all images to a folder which is named according to the date when the image was created?
    Example:
    I attach my camera and it shows up as disk image named "NIKON D70" and the images are contained in subfolders "DCIM/100NCD70" (or actually in DCIM/*). I then want all images in these folders copied to my home directory in a subdirectory called something like "Pictures/D70/2007/20070605" where the year folder name and the date folder name should be according to current image creation date (which of course can be different for each image).
    I have created a simple automation script that copies images from my camera to a folder named according to current date, but that's not good enough.
    Anybody having any hints or ideas of how I can accomplish this?
    Regards
    Anders
    Mac Pro, 2x2.66GHz, 5GB, ATI X1900 XT   Mac OS X (10.4.9)  

    Open the AppleScript Editor in the /Applications/Utilities/ folder and run:
    tell application "Finder"
    repeat with this_file in (get files of window 1)
    set the_date to creation date of this_file
    set folder_name to ((year of the_date as string) & "-" & day of the_date & "-" & month of the_date)
    try
    make new folder in window 1 with properties {name:folder_name}
    end try
    move this_file to folder folder_name
    end repeat
    end tell
    (75533)

  • SQL Creation Date variable issue

    I am building a report where I need the CREATION DATE field to display only the results for the previous day. Is there an SQL statement that I can add to the Viewer that will display this data? Ex:
    STAFF_LOCAL.CREATION_DT  IN (insert SQL statement here)

    Hi Todd,
    If you want to create a report which will show data of previous day, you can make a filter in the universe with this definition.
    i.e. if you are using sql server create a filter condition with definition like
    @select(classname\objectname)=getdate()-1
    for oracle it will be @select(classname\objectname)=sysdate-1
    and then use this condition in the report, you will get the desired result.
    If you want this to be at report side only and not from designer than use this example sql which gives hiredate and name for employees hired in the previous day.
    Select
    employee.fname,employee.hire_date
    from
    employee
    where
    (employee.hire_date = getdate()-1)
    this is for sql server...
    for oracle you can replace the getdate() with sysdate in the customer sql.
    hope this helps.
    Regards,
    Gaurav

  • Applescript for matching two files creation date

    Hello,
    I reopen here a question that I posted on another forum (macrumors):
    I have converted almost 1,000 video files from MPG1 to MOV in order importing them to Final Cut Pro (FCP can't import directly MPG1!).
    So I have TWO folders:
    Folder 1 with the original VideoXXXX.mpg1 files
    Folder 2 the converted VideoXXXX.mov files.
    The file names on both folders are the same. And the number of files in the two folders are the same.
    My problem is that the creation date of files in the Folder 2 is the "conversion" time (July 2012) instead the original creation time (from 2005 to 2010).
    When imported to FCP, I need the creation time. The name doesn't include the time, so I don't know the file date looking only at the file name.
    I need an Apple Script for changing the creation date to the files in Folder 2 files matching the creation date on the Folder 1 files.
    - For file n on Folder 1, take name and creation date
    - Look for the same file name on Folder 2
    - Set creation date of file on Folder 2 to Creation date of original file
    I have seen that it can be made with the "touch" command, but I'm new to applescripting and any help would be very appreciated!!
    Thanks

    Wooow...
    How many helping responses! Thanks to you all.
    I am trying the first sugested solution.
    I have tried adding "file" to theOriginalFile twtwtw script.
    (name of file theOriginalFile)
    But the error persists (I changed -5 to -4, as the extension is only MPG)
    tell application "System Events"
      get POSIX path of every file of folder "HD Mac:users:fhuet:Desktop:Vid1" whose name extension = "MPG"
      --> {"/Users/fhuet/Desktop/Vid1/MOV04859.MPG", "/Users/fhuet/Desktop/Vid1/MOV04860.MPG", "/Users/fhuet/Desktop/Vid1/MOV04882.MPG", "/Users/fhuet/Desktop/Vid1/MOV04905.MPG", "/Users/fhuet/Desktop/Vid1/MOV04906.MPG"}
      get creation date of file "/Users/fhuet/Desktop/Vid1/MOV04859.MPG"
      --> date "viernes, 31 de diciembre de 2004 23:39:00"
      get text 1 thru -4 of name of file "/Users/fhuet/Desktop/Vid1/MOV04859.MPG"
      --> error number -1720 from text 1 thru -4 of name of file "/Users/fhuet/Desktop/Vid1/MOV04859.MPG"
    Resultado:
    error "System Events ha detectado un error: Espectro no válido." number -1720 from text 1 thru -4 of name of file "/Users/fhuet/Desktop/Vid1/MOV04859.MPG"
    If I do
    set strippedFileName to name of file theOriginalFile
    I got:
    tell application "System Events"
      get POSIX path of every file of folder "HD Mac:users:fhuet:Desktop:Vid1" whose name extension = "MPG"
      --> {"/Users/fhuet/Desktop/Vid1/MOV04859.MPG", "/Users/fhuet/Desktop/Vid1/MOV04860.MPG", "/Users/fhuet/Desktop/Vid1/MOV04882.MPG", "/Users/fhuet/Desktop/Vid1/MOV04905.MPG", "/Users/fhuet/Desktop/Vid1/MOV04906.MPG"}
      get creation date of file "/Users/fhuet/Desktop/Vid1/MOV04859.MPG"
      --> date "viernes, 31 de diciembre de 2004 23:39:00"
      get name of file "/Users/fhuet/Desktop/Vid1/MOV04859.MPG"
      --> "MOV04859.MPG"
    So it's OK. After that, obviously, it gives another error.
    So, the problem is with the instruction
    set strippedFileName to text 1 thru -4 of (name of file theOriginalFile). There must be a sintaxis error on that. It says "ESPECTRO NO VALIDO" ERROR
    I keep trying and will try the other options.
    But I'd like to test all of them, as it's the best way to well understand and study the lenguage.
    Thanks again.

  • All the creation dates for my files are wrong?

    I've had this problem for a long time but I finally want to fix it once and for all. All the documents, pictures, and other files on my computer have the same creation date - 1/5/09. When you right click a file it shows the correct creation date but if I just left click it then it shows the wrong date. is there a way i can fix it?

    The creation date of your system will be the same for most of your system documents; there's easy no way to change this information. However, you might also see a more current date, indicating Modified information, and that will be more current.
    There are computer commands that will blank out much of your system data, but that's to be done in cases of major problems. Don't worry about the creation date of your computer/data.
    Post here if you have addtional questions, comments, praise!

  • Wrong risk creation date in PWA 2010

    Hey,
    We have a weird behavior in PWA 2010. The creation date of some risks in a project site is going crazy.
    Some risks are OK, but other have a creation date of 30/12/1899. I'm pretty sure PWA didn't exist at that time ;-)
    Would you know what could the cause and the solution of this problem?

    Indeed this could explain this behavior.
    Why is this formula by the way? The created field is usually populated automatically with the current date and do not need any formula.
    You'll have this behavior (strange date) if the formula doesn't return anything (in case the "created" value is empty). In this case, it will return a default value that is this odd date.
    I'd advice to review this field and make it equal to the current date and time, with no formula.
    Hoep this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Wrong photo creation date

    Hi,
    I have just created a new intelligent album that should only contain photos from 1999. The creation date in the Finder's Get Info window is 1999. But as I worked on these pix yesterday in Photoshop as Aperture didn't recognize those old JPEGs at all, Aperture insists that these pix were created yesterday, not in 1999.
    Is there any way to change the metadata manually so that A. recognizes the correct creation date?
    Thanks a lot!
    Peter

    Can you not select the files in Aperture then go-to Metadata in the top main menu bar, then change Date and time. There is also a little button to click that says change master files. This works for me.

  • Table for Reservation creation Date

    All SAP Gurus,
    What is the Table for Reservation creation Date?
    Regards,

    Hi Vijay,
    Thanks for reply.
    Tables yiu have recommended do not have the reservation creation or updation date.
    Please correct me if I'm wrong.
    Regards,

  • Different creation dates on different computers

    I downloaded the same photos from the same camera on the same day to my home and office computers, both into iPhoto. At home, the creation date is correct, but at work the date is wrong in every way including the year. I checked the system time and date, and that is correct. I ran TechTools pro, and found that there were other files with wrong modificatin dates, but otherwise no problems were detected. (the vast majority of file dates on my computer are correct.) We have two cameras at work, different Olympus models, and I have the same creation date problem with both of them when I download to my work computer, so I have to conclude that there is something wrong with this computer, but I can't for the life of me figure out what.

    Cindy:
    Welcome to the Apple Discussions. Are both computers running the same system and iPhoto versions? Are the date formats set the same on the two computers. They are set in the International pane?
    First run Disk Utility and repair disk permissions. I doubt if that will do it but it's certainly won't hurt.
    If you manually upload from the camera to the office computer before importing into iPhoto are the dates OK? Also try logging into another account on your office computer an trying an import into iPhoto from there. If it does import correctly then there's an issues with your primary account. It could be a bad or corrupt preference file other than iPhoto's. You can run Preferential Treatment (at VersionTracker.com) to find any obvious damaged files. Here's a method another user developed to look for incompatabilites:
    Trouble Shooting Preferences
    Go to HD/Users/Your_name/Library. Move the Prefs folder (in its entirety) to the desktop. Start iPhoto. Determine if problem is fixed.
    If the problem IS fixed, then go to the new Prefs folder that the OS will have created and open it up. Except for those items that are obviously not related, move the contents to the old Prefs folder on the desktop, replacing what had been there. When in doubt, move the item. The worst thing that can happen is a harmless "alert" message. Then, trash what remains of the new folder. Finally, move the old (but modified) Prefs folder back to the library.
    If the problem is NOT fixed, trash the new Prefs folder and move the old one back to its original location.
    If none of the preveious works, a reinstall of the the combo updater that represents the latest system version on that computer might help. Follow up that reinstall with a permissions repair. Good luck.
    OT

  • How can i change the Creation Date of a video (mts-Format)?

    I work with Phohoshop Elements 13 an i use Online-Album (Revel)
    My Problem:
    I would like to change the Creation Date of a Video-File (mts-Format). I don't no why but the date (in Metadata) is wrong and i would like it to change. If i change it in Photoshop Elements the Date (Edit... Change Date...) it seems that the date has changed, but in reality in the Metadata is still the wrong date (see attachment).
    Why this ist important for me:
    The Adobe Revel (Online-Album) takes always the date from the metadata which is wrong.
    Any idea how i can resolve my Problem?
    How i can change the Metadata?

    Hi,
    Did you get help ? Or do you have a work around ? I have about 20.000 Pictures and countless videos to organize myself.
    I just ran into the same problem. Except that after a while Adobe will undo the changes I have made to the date.
    Here's a  screen shot I just made of one of the files.
    Look at this one ! This one is really interesting:
    After changing the date to : 1889 . Adobe changed it to 01.01.1970 00:59

  • "ORA-01203 - wrong creation SCN" got during copy of a db on another machine

    Hello colleagues,
    I copy a database from a machine to a second one through this procedure:
    I set each tablespace (data and temp) in backup mode
    I copy the datafiles (data and temp)
    I copy the control file
    I copy archived redo logs
    On the second machine I try to startup the database by the command
    On the second machine I try to startup the database but the following errors are got:
    SQL> @/usr/Systems/1359HA_9.0.0_Master/HA_EOMS_1_9.0.0_Master/tmp/oracle/CACH
    E/apply_redo.sql;
    ORACLE instance started.
    Total System Global Area 423624704 bytes
    Fixed Size 2044552 bytes
    Variable Size 209718648 bytes
    Database Buffers 209715200 bytes
    Redo Buffers 2146304 bytes
    Database mounted.
    alter database recover automatic from '/usr/Systems/1359HA_9.0.0_Master/HA_EOMS_1_9.0.0_Master/data/warm_rep
    l/WarmArchive/CACHE' database until cancel using backup controlfile
    but the following errors are got:
    SQL> @/usr/Systems/1359HA_9.0.0_Master/HA_EOMS_1_9.0.0_Master/tmp/oracle/CACH
    E/apply_redo.sql;
    ORACLE instance started.
    Total System Global Area 423624704 bytes
    Fixed Size 2044552 bytes
    Variable Size 209718648 bytes
    Database Buffers 209715200 bytes
    Redo Buffers 2146304 bytes
    Database mounted.
    alter database recover automatic from '/usr/Systems/1359HA_9.0.0_Master/HA_EOMS_1_9.0.0_Master/data/warm_rep
    l/WarmArchive/CACHE' database until cancel using backup controlfile
    ERROR at line 1:
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 1: '/cache/db/db01/system_1.dbf'
    ORA-01122: database file 1 failed verification check
    ORA-01110: data file 1: '/cache/db/db01/system_1.dbf'
    ORA-01203: wrong incarnation of this file - wrong creation SCN
    You see the mount command and the error got.
    What can I do to troubleshoot the problem?
    thanks for the support
    Enrico
    The complete copy procedure is the following:
    #!/bin/ksh
    # Step 2 -- Verifying the DBMS ARCHIVELOG mode
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    spool ${ORACLE_TMP_DIR}/archive.log
    archive log list;
    spool off
    EOF
    grep NOARCHIVELOG ${ORACLE_TMP_DIR}/archive.log >/dev/null 2>&1
    # Step 3 -- Creating DB_filenames.conf / DB_controfile.conf fles
    [ -f ${ORACLE_TMP_DIR}/DB_filenames.conf ] && rm -f ${ORACLE_TMP_DIR}/DB_filenames.conf
    [ -f ${ORACLE_TMP_DIR}/DB_controfile.conf ] && rm -f ${ORACLE_TMP_DIR}/DB_controfile.conf
    [ -f ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf ] && rm -f ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    set linesize 600;
    spool ${ORACLE_TMP_DIR}/DB_filenames.conf
    select 'TABLESPACE=',tablespace_name from sys.dba_data_files;
    select 'FILENAME=',file_name from sys.dba_data_files;
    select 'LOGFILE=',MEMBER from v\$logfile;
    spool off
    EOF
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    set linesize 600;
    spool ${ORACLE_TMP_DIR}/DB_controfile.conf
    select name from v\$controlfile;
    spool off
    EOF
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    set linesize 600;
    spool ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf
    select 'TABLESPACE=',tablespace_name from sys.dba_temp_files;
    select 'FILENAME=',file_name from sys.dba_temp_files;
    spool off
    EOF
    note "Executing cp ${ORACLE_TMP_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf ..."
    cp ${ORACLE_TMP_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf
    [ $? -ne 0 ] && error "Error executing cp ${ORACLE_TMP_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf!"\
         && LocalExit 1
    chmod ug+x ${INSTANCE_DATA_DIR}/DB_filenames.conf
    note "Executing cp ${ORACLE_TMP_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf ..."
    cp ${ORACLE_TMP_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf
    [ $? -ne 0 ] && error "Error executing cp ${ORACLE_TMP_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf!"\
         && LocalExit 1
    chmod ug+x ${INSTANCE_DATA_DIR}/DB_controfile.conf
    note "Executing cp ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf ..."
    cp ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf
    [ $? -ne 0 ] && error "Error executing cp ${ORACLE_TMP_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf!"\
         && LocalExit 1
    chmod ug+x ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf
    set -a
    set -A arr_tablespace `grep "^TABLESPACE=" ${INSTANCE_DATA_DIR}/DB_filenames.conf | awk '{ print \$2 }'`
    index=`grep "^TABLESPACE" ${INSTANCE_DATA_DIR}/DB_filenames.conf | wc -l`
    backup_status=0
    i=0
    while [ $i -lt $index ]
    do
    note "tablespace=${arr_tablespace[$i]}"
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    set linesize 600;
    spool ${ORACLE_TMP_DIR}/tablespace.log
    select 'FILENAME=',file_name from sys.dba_data_files where tablespace_name='${arr_tablespace[$i]}';
    spool off
    alter tablespace ${arr_tablespace[$i]} end backup;
    spool ${ORACLE_TMP_DIR}/backup_tablespace.log
    alter tablespace ${arr_tablespace[$i]} begin backup;
    spool off
    EOF
    set -A arr_filename `grep "^FILENAME=" ${ORACLE_TMP_DIR}/tablespace.log | awk '{ print \$2 }'`
    index1=`grep "^FILENAME" ${ORACLE_TMP_DIR}/tablespace.log | wc -l`
    h=0
    while [ $h -lt $index1 ]
    do
    name=`basename ${arr_filename[$h]}`
    note "filename = ${arr_filename[$h]}"
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    host compress -c ${arr_filename[$h]} > ${BACKUP_AREA}/$name.Z
    EOF
    h=`expr $h + 1`
    done
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    spool ${ORACLE_TMP_DIR}/backup_tablespace.log
    alter tablespace ${arr_tablespace[$i]} end backup;
    spool off
    EOF
    i=`expr $i + 1`
    done
    [ $backup_status -eq 1 ] && LocalExit 1
    set -a
    set -A arr_tablespace `grep "^TABLESPACE=" ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf | awk '{ print \$2 }'`
    index=`grep "^TABLESPACE" ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf | wc -l`
    ${ORACLE_TMP_DIR}/tablespace.logi=0
    while [ $i -lt $index ]
    do
    note "tablespace=${arr_tablespace[$i]}"
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    set linesize 600;
    spool ${ORACLE_TMP_DIR}/tablespace.log
    select 'FILENAME=',file_name from sys.dba_temp_files where tablespace_name='${arr_tablespace[$i]}';
    spool off
    EOF
    set -A arr_filename `grep "^FILENAME=" ${ORACLE_TMP_DIR}/tablespace.log | awk '{ print \$2 }'`
    index1=`grep "^FILENAME" ${ORACLE_TMP_DIR}/tablespace.log | wc -l`
    h=0
    while [ $h -lt $index1 ]
    do
    name=`basename ${arr_filename[$h]}`
    note "filename = ${arr_filename[$h]}"
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    host compress -c ${arr_filename[$h]} > ${BACKUP_AREA}/$name.Z
    EOF
    h=`expr $h + 1`
    done
    i=`expr $i + 1`
    done
    # "log switch & controlfile backup"
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    spool ${ORACLE_TMP_DIR}/backup_controlfile.log
    alter database backup controlfile to '${BACKUP_AREA}/ctrl_pm.ctl' reuse;
    host chmod a+rw ${BACKUP_AREA}/ctrl_pm.ctl
    alter system archive log current;
    spool off
    spool ${ORACLE_TMP_DIR}/archive_info.log
    archive log list;
    spool off
    EOF
    # Step 5 -- Copying the DBMS on the companion node
    note "transferring archived redo log files from ACT to SBY host"
    name=`grep 'Archive destination' ${ORACLE_TMP_DIR}/archive_info.log| awk '{ print \$3 }'`
    set -A vett_logfiles `grep "^LOGFILE=" ${INSTANCE_DATA_DIR}/DB_filenames.conf | awk '{ print \$2 }'`
    index=`grep "^LOGFILE" ${INSTANCE_DATA_DIR}/DB_filenames.conf | wc -l`
    i=0
    while [ $index -gt 0 ]
    do
    name=`basename ${vett_logfiles[$i]}`
    ###MOD001
    $ORACLE_HOME/bin/sqlplus /nolog << EOF
    connect / as sysdba
    host cp ${vett_logfiles[$i]} ${BACKUP_AREA}/$name
    host chmod a+rw ${BACKUP_AREA}/$name
    EOF
    if [ $? -ne 0 ]; then
    error "Error copying logfile on LOCAL_BACKUP_AREA"
    LocalExit 1
    fi
    note "log_file=${vett_logfiles[$i]}"
    index=`expr $index - 1`
    i=`expr $i + 1`
    done
    note "Executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf 0 -k -ret 2 ..."
    RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf 0 -k -ret 2
    if [ $? -ne 0 ]; then
    error "Error executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_filenames.conf ${INSTANCE_DATA_DIR}/DB_filenames.conf 0 -ret 2!"
    LocalExit 1
    fi
    note "Executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf 0 -k -ret 2 ..."
    RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf 0 -k -ret 2
    if [ $? -ne 0 ]; then
    error "Error executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf ${INSTANCE_DATA_DIR}/DB_TEMP_filenames.conf 0 -ret 2!"
    LocalExit 1
    fi
    note "Executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf 0 -k -ret 2 ..."
    RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf 0 -k -ret 2
    if [ $? -ne 0 ]; then
    error "Error executing RemoteCopy ${COMPANION_HOSTNAME} ${INSTANCE_DATA_DIR}/DB_controfile.conf ${INSTANCE_DATA_DIR}/DB_controfile.conf 0 -k -ret 2!"
    LocalExit 1
    fi
    note "Executing RemoteCopy ${COMPANION_HOSTNAME} ${BACKUP_AREA} ${RECOVER_AREA} 0 -k -ret 2 ..."
    RemoteCopy ${COMPANION_HOSTNAME} ${BACKUP_AREA} ${RECOVER_AREA} 0 -k -ret 2

    If the Operating system is same :
    Working Machine
    ================
    Shutdown the database and copy everything
    Copy the init.ora
    Copy the pdf,ctl,and log
    Copy the bdump, udump etc..
    On the second machine
    ==================
    Copy your file in the same path as original i.e
    C:\oracle..<dbname>\system.dbf
    C:\oracle..<dbname>\system.dbf
    Start the database
    If your paths in second machine does not match as original update this thread again
    Michael
    http://mikegeorgiou.blogspot.com

Maybe you are looking for

  • Can't print to a Canon MF 4690 wirelessly through Airport Extreme

    I cannot seem to figure out why this isn't working. I just replaced a Brother printer (7 years old) that worked great wirelessly through my Airport Extreme with a Canon imageCLASS MF 4690. I found, downloaded and installed the drivers for it (10.6),

  • Creation PO with SKUs for Brazil.

    Hello Guys, I'm in an implementation project and I have a problem in the part of MM Materials. When you create a purchase order in SAP, create mediants SKU, and when we do the goods receipt with MIGO, is made on the basis of (Nita Fiscal) where this

  • Message transformation in BPM

    I have a scenario where I'm collecting Debmas from R3 and I want to convert it to a text file. I'm unable to transform the multiple Debmas to a single xml structure with multiple debmas. The BPM collects the IDOCs correctly but during the transformat

  • .mp3 to .wav conversion

    Hi All Genius I want to convert .mp3 files into .wav files. Is it possible if yes then how? Will anybody help me out? regards, Anil R

  • Query - Formatted Search in a User Defined Field

    Hi, I am having some problems with a very simple query but it doesn't seem to work. I insert this formatted search in to my UDF I made called Cost. The query I am using is: SELECT  $[$34.0.0] - (I had to use variable number because this Unit Price fi