Database backup steps

Hello:
I am a DBA begineer, and would like to know how to backup a database and restores. Is there single script can do this ?
Thanks.
Dima

dassanayake wrote:
Hello:
I am a DBA begineer, and would like to know how to backup a database and restores. Is there single script can do this ?
Thanks.
DimaIf you are just starting, you must read these two following guides before attempting to start doing any backup orrecovery ,
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/toc.htm
HTH
Aman....

Similar Messages

  • Urgent: New database with restored tape backup - step by step

    Hi
    Oracle: 9.2.0.6
    OS: AIX 5
    There is an old full cold database backup on the TAPE drive which includes spfile and control files etc.
    I have been asked to restore this database to a new server (AIX 5). I am a new dba with less hands on restore/recovery from tape drives using rman.
    Can someone let me know
    1. what do I need to know before I can start anything
    2. how to restore backup from tape (spfile, control file, data files etc)
    3. steps to create a database instance with backup restore and start it
    4. How do I know password of sys/system users
    Thankyou so much for help.
    Vishal

    Maybe you could read the manual?

  • Full Database Backup in DB13 for MS SQL Server databases

    Hello,
    We have some SAP systems using the MS SQL Server database. I want to know if it is possible to setup the Full Database Backup option in transaction DB13 to store the files in a hard disk space.
    I already did this type of configuration in SAP systems in Oracle databases and for this I used the init<SID>.sap where we can put all the configuration, for instance the disk path where we want to save the backup files! But for MS SQL Server databases, in DB13, I don´t know how to do that, when I add the "Full Database Backup" option in DB13, this show me some options but only for tape, but I don´t want to store the backup files in tapes, I want to store/save the files on the server disk itself or else to an external disk but I don´t see where I can set this way of storage!
    This is what you see in DB13 (when using a MS SQL Server database) in "Full Database Backup" and as you see I only have options for TAPE not for a disk or other type of storage! How can I do that? (if that is possible):
    Can you help me please?
    Kind regards,
    samid raif

    Hello Raja
    Sorry for the delay of my answer! Many thanks for that tip, it helps a lot and it solve the last error/problem that I reported here, in fact, the problem was we had named the device with two words containing a space. So we removed that space from the backup device (in SQL management studio) with one word only and the job runs successfully without any errors!
    It works in Development and Quality systems but in our Production system (AM1) the Full backup option in DB13 stopped with the following error, in fact the error is on verification of backup, it means that the Full backup finished with success, but when it does the backup verification, the job in DB13 stops with an error, the following one:
    ***************************** SQL Job information   ******************************
    Jobname:    SAP CCMS Full DB Backup of AM1 [20140417103726-4-103726]
    Type:       TSQL
    DB-Name:    AM1
    For Run:    20140417  10:37:26
    **************************** Job history information  *****************************
    Stepname:   CCMS-step 1
    Command:    declare @exeStmt nvarchar(2000) exec am1.sap_backup_databases @dbList=
                "AM1",@r3Db="AM1",@bDev="fullprd",@expDays= 27,@jobName= "SAP CCMS Ful
                l DB Backup of AM1 [20140417103726-4-103726]",@bkupChecksum="Y",@bkupT
                ype="F",@nativeBkup="N",@exeDate = "20140417103726",@bkupSim = "N",@fo
                rmat = 0,@init = 0,@bkupDb = "AM1",@unload = 0,@exeStmt = @exeStmt OUT
                PUT
    Status:     (success)
    Message:    3014
    Severity:                                                                                                                                                                                                                                                    0
    Duration:   4  hours(s)  41 min(s) 22 sec(s)
    Last msg:   Executed as user: am1. Processed 7434328 pages for database 'AM1', fil
                e 'A01DATA1' on file 1. [SQLSTATE 01000] (Message 4035)  Processed 315
                1504 pages for database 'AM1', file 'A01DATA2' on file 1. [SQLSTATE 01
                000] (Message 4035)  Processed 4574152 pages for database 'AM1', file
                'A01DATA3' on file 1. [SQLSTATE 01000] (Message 4035)  Processed 44363
                92 pages for database 'AM1', file 'A01DATA4' on file 1. [SQLSTATE 0100
                0] (Message 4035)  Processed 25598 pages for database 'AM1', file 'A01
                LOG1' on file 1. [SQLSTATE 01000] (Message 4035)  BACKUP DATABASE succ
                essfully processed 19621974 pages in 16881.638 seconds (9.521 MB/sec).
                 [SQLSTATE 01000] (Message 3014).  The step succeeded.
                        <------------- End of Job Step History --------------->
    Stepname:   CCMS-step 2
    Command:    declare @exeStmt nvarchar(2000) exec am1.sap_verify_backups @nativeBku
                p = "N",@bkupSim = "N",@bDev = "fullprd",@bkupChecksum = "Y",@exeDate
                = "20140417103726",@unload = 1,@dbCnt =1,@exeStmt = @exeStmt OUTPUT
    Status:     (failure)
    Message:    3201
    Severity:                                                                                                                                                                                                                                                   16
    Duration:   0  hours(s)  8  min(s) 30 sec(s)
    Last msg:   Executed as user: am1. Cannot open backup device 'fullprd(\\10.0.0.45\
                backupsap\prd\prdfullqua.bak)'. Operating system error 1265(error not
                found). [SQLSTATE 42000] (Error 3201).  The step failed.
                        <------------- End of Job Step History --------------->
    **************************** Job history information  *****************************
    Can you help me please with this one!? Can you tell me why in verification it stops with that error?
    Kind regards,
    samid raif

  • SQL Server 2008 & 2012 Database backup on a shared loaction

    Hi,
    I have to plan for the Database backup on SQL Server 2008 & 2012 on a shared Path.
    We are building a new Maintenance plan &  specify the Database which needs to be backup & at the Folder location we specify the Shared Path Location. These steps I have followed using the below link,
    http://social.msdn.microsoft.com/Forums/en-US/be138ca3-4b2f-4464-8115-9a0a6f2e0fe6/sql-database-backup-on-network-share-using-maintenance-plan?forum=sqldatabasemirroring
    But the operation fails & throws the below error:
    Message
    Executed as user Microsoft (R) SQL Server Execute Package Utility  Version 10.50.1600.1 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  12:27:17 PM  Progress: 2014-02-13 12:27:19.13    
    Source: {B6CEBA00-4BD1-4931-AF23-B633BEDBEE4A}      Executing query "DECLARE @Guid UNIQUEIDENTIFIER      EXECUTE msdb..sp...".: 100% complete  End Progress  Error: 2014-02-13 12:27:20.63    
    Code: 0xC002F210     Source: Back Up Database Task Execute SQL Task     Description: Executing the query "BACKUP DATABASE DB TO  DISK ..." failed with the following error: "Cannot open backup device
    '\\DBBackup\SharePoint_backup\DB_backup_2014_02_13_122719_5314660.bak'. Operating system error 5(Access is denied.).  BACKUP DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not
    set correctly, parameters not set correctly, or connection not established correctly.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  12:27:17 PM  Finished: 12:27:20 PM  Elapsed:  2.843 seconds. 
    The package execution failed.  The step failed.
    Note: But when I open the shared path in the Windows Explorer it opens successfully.
    Regards,
    Purvish Shah

    Hello,
    >>'\\DBBackup\SharePoint_backup\DB_backup_2014_02_13_122719_5314660.bak'. Operating system error 5(Access is denied.). 
    This clearly points out to fact that your SQL Server service account does not have permission of read/write on shared location,simple.
    >>But when I open the shared path in the Windows Explorer it opens successfully.
    This is because when you are browsing through explorer your windows login credential is used to access that folder but when you are running backup your SQL Server service account permission is used to write backup on shared folder ( which I assume it does
    not have ) so the access denied error.
    Hope this helps
    PS: I reffered the link its maily how you specify backup path its not about access denied error due to SQL server service acount not having privilege
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • I have problem with syncing in itunes and it stared since i installed new version of itunes.it stuck in backup step for houres.what shud i do?

    I have problem with syncing in itunes and it stared since i installed new version of itunes.it stuck in backup step for houres.what shud i do?

    So, in iTunes, when you look at the shuffle's content (in the sidebar) and click on the playlist under the shuffle, over to the right, the songs are in your desired order, correct?  Where do you look, or what do you do, that indicates the playlists are in alphabetical order?  Are you saying that when you play the songs while using the shuffle, they play in alphabetical order?
    If so, when you listen to the songs on the shuffle, are you using the playlist, or are you using the All Songs list? If you are in the default All Songs list, with the shuffle's power switch set to play-in-order (the middle position), the songs play alphabetically, I believe. 
    The 3rd gen shuffle uses VoiceOver.  If you are in the All Songs list, you need to use VoiceOver to switch to the playlist (see manual linked below for details).  When you are in the playlist (with the shuffle's power switch set to play-in-order), then the songs should play in playlist order.
    There are more details in the manual for the 3rd gen shuffle, which is online here
    http://manuals.info.apple.com/en_US/iPod_shuffle_3rdGen_UG.pdf
    See page 22 for the section about setting up and using VoiceOver.  The part about switching playlists starts on page 23 (Using the Playlist Menu).

  • DBACockpit Configuration - Remote Database backup of Java Stack.

    Hi All,
    I am configuring remote database backup of my SAP Java stack system.
    I have successfully connected the system in dbacockpit. I have gateway installed also on the remote host system. but Database scheduling on DB13 failed.
    On the OS of CEN system, I can connect to the host system of the remote using the OPS$ logon and i.e
    sqlplus /@SID as sysdba  - (It connected, to confirm i querried the v$instance I was also able to shutdown the remote system)
    E:\>sqlplus /@SID as sysdba
    SQL*Plus: Release 10.2.0.4.0 - Production on Wed May 18 15:37:46 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    But when I ran the brtools to perform the backup I got this error.
    "BR0301W SQL error -12560 at location BrDbConnect-2, SQL statement:

    Hi Niyi,
    This is a TNS error. The system is not able to connect TNS by using br*tools.
    Firstly, check your environment variables. They should be as same as java system environmnt variables.
    Secondly, check the link below;
    [BR0301W SQL error -1017;
    You need to create a synonym and SAPUSER table for the gateway installation <sid>adm user on Java database. By doing so, br*tools will be able to connect to the java database.
    Best regards,
    Orkun Gedik

  • Error restoring SQL 2008 R2 DB into SQL 2012: BACKUP LOG cannot be performed because there is no current database backup.

    I have a SQL 2008 R2 database that I am trying to move to 2012.  Made a full backup of the database in 2008 R2.  Recovery model is Simple, compatibility level is 2008  Went to 2012, created a dummy database, did Tasks--> Restore -->
    Database , located the backup file, selected it, changed the file locations and tried to restore the backup (with overwrite option), got the following error:
    BACKUP LOG cannot be performed because there is no current database backup.
    This is a simple task that has always worked in 2008 R2.  Does anyone know what the problem is and a possible solution?
    Thanks

    Hi,
    This error occurs when the database recovery model has been changed to Simple and/or the recovery model has been changed back to Full but a full backup has not been performed since the change.
      If a full backup has been performed, the following conditions will require that another full backup be taken:
     · The recovery model had been changed without taking a full backup
     · A SQL maintenance plan task had changed the recovery model (reindexing can cause this)
     · A backup specifying TRUNCATE_ONLY had been run on the database
     · The database was detached from another server and attached to the current server
    Additionally, if we take full database backup after the Database is set to readonly, Then transaction log backup we will end up with this error. This is expected behavior. I have list an example within the link below.
    Please check above conditions and fix your issue, if you have any concern, please let me know.
    Example:
    BACKUP LOG cannot be performed because there is no current database backup.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b5c36e60-836f-4c9e-b9d7-3fb3f3ee4d37/backup-log-cannot-be-performed-because-there-is-no-current-database-backup
    Thanks
    Candy Zhou

  • How to restore a database backup taken from a SQL Server 2012 instance to SQL Server 2014

    I am trying to restore a database backup taken from a SQL Server 2012 instance to my new SQL Server 2014 instance.  When I add the .bak through the Mgmt studio UI, it does not seem to find a backup set in the file so I cannot proceed (does not give
    me any errors though either.  I tried restoring through TSQL command but only got a database restore terminating abnormally error with no other details.  How can I restore this database to SQL 2014?

    Hello,
    Please examine SQL Server Error Log and share with us any error you can find. The following article may locate the log:
    http://msdn.microsoft.com/en-us/library/ms187109.aspx
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Need some suggestion doing database backup

    Hi All,
    I am working on the 11gR2 RAC oracle database and below are the details.
    SQL>select * from gv$version;
    INST_ID BANNER
    2 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    2 PL/SQL Release 11.2.0.1.0 - Production
    2 CORE 11.2.0.1.0 Production
    2 TNS for Linux: Version 11.2.0.1.0 - Production
    2 NLSRTL Version 11.2.0.1.0 - Production
    1 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    1 PL/SQL Release 11.2.0.1.0 - Production
    1 CORE 11.2.0.1.0 Production
    1 TNS for Linux: Version 11.2.0.1.0 - Production
    1 NLSRTL Version 11.2.0.1.0 - Production
    3 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    3 PL/SQL Release 11.2.0.1.0 - Production
    3 CORE 11.2.0.1.0 Production
    3 TNS for Linux: Version 11.2.0.1.0 - Production
    3 NLSRTL Version 11.2.0.1.0 - Production
    ps -ef|grep pmonoracle 11077 11067 0 10:37 pts/0 00:00:00 grep pmon
    oracle 12383 1 0 2011 ? 00:16:18 ora_pmon_cc2crt2
    oracle 12432 1 0 2011 ? 00:07:43 ora_pmon_cc3crt2
    oracle 12437 1 0 2011 ? 00:07:11 ora_pmon_cc4crt2
    oracle 12814 1 0 2011 ? 00:06:01 ora_pmon_ccoreqal2
    oracle 12816 1 0 2011 ? 00:05:50 ora_pmon_ccorecrt2
    I have 5 databases in these three severs and having around 20 GB of size except one database. The size of the this database (ccoreqal2) is 7.5 TB. I have took the full database backup using expdp for all DB's except the BIG size DB. i am not able to use the expdp because of the size. Which way is best to do the backup for this big size DB.
    The purpose of taking the backup is, we are upgrading our oracle to 11.2.0.3 and We don't have any regular backups (RMAN or EXPORT) on these databases. these are QA databases.
    Please let me know, how i need to prepare for this DB backup.
    Thanks in advance for your help.

    >
    i am not able to use the expdp because of the size
    >
    Why not? You can have expdp create multiple files on export so that each file is no larger than the size you specify. This makes it easier to manage large exports.
    Using multiple files and a parallel export will handle this for you.
    See the DUMPFILE section of the database utilities doc - http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_export.htm
    It has this example of file splitting using PARALLEL
    >
    Example
    The following is an example of using the DUMPFILE parameter:
    expdp hr/hr SCHEMAS=hr DIRECTORY=dpump_dir1 DUMPFILE=dpump_dir2:exp1.dmp,exp2%U.dmp PARALLEL=3
    The dump file, exp1.dmp, will be written to the path associated with the directory object dpump_dir2 because dpump_dir2 was specified as part of the dump file name, and therefore overrides the directory object specified with the DIRECTORY parameter. Because all three parallel processes will be given work to perform during this job, the exp201.dmp and exp202.dmp dump files will be created and they will be written to the path associated with the directory object, dpump_dir1, that was specified with the DIRECTORY parameter.

  • Help! How to restore LR 1.1 database backup

    I run LR 1.1 under Windows XP. I have LR 1.1 setup to backup the database to an external hard drive. Once a week it prompts me to backup the database, which I do. In the middle of importing some raw files from a CF card, I received a message that my catalog was corrupt. My understanding is that I need to remove the LR Catalog file from the LR directory in My Pictures folder and replace it with the backup catalog. On the external hard drive where I have been backing up LR, I opened a directory called R:\Lightroom Database Backup\2007-08-22 0900, which I assume is where my latest backup is. Inside this directory is a 251,560 KB file called Lightroo. That is correct, Lightroo with no "m". Is this suppose to be the backup LR catalog file? If so, after dragging it into the LR folder, and then CTRL click load LR, when I try to specify this Lightroo file, but LR does not recognize it.
    I am lost. How do I use the database backup that I have been regularly creating on my external hard drive to correct the corrupt catalog message I get when loading LR?

    The backup file is not called Lightroo unless that is what you named it for some reason. The default backup files have the same name as your working database file whatever that is - XXXXXXX.lrcat. The backup folder you listed looks ok. When you setup the backup procedure on the external hard drive, did you look to make sure that LR was actually putting a copy of your database file where you intended and that it was named properly. Maybe you can simply change the file name from Lightroo to Lightroom.lrcat LR does not care what you name the database file as long as it has the proper extension, lrcat.
    It would also be a good idea to check exactly where LR is putting your backup files. I believe there is a Browse button you can click to open a dialog and see where LR is currently putting them.
    You don't necessarily have to replace your corrupt file with a backup file to test the backup. You can point LR at any functional database file and it will open it wherever it is. So you can test your backups using the File/Open Catalog command. Once you are sure you have a working file, simply move the backup it to the location where you want it stored and point LR to that location in the future.

  • Need a Script to check Database backup chain for revovery

    Dear All,
    any having a handy script to check database backup chain ,
    Database A --> Full backup  -- Diff -- log1 --Log 2 ...... and scan through the files to validate if we can recover the database using the avaiable backups.
    Regards
    Sufian
    Mohd Sufian www.sqlship.wordpress.com Please mark the post as Answered if it helped.

    You can use below TSQL
    set nocount on
    go
    if exists ( select name from tempdb..sysobjects where name like '#DatabasesBackupsStatus%')
    drop table #DatabasesBackupsStatus
    GO
    create table #DatabasesBackupsStatus
    ServerName varchar(100) null,
    DBName varchar(100) null,
    RecoveryModel varchar(100) null,
    LastFullbackup datetime null,
    days_since_Lastfullbackup int null,
    days_since_Lastdiffbackup int null,
    HOURS_since_LastLogbackup int,
    DBStatus varchar (100) null,
    FullBackupLocation varchar(1000) null,
    MEDIASET INT,
    JobOwner varchar(100) null
    Go
    insert into #DatabasesBackupsStatus(ServerName,DBName)
    select convert(varchar,serverproperty('ServerName')),a.name
    from master.dbo.sysdatabases a
    where a.name <> 'tempdb'
    update #DatabasesBackupsStatus
    set LastFullbackup=b.backup_start_date,
    days_since_Lastfullbackup=datediff(dd,b.backup_start_date,getdate()),
    MEDIASET=b.media_set_id
    from #DatabasesBackupsStatus a,(select database_name,MAX(media_set_id)media_set_id,max(backup_start_date) backup_start_date
    from msdb..backupset where type='D' group by database_name)b
    where a.DBName=b.database_name
    update #DatabasesBackupsStatus
    set RecoveryModel=convert(sysname,DatabasePropertyEx(DBName,'Recovery'))
    update #DatabasesBackupsStatus
    set DBStatus=convert(sysname,DatabasePropertyEx(DBName,'Status'))
    update d
    set d.FullBackupLocation=b.physical_device_name
    from #DatabasesBackupsStatus d , msdb..backupmediafamily b
    where d.MEDIASET =b.media_set_id
    update d
    set d.days_since_Lastdiffbackup=datediff(dd,b.backup_finish_date,getdate())
    from #DatabasesBackupsStatus d , (select database_name,max(backup_finish_date) backup_finish_date
    from msdb..backupset where type ='I' group by database_name) b
    where d.DBName = b.database_name
    update d
    set d.JobOwner=b.[user_name]
    from #DatabasesBackupsStatus d , msdb..backupset b
    where d.MEDIASET = b.media_set_id
    update d
    set d.HOURS_since_LastLogbackup=datediff(hh,b.backup_finish_date,getdate())
    from #DatabasesBackupsStatus d , (select database_name,max(backup_finish_date) backup_finish_date
    from msdb..backupset where type ='L' group by database_name) b
    where d.DBName = b.database_name
    AND d.RecoveryModel != 'SIMPLE'
    Go
    select * from #DatabasesBackupsStatus
    Go
    drop table #DatabasesBackupsStatus
    Please Mark This As Answer if it solved your issue 
    Please Mark This As Helpful if it helps to solve your issue
    Thanks,
    Shashikant

  • Report and alerts for Exchange Server database backup

    Hi
    i am trying to use the Get-DailyBackupAlerts.ps1
    to check the exchange database backup state every day by email 
    and i am using this scripts its working fine but I have problem with sending email  
    here below the Error
    04/16/2015 09:46:53 Alert email will be sent
    04/16/2015 09:46:53 Report summary: Alerts 23, OK 0
    04/16/2015 09:46:53 Sending email report
    04/16/2015 09:46:53 Cannot validate argument on parameter 'From'. The argument is null or empty. Supply an argument that is not null or empty and then try the command again.
    04/16/2015 09:46:53 Finished.
    my setting the in the file Settings.xml as below 
    <EmailSettings>
        <SMTPServer>webmail.domain.com</SMTPServer>
        <SMTPPort>25</SMTPPort>
        <MailFrom>[email protected]</MailFrom>
        <MailTo>[email protected]</MailTo>
      </EmailSettings>
    any one can help ?
    Mahmoud

    Dear Mahmoud,
    In the SMTP server settings below you need to replace with your HUB server FQDN if its 2010 or Mailbox server FQDN if its 2013 and after that i think it should work.
    <SMTPServer>webmail.domain.com</SMTPServer>
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
    (MVP)

  • Query used by SQL Server Management Pack for monitoring database backups

    I use SCOM 2012 R2 and the SQL Server Management Pack to monitor SQL Server database backups. I believe I am getting false positives. SCOM reports database are not backuped, while in fact they are. So I need to troubleshoot this. I suspect SCOM is querying
    the backup history in the msdb database. I want to know which query SCOM uses.
    I have tried looking in the monitor's definition but I suspect the query is embedded in the management pack files which are binary. I have also tried running a trace using the SQL Server Profiler on my test environment and overriding the interval to 60 seconds,
    but I don't see a relevant query being executed. I also don't see the alert reappear so I suspect SCOM does not honor the interval in a way I would expect.
    What query, or other method, does SCOM use to check database backups?
    Thanks in advance.

    Thank you both Ivan and Michael,
    I only saw your messages by email and didn't see your screen shot before I extracted the query myself. In my own queries I calculate the backup age in hours instead of days because of daily full backups. Perhaps It will be a good idea to create my own monitors
    from scratch like I used to do with Nagios.
    I will study the vbscripts and might create my own version which allows the query to be entered as an parameter and move all code to a .Net class which can be called from vbscript as an COM object. This way I hope to reduce the vbscript code to an minimum
    while keeping the flexibility of the SCOM Operations Console and the robustness of .Net. I suspect I want to make more non standard monitors in the future.
    Regards,
    Arjen

  • Why database backup information is not in rc_rman_status

    Hi,
    I used rman to backup dozen of databases. Only 3 database backup info is in rc_rman_status. I can see all databases fromrc_database. From EM console, every database target page shows the daily backup information. What happened?
    I need to create a report for daily backups of all databases. I want to pull information directly from rc_rman_status. Any suggestions?
    Thanks
    Laura

    Hello,
    It is possible that your recovery catalog is 10g but you have performed a backup using a lower RMAN client such as 9i. I believe RC_RMAN_STATUS is a 10g addition and hence the 9i RMAN client will not populate these tables. Obviously I can't guarantee this is your problem, but if you have a mixed Oracle environment, this is a high possibility.
    Hope that helps
    Andy

  • Daily database backup runnig on RAC 10.2.0.3 with two Solaris nodes & ASM

    Hello,
    I'm confused about making daily incremental RMAN backup of a database runnig on Oracle RAC 10.2.0.3 on two Solaris nodes and ASM.
    Databases cannot be stopped for backup and point in time recovery is needed.
    Please correct me if I am doing wrong:
    1) Backup must be Weekly database Level 0 and Daily database Level 1 is appropriate.
    2) Is best to use a Flash Recovery Area (FRA) - I've setup one on a separate ASM volume. I have enough space to do the backup on FRA.
    3) I am confused about the number channels I need to use. Do I need to use separate RMAN backup channels for each node or I can just leave the default:
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    4) Below are the RMAN scripts I plan to use for
    - Weekly database backup Level 0:
    #!/usr/bin/ksh
    echo BACKUP FULL: $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append
    $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
    run {
    backup incremental level 0 database TAG bkp_level0_200906010;
    SQL 'alter system archive log current';
    backup archivelog all;
    delete noprompt obsolete;
    exit;
    eof
    - Daily database backup Level 1:
    #!/usr/bin/ksh
    echo BACKUP INCREMENTAL: $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append
    $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
    run {
    backup incremental level 1 database TAG bkp_level1_20090611;
    SQL 'alter system archive log current';
    backup archivelog all;
    delete noprompt obsolete;
    exit;
    eof
    I'm I doing things wrong?

    Show also the parameter I have set for RMAN:
    node1:oracle$ rman target /
    Recovery Manager: Release 10.2.0.3.0 - Production on Tue Jun 9 23:46:05 2009
    connected to target database: ORCL (DBID=1198388159)
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 7;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/product/10gr2/db/dbs/snapcf_orcl1.f'; # default
    Showing some instance parameters on node1:
    SQL> show parameter recovery;
    NAME                                 TYPE        VALUE
    db_recovery_file_dest                string      DGFRA+
    db_recovery_file_dest_size           big integer 300G
    recovery_parallelism                 integer     0
    SQL> show parameter archive;
    NAME                                 TYPE        VALUE
    archive_lag_target                   integer     0
    log_archive_config                   string
    log_archive_dest                     string
    log_archive_dest_1                   string
    log_archive_dest_10                  string      location=use_db_recovery_file_
    dest
    log_archive_dest_2                   string
    log_archive_dest_3                   string
    log_archive_dest_4                   string
    log_archive_dest_5                   string
    log_archive_dest_6                   string
    NAME                                 TYPE        VALUE
    log_archive_dest_7                   string
    log_archive_dest_8                   string
    log_archive_dest_9                   string
    log_archive_dest_state_1             string      enable
    log_archive_dest_state_10            string      enable
    log_archive_dest_state_2             string      enable
    log_archive_dest_state_3             string      enable
    log_archive_dest_state_4             string      enable
    log_archive_dest_state_5             string      enable
    log_archive_dest_state_6             string      enable
    log_archive_dest_state_7             string      enable
    NAME                                 TYPE        VALUE
    log_archive_dest_state_8             string      enable
    log_archive_dest_state_9             string      enable
    log_archive_duplex_dest              string
    log_archive_format                   string      %t_%s_%r.dbf
    log_archive_local_first              boolean     TRUE
    log_archive_max_processes            integer     2
    log_archive_min_succeed_dest         integer     1
    log_archive_start                    boolean     FALSE
    log_archive_trace                    integer     0
    remote_archive_enable                string      true
    standby_archive_dest                 string      ?/dbs/arch

Maybe you are looking for

  • Ship-To Address not trasferred to backend

    Hello all, EBP 5.0, R/3 4.7 I have address maintained in EBP via web and added it to user in ppoma_bbp as default. In SC when user check details Ship-To Address is appropriate, but in backend in Purchase Requsition delivery address is from associated

  • How to call application forms from network directory on other machine

    I have installed Oracle Application Server 10G Release2 without IDS (Developer) on my server. I put my application forms & reports on the same machine(APPSERVER) and run the application as follows:- http://appserver.www.ebs.com:7778/forms/frmservlet?

  • Photoshop Elements 11 and CS6

    I have Photoshop Elements 11 and am wanting to upgrade to CS6.  Can I just upgrade or do I have to buy the whole CS6?

  • JButton in side JTabe

    Hi all, i created JTable & put JButton column inside it by using the cell editor & cell render, but the code of the actionPerformed method of the jbutton is not executed. the following is the code for cell editor public class ButtonEditor extends Def

  • Call executable and stdout/stderr

    Is there a possibility to save  the output of commandline program which writes to stdout/stderr and which is run from a call executable teststep other than to redirect the stdout/stderr channels to a file ?