Home » RDBMS Server » Backup & Recovery » Backup and Recovery without using Archivelog ON (Oracle , 10g R2, HP-Ux)
Backup and Recovery without using Archivelog ON [message #318775] Wed, 07 May 2008 23:23 Go to next message
BigKahuna
Messages: 3
Registered: May 2008
Location: Singapore
Junior Member
Hi All

I am looking for options for Backup and recovery for a 2 TB Oracle 10G R2 database (Data Ware House).

Any help on this is appreciated

Thanks and Regards
Re: Backup and Recovery without using Archivelog ON [message #318779 is a reply to message #318775] Wed, 07 May 2008 23:36 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>I am looking for options for Backup and recovery for a 2 TB Oracle 10G R2 database (Data Ware House).

RMAN
Re: Backup and Recovery without using Archivelog ON [message #318782 is a reply to message #318779] Wed, 07 May 2008 23:45 Go to previous messageGo to next message
BigKahuna
Messages: 3
Registered: May 2008
Location: Singapore
Junior Member
Doesn't RMAN require Archivelog to be ON ?
Re: Backup and Recovery without using Archivelog ON [message #318784 is a reply to message #318775] Wed, 07 May 2008 23:54 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>Doesn't RMAN require Archivelog to be ON ?
No, or only if hot backups are to be done.
Re: Backup and Recovery without using Archivelog ON [message #318954 is a reply to message #318784] Thu, 08 May 2008 09:06 Go to previous messageGo to next message
kudur_kv
Messages: 75
Registered: February 2005
Member
Does your database need to be up 24x7?
Re: Backup and Recovery without using Archivelog ON [message #319057 is a reply to message #318954] Thu, 08 May 2008 18:49 Go to previous messageGo to next message
BigKahuna
Messages: 3
Registered: May 2008
Location: Singapore
Junior Member
No It does not need to be up 24x7. A downtime of 12 hours 1 time a month and 4 hours daily is allowed. Its data warehouse.
Re: Backup and Recovery without using Archivelog ON [message #319442 is a reply to message #319057] Sun, 11 May 2008 06:05 Go to previous message
trantuananh24hg
Messages: 744
Registered: January 2007
Location: Ha Noi, Viet Nam
Senior Member
Frequently, RMAN is the best utility and it is the part of Oracle production. You can configure RMAN with catalog (seperate DB or nocatalog - DB'scontrol_file).

Example with nocatalog
C:\>rman

Recovery Manager: Release 10.2.0.1.0 - Production on Sun May 11 17:53:40 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

RMAN> connect target sys/pwd@meta

connected to target database: META (DBID=1237424567)

RMAN> show all;

using target database control file instead of recovery catalog
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
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 CHANNEL DEVICE TYPE DISK FORMAT   'c:\temp\Backup%d_DB_%u_%s_%p';
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 'C:\ORACLE\PRODUCT\10.2.0\NEO\DATABASE\SN
CFMETA.ORA'; # default

RMAN>


Example with backup Level0
RMAN> shutdown immediate

database closed
database dismounted
Oracle instance shut down

RMAN> startup mount

connected to target database (not started)
Oracle instance started
database mounted

Total System Global Area     419430400 bytes

Fixed Size                     1249344 bytes
Variable Size                 67112896 bytes
Database Buffers             348127232 bytes
Redo Buffers                   2940928 bytes

RMAN> run{
2> allocate channel d1 type disk;
3> backup incremental level 0
4> format 'C:\meta_backup\Meta_Level0_%s_%p'
5> filesperset 1
6> (database include current controlfile);
7> release channel d1;
8> }

allocated channel: d1
channel d1: sid=156 devtype=DISK

Starting backup at 11-MAY-08
channel d1: starting incremental level 0 datafile backupset
channel d1: specifying datafile(s) in backupset
input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\USERS01.DBF
channel d1: starting piece 1 at 11-MAY-08

channel d1: finished piece 1 at 11-MAY-08
piece handle=C:\META_BACKUP\META_LEVEL0_13_1 tag=TAG20080511T180022 comment=NONE

channel d1: backup set complete, elapsed time: 00:01:06
channel d1: starting incremental level 0 datafile backupset
channel d1: specifying datafile(s) in backupset
input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\SYSTEM01.DBF

channel d1: starting piece 1 at 11-MAY-08
channel d1: finished piece 1 at 11-MAY-08
piece handle=C:\META_BACKUP\META_LEVEL0_14_1 tag=TAG20080511T180022 comment=NONE

channel d1: backup set complete, elapsed time: 00:00:55
channel d1: starting incremental level 0 datafile backupset
channel d1: specifying datafile(s) in backupset
input datafile fno=00005 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\RESOURCE_MAN
AGER01.DBF
channel d1: starting piece 1 at 11-MAY-08
channel d1: finished piece 1 at 11-MAY-08
piece handle=C:\META_BACKUP\META_LEVEL0_15_1 tag=TAG20080511T180022 comment=NONE

channel d1: backup set complete, elapsed time: 00:00:15
channel d1: starting incremental level 0 datafile backupset
channel d1: specifying datafile(s) in backupset
input datafile fno=00006 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\RMAN.DBF
channel d1: starting piece 1 at 11-MAY-08
channel d1: finished piece 1 at 11-MAY-08
piece handle=C:\META_BACKUP\META_LEVEL0_16_1 tag=TAG20080511T180022 comment=NONE

channel d1: backup set complete, elapsed time: 00:00:25
channel d1: starting incremental level 0 datafile backupset
channel d1: specifying datafile(s) in backupset
input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\SYSAUX01.DBF

channel d1: starting piece 1 at 11-MAY-08
channel d1: finished piece 1 at 11-MAY-08
piece handle=C:\META_BACKUP\META_LEVEL0_17_1 tag=TAG20080511T180022 comment=NONE

channel d1: backup set complete, elapsed time: 00:00:26
channel d1: starting incremental level 0 datafile backupset
channel d1: specifying datafile(s) in backupset
input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\UNDOTBS01.DB
F
channel d1: starting piece 1 at 11-MAY-08
channel d1: finished piece 1 at 11-MAY-08
piece handle=C:\META_BACKUP\META_LEVEL0_18_1 tag=TAG20080511T180022 comment=NONE

channel d1: backup set complete, elapsed time: 00:00:16
channel d1: starting incremental level 0 datafile backupset
channel d1: specifying datafile(s) in backupset
including current control file in backupset
channel d1: starting piece 1 at 11-MAY-08
channel d1: finished piece 1 at 11-MAY-08
piece handle=C:\META_BACKUP\META_LEVEL0_19_1 tag=TAG20080511T180022 comment=NONE

channel d1: backup set complete, elapsed time: 00:00:03
channel d1: starting incremental level 0 datafile backupset
channel d1: specifying datafile(s) in backupset
including current SPFILE in backupset
channel d1: starting piece 1 at 11-MAY-08
channel d1: finished piece 1 at 11-MAY-08
piece handle=C:\META_BACKUP\META_LEVEL0_20_1 tag=TAG20080511T180022 comment=NONE

channel d1: backup set complete, elapsed time: 00:00:02
Finished backup at 11-MAY-08

released channel: d1

RMAN>alter database open;

database opened

RMAN> list backup of database;


List of Backup Sets
===================

BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
2       Full    541.48M    DISK        00:01:09     28-DEC-07
        BP Key: 2   Status: AVAILABLE  Compressed: NO  Tag: TAG20071228T155648
        Piece Name: C:\TEMP\BACKUPMETA_DB_03J4OCI1_3_1
  List of Datafiles in backup set 2
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  1       Full 1027546    28-DEC-07 C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\SYSTEM
01.DBF
  2       Full 1027546    28-DEC-07 C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\UNDOTB
S01.DBF
  3       Full 1027546    28-DEC-07 C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\SYSAUX
01.DBF
  4       Full 1027546    28-DEC-07 C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\USERS0
1.DBF

BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
6       Incr 0  24.41M     DISK        00:00:58     11-MAY-08
        BP Key: 6   Status: AVAILABLE  Compressed: NO  Tag: TAG20080511T180022
        Piece Name: C:\META_BACKUP\META_LEVEL0_13_1
  List of Datafiles in backup set 6
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  4    0  Incr 18776641851 11-MAY-08 C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\USERS
01.DBF

BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
7       Incr 0  429.06M    DISK        00:00:45     11-MAY-08
        BP Key: 7   Status: AVAILABLE  Compressed: NO  Tag: TAG20080511T180022
        Piece Name: C:\META_BACKUP\META_LEVEL0_14_1
  List of Datafiles in backup set 7
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  1    0  Incr 18776641851 11-MAY-08 C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\SYSTE
M01.DBF

BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
8       Incr 0  88.00K     DISK        00:00:13     11-MAY-08
        BP Key: 8   Status: AVAILABLE  Compressed: NO  Tag: TAG20080511T180022
        Piece Name: C:\META_BACKUP\META_LEVEL0_15_1
  List of Datafiles in backup set 8
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  5    0  Incr 18776641851 11-MAY-08 C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\RESOU
RCE_MANAGER01.DBF

BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
9       Incr 0  20.05M     DISK        00:00:19     11-MAY-08
        BP Key: 9   Status: AVAILABLE  Compressed: NO  Tag: TAG20080511T180022
        Piece Name: C:\META_BACKUP\META_LEVEL0_16_1
  List of Datafiles in backup set 9
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  6    0  Incr 18776641851 11-MAY-08 C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\RMAN.
DBF

BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
10      Incr 0  183.46M    DISK        00:00:25     11-MAY-08
        BP Key: 10   Status: AVAILABLE  Compressed: NO  Tag: TAG20080511T180022
        Piece Name: C:\META_BACKUP\META_LEVEL0_17_1
  List of Datafiles in backup set 10
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  3    0  Incr 18776641851 11-MAY-08 C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\SYSAU
X01.DBF

BS Key  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
11      Incr 0  127.02M    DISK        00:00:13     11-MAY-08
        BP Key: 11   Status: AVAILABLE  Compressed: NO  Tag: TAG20080511T180022
        Piece Name: C:\META_BACKUP\META_LEVEL0_18_1
  List of Datafiles in backup set 11
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  2    0  Incr 18776641851 11-MAY-08 C:\ORACLE\PRODUCT\10.2.0\ORADATA\META\UNDOT
BS01.DBF

RMAN>

Previous Topic: Backup Database v Tablespace
Next Topic: target db not open after create AUXiliary instance (merged 3)
Goto Forum:
  


Current Time: Sun May 12 04:12:43 CDT 2024