BRRESTORE command opens the database automatically

Hi All,
We have a very old version of SAP (3.1i) running on Oracle 7. We are currently using the below command to backup and restore the database:
brbackup -u / -c -m all -t offline -a -c force -cds
brrestore u2013m full u2013b logxx.aft u2013c
But, using these commands we are unable to recover any archive logs as the database is in open state after the restore automatically which is generating its own log sequence. We would like the database to be in mount state after the restore.
Please suggest any changes in the brbackup/brrestore commands to fix this.
Thanks
Vijay

Hi All,
I have finally managed to understand how brrestore works. If the database is up and running, and you try to restore to it, the database will automatically open after the restore is complete.
If you want the database not to start, then you have to manually stop the database before you proceed with the restore.
Thumb rule: The database will take its initial status (before restore) after the restore.
This is specific to BRRESTORE and may be specific to my scenario (HPUX, Oracle 7.3 & SAP 3.1i)
Thanks for all your help.
Regards,
Vijay

Similar Messages

  • TS2518 Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the

    Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?

    Try starting Aperture with the command and option keys held down.  You'll get 3 options.
    Try each, starting at the top, in order, checking after each to see if it fixes the issue.

  • "There was an error opening the database for the library "~/Pictures/Apert"

    Hey everyone,
    There's already another discussion thread about this at the link below, but the problem was never actually resolved. http://discussions.apple.com/thread.jspa?threadID=2343014&tstart=0&messageID=116 67261#11667261
    So I stumbled across this problem where Aperture 3 will display the following error when opening the image library.
    There was an error opening the database for the library “~[path]/Aperture Library.aplibrary”.
    One user suggested navigating to the actual library, and ⌘⌥-clicking the library to open it with the Aperture Library First Aid dialog. This however, did not work for me. I still received the error messages upon ⌘⌥-clicking the library.
    Here's a little hack I discovered for those of you still struggling. It doesn't fix the problem (leaves quite a large dent remaining actually), but hopefully someone can cultivate what little I discovered.
    ⌥-click Aperture (not the library)
    You should get to the library selection dialog box. Create a new library (bottom right corner) and remember the location of the new library. Put a few random pictures in the new one.
    Close Aperture
    ⌃-click both the old and new libraries and "Show Package Contents."
    Open the folder "Database" in both libraries.
    Cross check the folders to see if the old library is missing files that are in the new library. If your old library is missing some files (mine was), drag the missing files from the new library to the old one.
    Close both folders.
    ⌘⌥-click the old library.
    NOW, I got the Aperture Library First Aid dialog.
    Rebuild the library (3rd option)
    Wait a while.
    Aperture should open up with a folder named "Recovered Folder." Within this folder will be a SINGLE project named "Recovered Project" with ALL the images from your old library. There may be a few albums there too, but mine were all empty so it didn't matter in my case. To my knowledge, I lost all the adjustments I performed too.
    This is as far as I got. I have much of my library backed up, so I only needed to copy the most recent photos into the backup. I am NOT reorganizing and re-editing pictures in this one!
    As Aperture is a photo-organizing and photo-editing software, I understand that this by no means fixes the problem, since you lose all organization and editing. But it enables one to at least view the images lost. Hopefully a more knowledgable hacker else can figure out how to fix this completely. Unfortunately, I simply don't have the time to continue messing with this.
    Good luck to anyone else having issues! I understand the frustration you must be facing, its freaky having years worth of images simply disappear! After this incident, I'm definitely going to configure Time Machine to perform more frequent backups, since my latest backup was already a couple weeks old.

    Hey All,
    To my horror I have a similar problem and your solution didn't seem to help. To be specific, I get the error:
    "There was an error opening the database for the library “~/Pictures/Aperture Library_2.aplibrary" Everytime I try to run Aperture. This happened because my Apple computer shut off completely (due to bad battery) while importing photos from a memory card.
    I've tried "option + command" while clicking the aperture application and that gave me the same error message without any other option except to quit the program. I tried "option + command" and clicked the library package but that didn't work either. I tried creating a new aperture library, opening it which I did successfully, and then switching to my main one but that didn't work.
    Does anyone know away to get it to work again and have the edits still there?
    I'm a professional photographer and have thousands of photos or so in the library so this is distressing. The master files for the photos are located on an external hard drive, but I'm not sure how to access them in aperture. Are all the edits on the photographs are in the external hard drive or the aperture library. Is there any other way to resolve this issue without losing the edits?
    Does apple have a support number I can call? Any help would be greatly appreciated!!

  • Unable to open the database

    I am not able to open the database: Following are the facts and things I have done so far
    1)     database is in NONARCHIVE mode
    2)     database backed up by using datafiles, controlfile, logfiles etc
    3)     datafiles, controlfile and logfiles are out of sync because the time of disk back at night a cron job also update a datafile. So one particular datafile is out of sync.
    4)     When we start the database following error comes
    a.     ora-01207:file is more recent than controlfile - old controlfile Question1: Is it because i did a hot backup and whenever there is a write, the controlfile ...
    5)     when we try use ‘alter database recover we get following
    a.     ora-01157: connot identify/lock data file 21 – DBWR file
    b.     ora-01110: data file 21 ‘…../…/../o2_mf_sys_undo_zvt7qxkf_.dbf
    6)     http://forums.oracle.com/forums/thread.jspa;jsessionid=8d92200830de9b3de878352a40c888bc8a2b521b29d5.e34QbhuKaxmMai0MaNeMb3eKaN90?messageID=1374408&#1374408
    7)     So far I have tried
    a.     RECOVER DATABASE UNTIL CANCEL & ALTER DATABASE OPEN RESETLOGS – doesn’t work
    b.     Alter database archivelog – doesn’t work
    please let know if some had any solution

    Tanwar
    Do the following and you should be fine with your database.
    The error indicates that oracle process cannot open more locks than allowed.
    I assume you are on aix/unix environment
    as oracle user run this command
    #ulimit -a
    and verify the settings. You may want to set all the setting to unlimited as below.
    Some commands may not work depending on your OS, dont worry.
    ulimit -t unlimited
    ulimit -f unlimited
    ulimit -d unlimited
    ulimit -s unlimited
    ulimit -m unlimited
    ulimit -c unlimited
    ulimit -n unlimited
    ulimit -v unlimited
    If still not resolved, ask you system adminitrator to check security setting for oracle user under /etc/security/limits.
    Change the values for oracle user to -1 which means unlimited.
    logout from oracle user session and login again, check ulimit -a. Start your instance and you are good now.
    I have seen this issue many times on many system.
    Good luck.

  • I downloaded Aperture and now I'm getting a "There was an error opening the database for Library " and I can't do anything else.  How can I fix it so I am once again able to run Aperture?

    I Downloaded Aperture from the Apple Website then proceeded to download all my picture's frp, IPhoto.  The very next time I opened Aperture an error poped up stating, There was an error opening the database for Library "blank".  I can't do anything with the program but hit the cancel buttom which closes the program.  How do I fix it?

    Is "blank" the name of your Aperture Library? If not, then Aperture is pointing to the wrong Library. Hold down the option (⌥) key while you launch Aperture by clicking it in the Applications Folder. Then select the correct library and press the "choose" button.
    If that does not help, try to repair your library:
    Locate Aperture library in Finder. Holding down the keys option (⌥) +command (⌘) and double click on Aperture Library to show the First Aid dialogue:
    Then try to start Aperture again.  If that also should fail, try the other steps in Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Good Luck
    Léonie

  • Error opening the database for the library "~/Pictures/Aperture Trial Library.aplibrary" error message

    When starting up Aperature 3 I get the following Error Message :
    "There was an error opening the database for the library “~/Pictures/Aperture Trial Library.aplibrary”.
    I can't di a thing except Quit. I have restored from Time Machine and reloaded the Software from Disk. Still get the same message. Any suggestions Are appreciated.
    Jim

    Hello Jim,
    I assume you trial Aperture Library is in your "Pictures" folder? Try to rename it to something like "OldApertureTrialLibrary.aplibrary", to force Aperture to create a new Application Library.
    To rename the old Trial Library, select it in the Finder and enter Command(⌘)-I (short for File-> Get Info). Click on the file name text field and enter a new name.
    Possibly you get this error message message, because there is some permissions problem. If you are not allowed to rename the file, click on the padlock in the lower right corner, authentificate as admin and give yourself read/write access to the trial library (in the "Sharing & Permissions" brick of the "Get Info" panel).
    Post back, if your "ApertureTrialLibrary.aplibrary" contains valuable images that you would like to save or if this does not work and you need further advice.
    Regards
    Léonie

  • There was an error opening the database for the library

    I can't open my aperture library:"There was an error opening the database for the library": what I can do? I've tried to reinstall aperture, I've also tried to use TM but nothing, I can't open aperture...Help me please!!!!

    For me none of the posted "solutions" worked.
    I tried the Option+Command+click on either the Aperture program app or the Aperture library in Finder...did not work.
    I tried deleting ~/Library/Preferences... did not work.  This was probably the "standard" Apple tech solution.
    The solution for me was to Option+click the Aperture program to launch it and Create a NEW empty library.
    Then simply IMPORT the corrupted library, in order to recover my photos.
    I saw a status message saying "Upgrading Library: scanning library" and lots of CPU activity for a few hours on a 36 GB library.
    Several error messages came up about re-publishing previously published galleries but I ignored them (since they were already published)
    Not sure what gets lost but at least I got all my photos back.
    Anthony Maw, Vancouver, Canada, www.anthonymaw.com

  • I can not open aperture. Following message appears: There was an error opening the database for the library.

    I can't open aperure. Following message appears: There was an error opening the database for library.

    Try starting Aperture while holding down the command and option keys. This will open the library first aid window. Select library repair, when it is finished the library should open.
    If you still have a problem post back.

  • There was an error opening the database for the library "~/Desktop/TEMP_aperture/Aperture Library.aplibrary".

    There was an error opening the database for the library “~/Desktop/TEMP_aperture/Aperture Library.aplibrary”.
    I am not able to open my Aperture - I have tried the recommendation from the manual page 839, but I do not get access to the window the manual says I should get, but instead it simply open the Aperture and the errort message come up
    hanslund

    If the Library First Aid window didn't open you might have not been holding the keys down all the way or else sometimes when you click the icon in the Dock this will happen.
    Try this, close Aperture, locate the library in the folder Desktop/TEMP_aperture and then hold down the option and command keys AND then double click the library file. That should open the first aid window,
    Post back if this doesn't fix the problem or you have more questions.
    regards

  • There was an error opening the database for the library "~/Pictures/Apertur

    There was an error opening the database for the library “~/Pictures/Aperture Library.aplibrary”.
    What's up with this? Aperture showed this error a couple times before quitting when I tried to open it.

    I got the same error. Normally I would perform a Repair Database command by holding down Option-Command while launching Aperture, but that just gave me the same error without any options to repair the database.
    Instead, I had to follow these instructions in the Aperture user manual. The key is to locate the Aperture library file on your hard drive and then hold Option-Command while double-clicking the Aperture library file.
    Choose the REPAIR DATABASE option.
    -- excerpt from user manual --
    To repair or rebuild your Aperture library
    Close Aperture, if it’s open.
    Locate the Aperture library you want to fix, then hold down the Command and Option keys while double-clicking the Aperture library.
    The Aperture Library First Aid dialog appears.
    In the Aperture Library First Aid dialog, do one of the following:
    To repair the permissions of the files within your Aperture library: Select Repairing Permissions.
    This option should be used when Aperture can’t access some of the image files within the database or Aperture is unable to open the library itself. The Repairing Permissions option reviews each file in your Aperture library and sets the read and write access of each file where appropriate, allowing Aperture to access the files again.
    Note: This option does not relocate referenced images whose master image files are offline. For more information about reconnecting offline images, see Reconnecting Missing or Offline Referenced Images.
    To repair your Aperture library file: Select Repair Database.
    This is the first option you should use if you believe there is something wrong with the Aperture library other than image file access issues.
    To rebuild your database from scratch: Click Rebuild Database.
    This option should be used as your last measure as it can be time-consuming for large image libraries. If you have tried repairing your database, and the issues you are encountering with your Aperture library still persist, you should use the Rebuild Database option. Aperture examines the library’s entire database and rebuilds each component until it reconstitutes your original Aperture library.
    Depending on your selection, click Repair or Rebuild.
    Aperture either fixes file permissions within the library or repairs or rebuilds the library, and then opens the application workspace.

  • When i try to open aperture, i get a box popup that says;  Warning-There was an error opening the database for the library "~/Pictures/Aperture Library.aplibrary".

    When i try to open aperture, i get a box popup that says; 
    Warning-There was an error opening the database for the library “~/Pictures/Aperture Library.aplibrary”.
    Can anyone help? I cannot accesss aperture. this is the 1st time this has ever happened...
    thanks,

    Try running a repair on the library. Hold the command and option keys down while starting Aperture, this will open the repair window. Select Repair Library.
    See Aperture 3: Troubleshooting Basics
    If you still have problems post back

  • There was an error opening the database for the library "/Volumes/Aperture Master/Unknown/Aperture Pictures/Aperture Library.aplibrary".    what do I do now?

    There was an error opening the database for the library “/Volumes/Aperture Master/Unknown/Aperture Pictures/Aperture Library.aplibrary”.
    What do I do now.  I cant access the photos on the drive.  The only option is Quit?  what ??????????
    Please help ready to throw computer and drive out the window.  I have a deadline of next Tuesdaythe 11th.

    Start Aperture while holding down the option and command keys. You'll get a Photo Library First Aid dialog as below.
    Try Repair Database first. If that doesn't work, then redo the startup with option-command and try Rebuild Database. These repair processes can take a long time with a larger library.
    If all that fails, you can try creating a new library from scratch and then try importing the old library into the new. This sometimes can fix problems that can't be repaired the First Aid way.
    Also make sure the drive where the Aperture library is located is working properly. You can check it with Disk Utility app.

  • There was an error opening the database for the library "/Users/madis13/Pictures/Nikon Transfer3/Aperture Library.aplibrary".

    There was an error opening the database for the library “/Users/madis13/Pictures/Nikon Transfer3/Aperture Library.aplibrary”.
    What to do when it comes to such a notice?
    If I want to open the aperture program, followed by a message, and the only option is to quit, but the program is not avanegi

    chose import library.
    That might be the problem.
    If you want to import an image file in to an Aperture Library, you use the command
         File > Import > Files
    or
    File > Import > Folders as Projects.
    The command
      File > Import > Library
    is for importing whole iPhoto Libraries or Aperture Libraries.  Have you tried to import the Aperture Library into itself?
    However, the program did not open the catalog yet, and I did force quit.
    Do you mean, after you tried to "import as library"?
    Any success with the First Aid Tools as I suggested?
    Hold the key combination ⌥⌘ firmly down and double click your Aperture Library. Then select a repair option from the panel.
    Léonie

  • Trying to open Aperture, but I get the message, "There was an error opening the database for the library "/Users/davewasson/Pictures/Aperture Library.aplibrary". - and it forces me to quit. What do I do?

    Trying to open Aperture, but I get the message, "There was an error opening the database for the library “/Users/davewasson/Pictures/Aperture Library.aplibrary”. - and it forces me to quit. What do I do?

    Dave-
    You can try opening the old (problem) library by launching Aperture into Library First Aid mode and choosing to Repair (first option) or Rebuild the library. Before doing this, make a backup copy of the old library, since both Repair or Rebuild will write changes to the library database.
    Repair is the faster and less drastic option, so try that first: After backing up your library, hold down both the Option and Command keys while dragging and dropping the problem library on the Aperture icon. The Photo Library First Aid window appears. Select Repair Database, then click Repair. After some time Aperture should open the library, if possible.
    If that fails launch Aperture back into Library First Aid and select Rebuild Database. Depending on the size of your library this operation could take some time, up to several hours for a very large library. When the main window appears you may have some extra Recovered folders/projects. This operation rebuilds the library from scratch and is usually successful at reviving problem libraries.

  • There was an error opening the database for the library "~/Desktop/AThere was an error opening the database for the library aperture 3 Library.aplibrary".

    I now can't even open Aperture 3.2.2.  I get the error msg. "There was an error opening the database for the library “~/Desktop/Aperture 3 Library.aplibrary”.

    Have you tried the Library First Aid?
    Locate your Aperture Library on the Desktop  and hold down the option and command keys -and while holding down the keys double click the library file.  The "first aid" wil give you options to repair the permissions, repair the library, or to rebuild the library. Try the options in this order and post back, if tis should not fix the problem.
    Regards
    Léonie

Maybe you are looking for