What to do if there is abrupt termination of RMAN during a backup session

Hi All,
I am trying to automate the Level 0 and Level 1 backups which we ought to take. Following the is the RMAN related part of it for L1 backup:
CONFIGURE CONTROLFILE AUTOBACKUP ON;"
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '${BKP_LOCATION}/${LType}_%F';"
run {"
allocate channel c1 type disk;"
backup"
incremental level 1 cumulative tag = $BTAG"
format '${BKP_LOCATION}/${LType}_%d_set%s_piece%p_%T_%U.bkp'"
(database include current controlfile tag $CTAG) ;"
sql 'alter system archive log current';"
sql 'alter system archive log current';"
backup archivelog from sequence ${CSEQ} tag $ATAG"
format '${BKP_LOCATION}/${LType}_Arch_%d_set%s_piece%p_%T_%U.bkp';"
release channel c1;"
exit;"
In the above snippet, the variables are substituted for within a shell script and then put into a command file for RMAN. I am a novice in the backup and recovery. I got above piece of code from someone working on RMAN and built my automation logic around it.
The script works fine and I am trying to build to script level recovery feature around it. My question is:
-- What happens if I invoke the script, the backup session starts and then there is abrupt termination of the RMAN session either because of losing the db connection or receiving an interrupt signal or a kill signal or some other weird reason.
-- What if I re-invoke my script? Will it start from the point where it was stopped earlier or would it start from the point where we had last successful Level 1 backup completed?
Thanks in Advance.

Hi user781131,
What happens if I invoke the script, the backup session starts and then there is abrupt termination of the RMAN session either because of losing the db
connection or receiving an interrupt signal or a kill signal or some other weird reason?The backup set which rman was creating is not commited due to the abnormal termination but all succesfull backup sets can be used.
What if I re-invoke my script? Will it start from the point where it was stopped earlier or would it start from the point where we had last successful Level 1 backup
completed?In your backup script you do not use the < NOT BACKED UP SINCE TIME > clause so it will again do a level 1 backup off all datafiles.
See:
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta009.htm#i1017236
This option is a convenient way to back up files that were not backed up during a previous failed backup. For example, you back up the database, but the instance fails halfway through. You can restart the backup with the NOT BACKED UP SINCE TIME clause and avoid backing up those files that you already backed up. If AS BACKUPSET is set, then this feature is only useful if RMAN generates multiple backup sets during the backup.
Regards,
Tycho
Edited by: tychos on 28-jan-2010 15:21

Similar Messages

  • Terminal's scrollback during an ssh session

    Hi,
    Using Terminal I am connected to a windows machine from my mac via ssh.
    During this session Terminal's scrollback feature doesn't work. It always shows an output of 24/25 lines.
    How can I scrollback to see more output?
    Thanks.

    mahsan wrote:
    I am using the Terminal application in my MAC to connect to a windows PC via SSH.
    In the PC I am running FreeSSHd.
    Yes, I gathered that much. What program are you running in that terminal session? Is it some kind of DOS program that uses direct term I/O?

  • HT201210 no matter what I try, my iPhone 4s & iPad 2 won't start the backup session

    No matter what I try, I keep getting "iTunes could not backup the iPhone/iPad because a session could not be started with the ..."

    These are other steps you can follow to restore any data, photos etc. , lost as a result of restoring your device. Hopefully this can help you should you encounter the same problem I did.
    Here are the steps to successfully backup and restore your device. 1. Make sure your iTunes is updated to the latest version. If it is not, please download and install iTunes from here: www.itunes.com 2. Import Photos - Use article: iOS: Importing personal photos and videos from iOS devices to your computer http://support.apple.com/kb/ht4083 3. Transfer your purchases: iTunes Store: Transferring purchases from your iOS device or iPod to a computer http://support.apple.com/kb/ht1848 4. Back Up - Use article: iOS: How to Back Up http://support.apple.com/kb/ht1766 5. Restore - Use article: iTunes: Restoring iOS Software http://support.apple.com/kb/ht1414 6. Restore from backup - See section titled "How to restore from backup" in article iOS: How to Back Up http://support.apple.com/kb/ht1766 Some additional information for you as well. iOS: Resolving update and restore alert messages http://support.apple.com/kb/ts1275 iOS: Unable to update or restore http://support.apple.com/kb/ht1808 About: iOS Backups http://support.apple.com/kb/ht4946 Downloading past purchases from the App Store, iBookstore, and iTunes Store http://support.apple.com/kb/ht2519

  • When I try to open some pictures in finder with preview I get a message that I do not have permission to open it.  It tells me to go to file - info.  Don't know what to do from there.

    When I try to open some pictures in finder with preview I get a message that I do not have permission to open it.  It tells me to go to file - info.  Don't know what to do from there.

    When you do Get Info for a picture, what does it say in Sharing & Permissions for your username. The Privilege should be "Read & Write"

  • So my i just dropped my iPad and now it won't start up. It just keeps turning on and off. Like the apple symbol shows up and then goes away? What happened and is there a way to fix it. I tried restoring and that didn't work

    I pretty much stated it in my question. I dropped my iPad and now it won't boot itself up. The apple symbol shows up, then the screen turns all black and weird looking with a strange green color at the bottom, and just turns off. It keeps doing this over and over. What happened and is there a way to fix it? I also tried connecting it to itunes and that doesn't seem to be working. It detects an ipad but can't seem to read anything else. It tells me to try and restore it but I can't. HELP!!!

    Try this. It worked for a few users after a drop.
    Turn the iPad over and give it a very HARD slap on the back. May take several slaps.
     Cheers, Tom

  • So i had my ipod stolen and i backed up everythink on to my itunes before, i cant really afford another one and all i really want is the notes what i saved. is there a way to get to them???

    so i had my ipod stolen and i backed up everythink on to my itunes before, i cant really afford another one and all i really want is the notes what i saved. is there a way to get to them???

    No. If you had configured Find My Phone in icloud.com, then you can lock it or erase it, but you cannot recover data from it.
    There probably are third-party utilities that might be able to extract data from the backup file itself. Look for them at MacUpdate.

  • My ipad is stuck on the apple logo and wont return to the home screen. I plugged it into my itunes but I don't know what to do from there. Can someone please help?

    Hi, I'm having trouble with my Ipad 2. I was recently playing a game and my ipad just shut off on me. Then when I turned it back on it was stuck on the Apple Logo and it won't go to the home screen at all. I plugged it in my itunes but I don't know what to do from there. I left it charged hoping the apple logo would dissappear but it didn't and now for some reason the battery is always dead.  I really need help. Does anybody have any suggestions? Please.

    Did you try rebooting the iPad? You will need to have some battery power for this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This may be helpful
    iPhone, iPad or iPod touch: Not responding or does not turn on
    Frozen or unresponsive iPad - Apple
    iPad: Unable to update or restore

  • Just bought an Airport extreem for my windows xp. Need Airport Utility v5.5.3. When I go to apple downloads it comes back page not available, try later. Whats up. Is there another way to get this utility so I can get started?

    Just bought an Airport extreem for my windows xp. Need Airport Utility v5.5.3. When I go to apple downloads it comes back page not available, try later. Whats up. Is there another way to get this utility so I can get started?

    AirPort Utility 5.5.3 for Windows - Support - Apple works fine for me as well as a test.

  • What font do you use in your terminal emulator?

    I was using terminus, but I found it too thin for my tastes (or maybe for my bad eyes...) so I sought around and I read many persons like the Microsoft's Consolas and I have to say that it is indeed very nice. Probably MS should stop doing OSes and start drawings fonts only...
    And so I wondered, what do you use? IMO a terminal font should be, readable, monospaced (doh) and a little thick.
    Of course if you do not use the terminal this post is not for you.
    Last edited by ezzetabi (2007-09-20 10:36:52)

    ezzetabi wrote:I was using terminus, but I found it too thin for my tastes (or maybe for my bad eyes...) so I sought around and I read many persons like the Microsoft's Consolas and I have to say that it is indeed very nice. Probably MS should stop doing OSes and start drawings fonts only...
    I never saw this particular font, but I second that, fonts is the only thing MS do well imo
    And so I wondered, what do you use? IMO a terminal font should be, readable, monospaced (doh) and a little thick.
    Of course if you do not use the terminal this post is not for you.
    terminus

  • HT1338 I am trying to update Microsoft Office 12.3.3 on my Macbook Pro, but once it is installed terminal opens. What am I supposed to enter into Terminal?

    I am trying to update Microsoft Office 12.3.3 on my Macbook Pro, but once it is installed terminal opens. What am I supposed to enter into Terminal?

    Still trying to understand.  You install one of the MS updates (most recent was 14.2.2) and after the update completes (before the installer quits) terminal opens?  Or the installer quits and then terminal opens?
    And who is prompting for "Check for updates" ("get taken back" to what)?  Is this coming from office, say when you run Word?   Certianly the updater doesn't cause this prompt.

  • What is going on there (in the cloud)?

    tfsprodch1su1.cloudapp.net not responding to ping - Seems down
    Noticed it is down as early as 06:30 this morning (2013 12 19).
    What is going on there (in the cloud)?
    I am using visualstudio 2013 (desktop App)

    Hi RobvdM,
    Since this thread is more related to Windows Azure, I will move it to Windows Azure forum for a better response. Thanks for your understanding.
    Best regards, 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I need flash player for iPad 2 what's available out there?

    I need flash player for iPad 2, what's currently out there ?

    Flash is not supported on the iPad - and as Adobe have never managed to make a version of their flash player that works on iOS devices, and have announced that they are stopping development on all mobile versions of it, it probably never will be.
    Browser apps such as Skyfire, iSwifter, Puffin and Photon 'work' on some sites, but judging by their reviews not all sites. Also some websites, especially news sites, have their own apps in the App Store.
    If you do a search on this forum you will find hundreds of other threads on the subject.

  • What is this about: "There was a problem connecting to Facebook."

    What is this about: "There was a problem connecting to Facebook. The operation couldn't be completed. OSStatus Error -1) and then I have to hit "Okay" sometimes over 100 times or just force quit Aperture. Happened again this morning and I had to hit "Okay" 55 times.

    Hey Rob,
    Thanks for the quick post! I checked the Login Items and it looked like there were three applications checked off that had uknown types next to their names. I unchecked them and hope to see this fix the pop up box.
    I'll respond if this does or does not fix the pop up.
    Thanks!

  • Was gonna by myself 160gb ipod for christmas...not gonna now...backing up music today... what mp3 players out there are good besides apple and where should i store my music now?

    was gonna by myself 160gb ipod for christmas...not gonna now...backing up music today... what mp3 players out there are good besides apple and where should i store my music now?

    Content acquired with an Apple ID is permanently tied to that ID.
    There is no reason to create a new Apple ID, frankly that will just create more issues.
    It is possible to load content from multiple Apple ID's onto a single device.  If the content is in the computer that the device syncs with, simply select the content and sync it.

  • What quality loss is there when cam videos are compressed sent over email?

    What quality loss is there when sending videos taken with the iPhone 3GS over email? It seems that it's being compressed in preparation for being sent over email.

    Hi Ric,
    The Canopus ADVC-100 works fine with FCE. Here are a few tips -
    First, make sure you only connect or disconnect it from your Mac when both your Mac and the ADVC-100 are turned off. Make sure that your camera video-out is connected to the s-video port on the front of the ADVC-100. Ditto for the audio connections. Only DIP switch 2 (IRE level) should be in the ON position. Connect a FW cable from your Mac to the 6-pin FW port on the back of the ADVC-100.
    Second, once they are connected via FW, make sure the ADVC is turned on and actually in analog-in mode before you start FCE. I have often found the ADVC-100 resets this mode by itself after being turned off or idle for an extended time. (All you need to do is hit the silver button once or twice, depending on the current mode, in order to switch it into Analog-in mode.) If it is not in this mode, FCE will not detect the ADVC and will act as if there is no device connected. (Normally there is a warning message if FCE fails to find a camera or ADVC connected however if you turned off that message at some earlier time you would not see it again.)
    Third, you can use either the DV-NTSC or DV Converter easy setup in FCE. I have used both with my ADVC-100 and they both work.

Maybe you are looking for

  • How can I convert an m4v or dv video to mjpeg format

    I'm trying to convert a .dv video to mjpeg supported by motion 5. Anyone knows about an app or a website where I can download the converter?

  • [Solved] Clean shutdown/reboot/suspend,wakeup no longer possible.

    No matter how I try to shut down my arch system, via systemctl poweroff, or through the GUI, or using /sbin/shutdown, my system will hang while shutting down. Forcing me to hold the power key down for a forced shutdown. This is the log from the last

  • Unix shell: Environment variable works for file system but not for ASM path

    We would like to switch from file system to ASM for data files of Oracle tablespaces. For the path of the data files, we have so far used environment variables, e.g., CREATE TABLESPACE BMA DATAFILE '${ORACLE_DB_DATA}/bma.dbf' SIZE 2M AUTOEXTEND ON; T

  • Vid card issues I think??

    Good day, I'm having some major issues with my card "I think" When playing MOH Pacific Assault, Battlefield Vietnam, and Doom3 my sys locks up and/or I get major video corruption. I have tried updating all of the drivers forward and backward and no l

  • Sorry, previously posted in wrong topic!

    hi, i have recently been having ALOT of problems gettin my nano replaced due to a cracked screen. I requested service on it during the warrenty period, now its finished, and now they didnt deliver the box cos they are mal co ordinated, and are trying