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

Similar Messages

  • 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.

  • 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

  • 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

  • How do I use AppleScript to Change the Creation Date to the Current Date?

    I sorted my downloads folder by creation date and found that the items were sorted seemingly randomly. On closer inspection, I saw that the creation dates were not the same as the dates that I downloaded the items, so I figures that Snow Leopard was using the date given to it by the server.
    In order to get the items sorted by download date, I figured I'd use Hazel, but it doesn't have a “change creation date” item. It does, however, have an “run AppleScript” item.
    So my question is this: how do I use AppleScript to change the creation date of an item to the current date?

    TC (Techno Cat) wrote:
    Okay, I tried changing the creation date with SetFile, but it kept giving me an error:
    What am I doing wrong?
    Looks like the date and time was not quoted
    Try this Applescript. It will change the creation date of every file in the Downloads folder to the current date and time:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #E6E6EE;
    overflow: auto;"
    title="this text can be pasted into the AppleScript Editor">
    set current_date_and_time to do shell script "date \"+%m/%d/%Y %H:%M\""
    tell application "Finder"
    set filelist to every file of the alias (the path to downloads folder as text)
    repeat with currentFile in filelist
    do shell script "/usr/bin/SetFile -d " & quoted form of current_date_and_time & space & quoted form of POSIX path of (currentFile as string)
    end repeat
    end tell</pre>

  • Get a files creation date with UTL_FILE or DBMS_BACKUP_RESTORE.SEARCHFILES

    Hello gurus!
    I have a number of files in the filesystem and i need to find out the names and creation dates of these files. Please do not suggest Java as that is not an option.
    So far i get the names of the files from the SYS side with a procedure that I can call from the user side. The procedure returns an XML string:
    create or replace procedure list_directory(directory varchar2, retResultSet OUT VARCHAR2) is
         ns          VARCHAR2(1024);
         v_directory VARCHAR2(1024);
    BEGIN
          v_directory := directory;
          SYS.DBMS_BACKUP_RESTORE.SEARCHFILES(v_directory, ns);
          retResultSet := '<list>';
          FOR each_file IN (SELECT fname_krbmsft AS name FROM x$krbmsft) LOOP
              --DBMS_OUTPUT.PUT_LINE(each_file.name);
              retResultSet := retResultSet  || '<file>' ||each_file.name|| '</file>';
          END LOOP;
          retResultSet := retResultSet || '</list>';
    end list_directory;Question 1:
    Something like each_file.creation_date would be perfect but it seems like the filename is the only attribute available here from x$krbmsft. Am i wrong? Any other way on the SYS side to get the date?
    Question 2:
    On the users side i could use UTL_FILE to get filesize but not much more valuable information. Can i get the creation date somehow with UTL_FILE or similar?
    Any help is appreciated!

    Anyone got any ideas?Maybe a method as described in Re: Read all file names from Directory. may help (Shows also FileCreationDate).

  • IPhoto file creation date inconsistencies during drag and drop

    I have noticed that if I drag and drop a photo from iPhoto to Finder, the file creation dates in Finder are inconsistent.
    (This question is related to drag and drop only and not File->Export, which always uses the export date and timestamp for the file creation date and thus does not suit my needs).
    TEST A -- If the EXIF DateTimeOriginated is 01/01/2013, and today's date is 03/03/2013, then:
    In some cases when I drag a file to Finder, the EXIF date is used as the file modification/creation date in Finder
    In some cases, today's date is used as the file modification/creation date in Finder
    In some cases, a date in between the EXIF date and today's date is used
    It appears that for case A1, these are files that do not have a modified copy.  That is, if you select the photo in iPhoto and then click "File" -> "Reveal In Finder", the "Modified File" choice will be greyed out.
    For cases A2 & A3, iPhoto has inexplicably decided to create modified versions of these files either today or sometime in the past.
    TEST B -- I have read that unexplained modifications are tied to the auto-rotate function in cameras, and it does seem to be the case when I performed the test below:
    Select a large group of landscape format photos (these would not have been auto-rotated), then drag and drop to Finder.  The file creation dates are set to the EXIF date
    Add some portrait photos to the group in (1).  Now the file creation date of ALL photos including the non auto-rotated photos are set to the current date
    The behaviour in B2 is clearly wrong, since the landscape photos should be the same as in B1.  This is bug #1.
    Furthermore, iPhoto appears to be inconsistent with when these modifications are made.  For example, I dragged & dropped an auto-rotated photo on 02/02/2013, then dragged & dropped it again today, then the file creation date in Finder (and also the date of the modified file in iPhoto, as shown in iPhoto File->Reveal In Finder->Modified File) can either the EXIF date (01/01/2013), the late of the last drag & drop (02/02/2013), or today's date (03/03/2013); there does not appear to be any rhyme or reason to this.  This is bug #2.
    In any case, saying "you should never use drag & drop in iPhoto" (as I have read in some other forum posts) isn't a solution, because Apple should either (a) support this function correctly or (b) remove it altogether.  Furthermore, I regularly burn photos to disk for others so having the file date and timestamps correctly set to the EXIF date helps keeping the photos sorted in the directory listings for multiple OS, so File->Export isn't a solution.

    File data is file data. Exif is photo data. A file is not a photo.  It's a container for a photo.
    When you export you're not exporting a file. You're exporting a Photo. The medium of export is a new file. That file is created at the time of export, so that's its creation date. The Photo within that file is dated by the Exif.
    There are apps that will modify the file date to match the Exif.
    The variation you're seeing is likely due to the changes in how the iPhoto library works over the past few versions. Drag and drop is handy, but is not a substitute for exporting, nor intended to be.

  • Wrong incarnation of this file - wrong creation SCN

    We currently have a media recovery problem, and the problem seems not to get resolved.
    System is Solaris 10 on a 64bits Sparc with 10.2.4 Oracle database.
    Problem:
    Can't recover from backup and archivelog fiiles.
    We ran "alter database recover" and we got database altered and we open the database. But when query datafile table, the datafile (datafile 14) was still in recovered mode - I don't know how that happed.
    Next, drop tablespace, inlucuding contents and added a new tablespace and the database opened again without error. But this time we still need the data from the old datafile.
    We tried to add the old datafile to the tablespace, then we got "Wrong incarnation of this file - wrong creation SCN".
    Where do we go from here?

    Hemant K Chitale wrote:
    drop tablespace, inlucuding contents and added a new tablespace That was absolutely the wrong thing to do.
    Did you check to see if that datafile had been OFFLINE ? You could have attempted a RECOVER DATAFILE n and then ALTER DATABASE DATAFILE n ONLINE;Yes the datafile was offline
    Given the situation you are in, you cannot add that tablespace back into the database.
    So where do we start from here?
    Your problem statement and the line "We ran "alter database recover"" aren't clear enough. Did you restore the database ? Or did you restore only a datafile ? OR did you not have to restore anything but just did a RECOVER DATABASE ?
    This database does not have RMAN backup, ( the backup system is copy datafile to another folder) but we did a recover and the database recovered - as I said, we got "database alter" after we ran the recover command.
    >
    (if you can restore the database again and re-attempt recovery / online of that datafile, that would be one path to take --- but before you do so, please take another full {preferably COLD} backup of the database as it currently is !)
    Yes, we back it up lastnight.

Maybe you are looking for