Is backup full database , is backuing up controlfile ?
Hi
i am on 8174
is that enough to cold backup the database?
shutdown immediate;
startup mount;
run {
allocate channel t1 type 'SBT_TAPE';
send 'NB_ORA_POLICY=....';
backup full format 'bk_%U_%t' (database);
or do i need
backup current controlfile; ?
i can see here http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76990/rmanconc.htm#436070
this statment "A full backup is different from a whole database backup, which is a backup of all datafiles and the current control file."
is that means
backup full database , is backuing up controlfile ?(i think yes) and is restoring from it requires any archivelogs?(i think no)
Thanks very much
Edited by: user9145417 on 25-Aug-2010 16:42
The reason to have the current controlfile is that it keeps all the information of the database. If you lose the entire machine, it will be much more difficult to recover to another machine without that controlfile. That is one reason that control files are multiplexed, so that you do not lose all of them.
With 8174 I don't believe there was a method to always included it automatically like with 10g. So yes...always backup your control file with an exact statement.
Will you need archive logs? If you want to do a complete recovery you will need all the archivelogs that occur after the start of the backup untill the time the database crashes.
Do you need to backup the archivelogs within this script? Well that depends if you can think of any circumstance that would require you to recover to a point in time using the backup taken before this one.
Regards
Tim
Similar Messages
-
Problem with full database backup.
This is what I got after execute backup full database statement
"RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/03/2009 14:15:15
ORA-19502: write error on file "/u01/app/oracle/backup/ORCL/ora_df680537660_s2_s1", blockno 25985 (blocksize=8192)
ORA-27072: File I/O error
Linux Error: 2: No such file or directory
Additional information: 4
Additional information: 25985
Additional information: 483328"
I have quite the same problem with create tablespace, I can't create tablespace 512m, but I can create the same tablespace only 100m.
I think it must be somethink with storage???Starting backup at 03-MAR-09
using channel ORA_DISK_1
input datafile fno=00015 name=/u01/app/oracle/oradata/o2_mf_system_48fprop3_.dbf
input datafile fno=00003 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_sysaux_48fpropg_.dbf
input datafile fno=00014 name=/u01/app/oracle/oradata/o2_mf_sysaux_48fpropg_.dbf
input datafile fno=00005 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_example_48fpw04c_.dbf
input datafile fno=00017 name=/u01/app/oracle/oradata/ORCL/datafile/rcvcat01.dbf
input datafile fno=00002 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_undotbs1_48fprovo_.dbf
input datafile fno=00016 name=/u01/app/oracle/oradata/inventory03.dbf
input datafile fno=00011 name=/u01/app/oracle/oradata/ORCL/datafile/inventory01.dbf
input datafile fno=00012 name=/u01/app/oracle/oradata/ORCL/datafile/inventory02.dbf
input datafile fno=00006 name=/u01/app/oracle/oradata/ORCL/datafile/ts01.dbf
input datafile fno=00008 name=/u01/app/oracle/oradata/ORCL/datafile/ts02.dbf
input datafile fno=00001 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_system_48fprop3_.dbf
channel ORA_DISK_1: specifying datafile(s) in backupset
channel ORA_DISK_1: starting full datafile backupset
input datafile fno=00009 name=/u01/app/oracle/oradata/ORCL/datafile/undo01.dbf
channel ORA_DISK_1: starting piece 1 at 03-MAR-09
input datafile fno=00013 name=/u01/app/oracle/oradata/ORCL/datafile/val01.dbf
input datafile fno=00007 name=/u01/app/oracle/oradata/ORCL/datafile/test_reorg0
input datafile fno=00004 name=/u01/app/oracle/oradata/ORCL/datafile/o1_mf_users_48fprowb_.dbf
input datafile fno=00010 name=/u01/app/oracle/oradata/ORCL/datafile/ts01b.dbf
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/03/2009 14:15:15
ORA-19502: write error on file "/u01/app/oracle/backup/ORCL/ora_df680537660_s2_s1", blockno 25985 (blocksize=8192)
ORA-27072: File I/O error
Linux Error: 2: No such file or directory
Additional information: 4
Additional information: 483328
Additional information: 25985
Directory exist because I can backup single tablespace, into the same directory, I just can't backup whole database.
Edited by: val75 on Mar 3, 2009 1:57 PM -
Parrallelization of RMAN Full Database Backup Confusion
Hi,
I am running Oracle 10gR2 on Solaris 5.10 on sparc machine having 16 CPUs.
I am using following RMAN script to take full database backup:
#!/bin/bash
ORACLE_HOME=/u01/app/oracle/product/10g
PATH=$ORACLE_HOME/bin:$PATH
ORACLE_SID=mtcedwp
export ORACLE_HOME ORACLE_SID PATH
rman target / <<EOF
run
CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 8;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
ALLOCATE CHANNEL d1 DEVICE TYPE DISK;
ALLOCATE CHANNEL d2 DEVICE TYPE DISK;
ALLOCATE CHANNEL d3 DEVICE TYPE DISK;
ALLOCATE CHANNEL d4 DEVICE TYPE DISK;
ALLOCATE CHANNEL d5 DEVICE TYPE DISK;
ALLOCATE CHANNEL d6 DEVICE TYPE DISK;
ALLOCATE CHANNEL d7 DEVICE TYPE DISK;
ALLOCATE CHANNEL d8 DEVICE TYPE DISK;
BACKUP TAG ATHEER_FULL_DB DATABASE FORMAT '/u01/BACKUPS/WEEKLY_DB_BACKUP/backup_%U';
CROSSCHECK BACKUPSET;
CROSSCHECK BACKUP;
DELETE NOPROMPT OBSOLETE;
RELEASE CHANNEL d1;
RELEASE CHANNEL d2;
RELEASE CHANNEL d3;
RELEASE CHANNEL d4;
RELEASE CHANNEL d5;
RELEASE CHANNEL d6;
RELEASE CHANNEL d7;
RELEASE CHANNEL d8;
EOFWill the above script take the 8-way parrallel backup? or do I need to configure location for every channel separately?
regardsThis channel can be allocated manually or can be pre-configured by using
automatic channel allocation.
The number of allocated channels determines the maximum degree of
parallelism that is used during backup restore or recovery. For example if
you allocate 8 channels for a backup operation 8 background processes for the
operation can run concurrently.
Parallelism of backup sets allocates multiple channels and assigns
files to specific channels. You can configure parallel backups by setting a
PARALLELISM option of the CONFIGURE command to a value greater than 1 or by
manually allocating multiple channels.
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1012864 -
Full database backup and restore
I have a doubt on the syntax for a full database backup and restore. For a single schema, the syntax for backup & restore is :-
exp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 owner=JISPREPCORBILLINGPRD501 STATISTICS=none
log=JISPREPCORBILLINGPRD501_exp.log grants=y constraints=Y rows=y compress=N
file=JISPREPCORBILLINGPRD501
imp <userid/password> file=<export dump file location> fromuser=<export user name> touser=<import user name>
grants=y constraints=Y rows=y log=<import log file location>
I hope, my question is clear.
Please, help in solving the doubt.
regardshi,
thanks, for your answer. I took a export of one schema of the database. But, when I tried to import the schema to the destination database, it showed
imported with errors with the existence of functions showing. The commands used by me for export and import are as follows:-
exp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 owner=JISPREPCORBILLINGPRD501 STATISTICS=none log=JISPREPCORBILLINGPRD501_exp.log grants=y constraints=Y rows=y compress=N file=JISPREPCORBILLINGPRD501
imp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 file=JISPREPCORBILLINGPRD501 fromuser=JISPREPCORBILLINGPRD501 touser=JISPREPCORBILLINGPRD501 grants=y constraints=Y rows=y log=JISPREPCORBILLINGPRD501_imp.log
Do, we need to drop the existing schema before importing or somethinig else. Please, help.
regards -
Hi people,
I´ve the next doubt about the backups of MS SQL Server.
If I make a full database backup, the transaction log (SIDLOG1) are backed? Or I´ve to do the backup of transactional log separated?
In the note Note 44449 - Backup strategies with the SQL server, says this:
"If you run a complete database backup, the contents of the transaction log are saved (database dump), but the log is not shortened. The transaction log is only shortened when you save the log (transaction dump)."A FULL SQL backup includes all of the changes that are contained in the LOG file, so that the backup is recoverable to any point in time from the beginning to the end of the time it takes to backup the database. However, it does NOT truncate the log file because you may still need a log backup in order to be recoverable to a point in time AFTER the FULL backup mentioned earlier, or if you have to utilize a different FULL backup in the event the other backup is corrupted, lost, etc.
For example:
Full backup A taken 11/8/2010, begin 8:00 AM, completed 9:00 AM.
Transaction Log backup 1 taken 11/8/2010, 11:00 AM
Transaction Log backup 2 taken 11/8/2010, 3:00 PM
Transaction Log backup 3 taken 11/8/2010, 7:00 PM
Full backup B taken 11/9/2010, begin 8:00 AM, completed 9:00 AM.
Transaction Log backup 4 taken 11/9/2010, 11:00 AM
Transaction Log backup 5 taken 11/9/2010, 3:00 PM
Transaction Log backup 6 taken 11/9/2010, 7:00 PM
If you need to recover to point in time 11/9/2010 at 8:30 AM, all you need is Full backup B.
If you need to recover to point in time 11/9/2010 at 5:00 PM, you need Full backup B, and Transaction Logs 4, 5, and 6.
If you need to recover to point in time 11/9/2010 at 5:00 PM, and Full backup B is corrupted, you need Full backup A, and Transaction Logs 1, 2, 3, 4, 5, and 6.
If Full backup B had truncated the log, then you would not be recoverable to any point in time after 7:00 PM on 11/8/2010. -
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 raifHello 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 -
Restore a single table from full database backup
Hi,
I have a full database (10.2.0.1) backup with RMAN.
Suddenly a table got truncated. How to get back that table without restoring and recovering the full database (Point in time recovery) since if I restore the database to an earlier time then the other transactions will hamper.
Also creating a standby database and import export the table will solve my problem. But is there any other way to restore the lost table.
Thanks in advance.No other way to restore the data if you don't want do point in time recovery. If you drop the table then you can restore it from the recyclebin but for the truncate operation it won't help. If you have enabled the flash back table for that particular table then you can restore the data for only that table.
Regards
Asif Kabir -
Backup/Restore a full Database VM Manager Repository (3.1.1)
Dear All,
My Oracle VM Manager is connect to Oracle Database 11g Standard Release 2. I want to backup and Restore from a full Database VM Manager Repository.
Especially, please kindly give recommend on parameter (Yes/NO) or other clearly.
Thanks and regards,
Vandy[root@ ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
[root@~]# uname -a
Linux 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
The firewall is already disabled. Is that the OS is not comnpatible.
But I read in the Oracle VM documents, that the Oracle VM is compatible for RHEL 5.5 and above..... -
DB13 full database online tape backup error
Dear all Experts
I am trying to take online backup of newly installed ECC development system with AIX6.1,Oracle 11g,tape inserted and Initialized successfully in DB13 ,but I have tried to fire the backup of online backup i am getting error
please find the below log and can anyone help me out??
initGDV.sap file setup
is
backup_mode = all
restore_mode = all
backup_type = online
backup_dev_type = tape
backup_root_dir = /oracle/GDV/sapbackup
stage_root_dir = /oracle/GDV/sapbackup
compress_cmd = "compress -c $ > $"
uncompress_cmd = "uncompress -c $ > $"
compress_dir = /oracle/GDV/sapreorg
archive_copy_dir = /oracle/GDV/sapbackup
archive_stage_dir = /oracle/GDV/sapbackup
stage_copy_cmd = rcp
pipe_copy_cmd = rsh
cpio_flags = -ovB
cpio_in_flags = -iuvB
cpio_disk_flags = -pdcu
dd_flags = "obs=64k bs=64k"
dd_in_flags = "ibs=64k bs=64k"
saveset_members = 1
copy_in_cmd = "dd ibs=64k obs=8k if=$"
rewind = "tctl -f $ rewind"
rewind_offline = "tctl -f $ offline"
tape_pos_cmd = "tctl -f $ fsf $"
tape_size = 100G
exec_parallel = 0
tape_address = /dev/rmt0.1
tape_address_rew = /dev/rmt0
expir_period = 30
disk_copy_cmd = copy
tape_copy_cmd = cpio
archive_function = save
compress = no
and error log is below
21.03.2011 17:16:11 Job started
21.03.2011 17:16:11 Step 001 started (program RSDBAJOB, variant &0000000000013, user ID BASIS)
21.03.2011 17:16:11 Execute logical command BRBACKUP On host gulfeccdev
21.03.2011 17:16:11 Parameters:-u / -jid FLL__20110321171610 -c force -t online -m full -p initGDV.sap
21.03.2011 17:16:13 BR0051I BRBACKUP 7.00 (40)
21.03.2011 17:16:13 BR0055I Start of database backup: befmiufr.fnt 2011-03-21 17.16.11
21.03.2011 17:16:13 BR0484I BRBACKUP log file: /oracle/GDV/sapbackup/befmiufr.fnt
21.03.2011 17:16:13 BR0280I BRBACKUP time stamp: 2011-03-21 17.16.12
21.03.2011 17:16:13 BR0301E SQL error -12547 at location BrDbConnect-2, SQL statement:
21.03.2011 17:16:13 'CONNECT /'
21.03.2011 17:16:13 ORA-12547: TNS:lost contact
21.03.2011 17:16:13 BR0310E Connect to database instance GDV failed
21.03.2011 17:16:13 BR0280I BRBACKUP time stamp: 2011-03-21 17.16.13
21.03.2011 17:16:13 BR0301E SQL error -12547 at location BrDbConnect-2, SQL statement:
21.03.2011 17:16:13 'CONNECT /'
21.03.2011 17:16:13 ORA-12547: TNS:lost contact
21.03.2011 17:16:13 BR0310E Connect to database instance GDV failed
21.03.2011 17:16:13
21.03.2011 17:16:13 BR0056I End of database backup: befmiufr.fnt 2011-03-21 17.16.12
21.03.2011 17:16:13 BR0280I BRBACKUP time stamp: 2011-03-21 17.16.13
21.03.2011 17:16:13 BR0054I BRBACKUP terminated with errors
21.03.2011 17:16:13 External program terminated with exit code 3
21.03.2011 17:16:13 BRBACKUP returned error status E
21.03.2011 17:16:13 Job finished
please help me for this error
regards
krishna
Edited by: krishna murthy on Mar 22, 2011 7:20 AMDear aleh
I have set environment variable
oragdv>export MPROTECT_TXT ON
oragdv>brconnect -u / -f dbstate
and executed successfully
but again I am trying with DB13 i am getting same erro
as well as I tried with brtools i am getting following error
Detail log: befmndrc.ant
BR0477I Oracle pfile /oracle/GDV/112_64/dbs/initGDV.ora created from spfile /oracle/GDV/112_64/dbs/spfileGDV.ora
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
BR0319I Control file copy created: /oracle/GDV/sapbackup/cntrlGDV.dbf 19251200
BR0101I Parameters
Name Value
oracle_sid GDV
oracle_home /oracle/GDV/112_64
oracle_profile /oracle/GDV/112_64/dbs/initGDV.ora
sapdata_home /oracle/GDV
sap_profile /oracle/GDV/112_64/dbs/initGDV.sap
backup_mode ALL
backup_type online
backup_dev_type tape
compress no
tape_copy_cmd cpio
cpio_flags -ovB
cpio_in_flags -iuvB
dd_flags obs=64k bs=64k
dd_in_flags ibs=64k bs=64k
rewind tctl -f $ rewind
rewind_offline tctl -f $ offline
tape_size 102400.000 MB
tape_address /dev/rmt0.1
tape_address_rew /dev/rmt0
volume_backup GDVB01,GDVB02,GDVB03,GDVB04,GDVB05,GDVB06,GDVB07,GDVB08,GDVB09,GDVB10,
GDVB11,GDVB12,GDVB13,GDVB14,GDVB15,GDVB16,GDVB17,GDVB18,GDVB19,GDVB20,
GDVB21,GDVB22,GDVB23,GDVB24,GDVB25,GDVB26,GDVB27,GDVB28,GDVB29,GDVB30
expir_period 30
tape_use_count 100
exec_parallel 0
system_info oragdv/oragdv gulfeccdev AIX 1 6 000C870AD400
oracle_info GDV 11.2.0.2.0 8192 8637 72753195 gulfeccdev UTF8 UTF8
sap_info 701 SAPSR3 0002LK0003GDV0011D06565319310015Maintenance_ORA
make_info rs6000_64 OCI_102 Feb 21 2009
command_line /usr/sap/GDV/SYS/exe/run/brbackup -p initGDV.sap -d tape -t online -m all -k no -e 0 -l E -U
BR0116I ARCHIVE LOG LIST before backup for database instance GDV
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination LOCATION=/oracle/GDV/oraarch/GDVarch
Archive format %t_%s_%r.dbf
Oldest online log sequence 8634
Next log sequence to archive 8637
Current log sequence 8637 SCN: 72753195
Database block size 8192 Thread: 1
Current system change number 72763669 ResetId: 742322108
BR0118I Tablespaces and data files
Tablespace TS-Status F-Status File Size Id. Device Link Type MaxSize IncrSize BlkSize
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_1/sr3.data1 3082821632 4 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_10/sr3.data10 3082821632 13 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_11/sr3.data11 3082821632 14 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_12/sr3.data12 3082821632 15 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_13/sr3.data13 2998935552 16 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_14/sr3.data14 2998935552 17 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_15/sr3.data15 2998935552 18 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3701X ONLINE* ONLINE /oracle/GDV/sapdata4/sr3701x_7/sr3701x.data7 104865792 42 2883585 NOLINK FILE 0 0 8192
PSAPSR3701X ONLINE* ONLINE /oracle/GDV/sapdata4/sr3701x_8/sr3701x.data8 12332310528 43 2883585 NOLINK FILE 0 0 8192
PSAPSR3USR ONLINE* ONLINE+ /oracle/GDV/sapdata4/sr3usr_1/sr3usr.data1 52436992 34 2883585 NOLINK FILE 10485760000 20971520 8192
PSAPTEMP ONLINE# ONLINE+ /oracle/GDV/sapdata1/temp_1/temp.data1 1468014592 -1 2686977 NOLINK FILE 10485760000 20971520 8192
PSAPUNDO ONLINE- ONLINE+ /oracle/GDV/sapdata1/undo_1/undo.data1 7822385152 3 2686977 NOLINK FILE 10485760000 20971520 8192
SYSAUX ONLINE* ONLINE+ /oracle/GDV/sapdata1/sysaux_1/sysaux.data1 713039872 2 2686977 NOLINK FILE 10485760000 20971520 8192
SYSTEM ONLINE* SYSTEM+ /oracle/GDV/sapdata1/system_1/system.data1 1478500352 1 2686977 NOLINK FILE 10485760000 20971520 8192
SYSTEM ONLINE* SYSTEM+ /oracle/GDV/sapdata1/system_2/system.data2 209723392 41 2686977 NOLINK FILE 10485760000 20971520 8192
BR0119I Redo log files
File Size Group Device Status Link Type
/oracle/GDV/origlogA/log_g11m1.dbf 52429312 1 2621445 INUSE NOLINK FILE
/oracle/GDV/mirrlogA/log_g11m2.dbf 52429312 1 2621442 INUSE NOLINK FILE
/oracle/GDV/origlogB/log_g12m1.dbf 52429312 2 2621446 INUSE NOLINK FILE
/oracle/GDV/mirrlogB/log_g12m2.dbf 52429312 2 2621443 INUSE NOLINK FILE
/oracle/GDV/origlogA/log_g13m1.dbf 52429312 3 2621445 INUSE NOLINK FILE
/oracle/GDV/mirrlogA/log_g13m2.dbf 52429312 3 2621442 INUSE NOLINK FILE
/oracle/GDV/origlogB/log_g14m1.dbf 52429312 4 2621446 INUSE NOLINK FILE
/oracle/GDV/mirrlogB/log_g14m2.dbf 52429312 4 2621443 INUSE NOLINK FILE
BR0120I Control files
File Size Id. Device Link Type
/oracle/GDV/origlogA/cntrl/cntrlGDV.dbf 19251200 0 2621445 NOLINK FILE
/oracle/GDV/origlogB/cntrl/cntrlGDV.dbf 19251200 0 2621446 NOLINK FILE
/oracle/GDV/sapdata1/cntrl/cntrlGDV.dbf 19251200 0 2686977 NOLINK FILE
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
BR0057I Backup of database: GDV
BR0058I BRBACKUP action ID: befmndrc
BR0059I BRBACKUP function ID: ant
BR0110I Backup mode: ALL
BR0077I Database file for backup: /oracle/GDV/sapbackup/cntrlGDV.dbf
BR0061I 44 files found for backup, total size 210220.695 MB
BR0143I Backup type: online
BR0112I Files will not be compressed
BR0130I Backup device type: tape
BR0102I Following backup device will be used: /dev/rmt0.1
BR0103I Following backup volumes will be used:
GDVB01,GDVB02,GDVB03
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.36
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0208I Volume with name GDVB01 GDVB02 GDVB03 required in device /dev/rmt0.1
BR0210I Please mount BRBACKUP volume, if you have not already done so
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.36
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.37.16
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRBACKUP time stamp: 2011-03-22 14.37.16
BR0226I Rewinding tape volume in device /dev/rmt0 ...
BR0351I Restoring /oracle/GDV/sapbackup/.tape.hdr0
BR0355I from /dev/rmt0.1 ...
BR0241I Checking label on volume in device /dev/rmt0.1
BR0217W Lock period for volume GDVB01 in device /dev/rmt0.1 not expired
BR0218W Checking label on volume in device /dev/rmt0.1 failed
BR0212I Please check the volume or the device
BR0280I BRBACKUP time stamp: 2011-03-22 14.37.30
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
BR0226I Rewinding tape volume in device /dev/rmt0 ...
BR0351I Restoring /oracle/GDV/sapbackup/.tape.hdr0
BR0355I from /dev/rmt0.1 ...
BR0241I Checking label on volume in device /dev/rmt0.1
BR0217W Lock period for volume GDVB01 in device /dev/rmt0.1 not expired
BR0218W Checking label on volume in device /dev/rmt0.1 failed
BR0212I Please check the volume or the device
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.10
BR0257I Your reply: 's'
BR0260E BRBACKUP cancelled by user
BR0056I End of database backup: befmndrc.ant 2011-03-22 14.45.10
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.10
BR0054I BRBACKUP terminated with errors -
DB13 Full Database Backup - Error
Hello Everybody,
Got this error with DB13 Full Database Backup.
2006-05-28 07:20:13.92 spid91 BackupMedium::ReportIoError: read failure on backup device '
ERB-HQ-BK2\SAPBK\DVE.BAK'.
Operating system error 59(An unexpected network error occurred.).
2006-05-28 07:20:13.93 spid91 Internal I/O request 0x0000000089028080: Op: Read, pBuffer: 0x00000000069D0000, Size: 65536, Position: 111032779264, UMS: Internal: 0x89029FE8, InternalHigh: 0x89028140, Offset: 0xDA11C200, OffsetHigh: 0x19, m_buf: 0x00000
000069D0000, m_len: 65536, m_actualBytes: 0, m_errcode: 59, BackupFile:
ERB-HQ-BK2\SAPBK\DVE.BAK
Best Regards.
DarwinDarwin,
Seems like the system is not recognizing your backup device. Have you verified that it installed/configured properly. -
Urgent -- need to restore table from full database backup
Hello,
Can somebody tell me the process for restoring just a table from a full database backup?
I did a full online database backup yesterday, and one of my tables got ruined today. I need to restore it as soon as possible, but I don't know how. When I tried flashback tables, it said that feature wasn't enabled. Should I restore the datafile or the tablespace?
Thanks much,
NoraIf you only want to recover the table and not the other objects in the tablespace, and assuming the table was damaged by a user statement (and not, say, block corruption), you would need to recover your backup to a different system, export the table that was damaged, and import the table into your real production database. If you can recover the entire tablespace to an earlier point in time, or if you can lose some committed changes to other database objects, you may have other options.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Query: Tablespace backup Vs Full database backup
Which is an better option- Tablespace Backup or Full database backup.What are the adv and disadv of each?
Rgds,RMAN> backup tablespace users;
Starting backup at 27-AUG-11
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
input datafile file number=00004 name=/u02/oradata/TEST/datafile/o1_mf_users_6o06qs2q_.dbf
channel ORA_DISK_1: starting piece 1 at 27-AUG-11
channel ORA_DISK_1: finished piece 1 at 27-AUG-11
piece handle=/u02/fra/TEST/backupset/2011_08_27/o1_mf_nnndf_TAG20110827T163233_75l0015r_.bkp tag=TAG20110827T163233 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 27-AUG-11 -
Command - Take a full database backup
Hi,
I have to simulate a database failure. However prior to doing so, I have to take a "Take a full database backup". How do I execute this command? It is my understanding that this is different from selecting "Backup database"
Thanks in advance for the help!
Edited by: 976505 on Dec 18, 2012 12:17 PMPl do not post duplicate threads - Oracle 11g XE - Backup
-
Make a full backup of Database
Dear All Expert,
I have completed installation and configuration then I want to backup full of Database to new OS without re-install new Database, is it possible?
If can, please guide how to do it.
Thanks and regards,
Vandy
Edited by: Vandy_Kh on Jan 18, 2013 12:10 AMThe sequence of steps depend on
a. The OS (platform on which installed)
b. The Oracle RDBMS version
c. Whether you can get downtime to shutdown the database that has been configured
d. How familar (experienced) you are with backup and recovery of Oracle databases
In general, you must distinguish between the RDBMS Executables (which are installed) and the Database (which is created , backed up and restored). Therefore, you would be installing the RDBMS on the new server and then doing a backup of the database from the existing server and restoring it to the new server.
I suggest that you re-raise your query in the "General Questions" forum General Database Discussions or the "Recovery Manager" forum Recovery Manager (RMAN)
Hemant K Chitale
Edited by: Hemant K Chitale on Jan 18, 2013 4:20 PM
added "d." -
Question
Background: When restoring Full + DIFF backups of a Change Data Capture (CDC) enabled database to a different SQL server, the CDC integrity is not being maintained. We did RESTORE the databases with the KEEP_CDC option.
How do I successfully restore the CDC enabled database backups (FULL + DIFF) while maintaining the CDC integrity?
Answer
When restoring a CDC enabled database on a different machine that is running SQL Server, besides using use the KEEP_CDC option to retain all the CDC metadata, you also need to add Capture and Cleanup jobs.
In addition, as you want to restore FULL + DIFF backups of a CDC enabled database, you need to note that the KEEP_CDC and NoRecovery options are incompatible. Use the KEEP_CDC option only when you are completing the recovery. I made a test to display
the whole process that how to restore the CDC enabled database backups (FULL + DIFF) on a different machine.
Create a database named ’CDCTest’ in SQL Server 2012, then enable the CDC feature and take full+ differential backups of the database.
-- Create database CDCTest
CREATE DATABASE [CDCTest] ON PRIMARY
( NAME = N'CDCTest ', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest.mdf' , SIZE = 5120KB ,
MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'CDCTest _log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest _log.LDF' , SIZE = 3840KB ,
MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
use CDCTest;
go
-- creating table
create table Customer
custID int constraint PK_Employee primary key Identity(1,1)
,custName varchar(20)
--Enabling CDC on CDCTest database
USE CDCTest
GO
EXEC sys.sp_cdc_enable_db
--Enabling CDC on Customer table
USE CDCTest
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name = N'Customer',
@role_name = NULL
GO
--Inserting values in customer table
insert into Customer values('Mike'),('Linda')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking full database backup
backup database CDCTest to disk = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTest.bak'
insert into Customer values('David'),('Jane')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking differential database backup
BACKUP DATABASE CDCTest TO DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTestdif.bak' WITH DIFFERENTIAL
GO
Restore Full backup of the ‘CDCTest’ database with using KEEP_CDC option in a different server that is running SQL Server 2014.
Use master
Go
--restore full database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak' with keep_cdc
Restore Diff backup of the ‘CDCTest’ database.
Restore Database CDCTest From Disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak'
With Move 'CDCTest' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest.mdf',
Move 'CDCTest _log' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest _log.LDF',
Replace,
NoRecovery;
Go
--restore differential database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTestdif.bak' with keep_cdc
Add the Capture and Cleanup jobs in the CDCTest database.
--add the Capture and Cleanup jobs
Use CDCTest
exec sys.sp_cdc_add_job 'capture'
GO
exec sys.sp_cdc_add_job 'cleanup'
GO
insert into Customer values('TEST'),('TEST1')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
Reference
Track Data Changes (SQL Server)
Restoring a SQL Server database that uses Change Data Capture
Applies to
SQL Server 2014
SQL Server 2012
SQL Server 2008 R2
SQL Server 2008
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Question
Background: When restoring Full + DIFF backups of a Change Data Capture (CDC) enabled database to a different SQL server, the CDC integrity is not being maintained. We did RESTORE the databases with the KEEP_CDC option.
How do I successfully restore the CDC enabled database backups (FULL + DIFF) while maintaining the CDC integrity?
Answer
When restoring a CDC enabled database on a different machine that is running SQL Server, besides using use the KEEP_CDC option to retain all the CDC metadata, you also need to add Capture and Cleanup jobs.
In addition, as you want to restore FULL + DIFF backups of a CDC enabled database, you need to note that the KEEP_CDC and NoRecovery options are incompatible. Use the KEEP_CDC option only when you are completing the recovery. I made a test to display
the whole process that how to restore the CDC enabled database backups (FULL + DIFF) on a different machine.
Create a database named ’CDCTest’ in SQL Server 2012, then enable the CDC feature and take full+ differential backups of the database.
-- Create database CDCTest
CREATE DATABASE [CDCTest] ON PRIMARY
( NAME = N'CDCTest ', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest.mdf' , SIZE = 5120KB ,
MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'CDCTest _log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest _log.LDF' , SIZE = 3840KB ,
MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
use CDCTest;
go
-- creating table
create table Customer
custID int constraint PK_Employee primary key Identity(1,1)
,custName varchar(20)
--Enabling CDC on CDCTest database
USE CDCTest
GO
EXEC sys.sp_cdc_enable_db
--Enabling CDC on Customer table
USE CDCTest
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name = N'Customer',
@role_name = NULL
GO
--Inserting values in customer table
insert into Customer values('Mike'),('Linda')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking full database backup
backup database CDCTest to disk = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTest.bak'
insert into Customer values('David'),('Jane')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking differential database backup
BACKUP DATABASE CDCTest TO DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTestdif.bak' WITH DIFFERENTIAL
GO
Restore Full backup of the ‘CDCTest’ database with using KEEP_CDC option in a different server that is running SQL Server 2014.
Use master
Go
--restore full database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak' with keep_cdc
Restore Diff backup of the ‘CDCTest’ database.
Restore Database CDCTest From Disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak'
With Move 'CDCTest' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest.mdf',
Move 'CDCTest _log' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest _log.LDF',
Replace,
NoRecovery;
Go
--restore differential database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTestdif.bak' with keep_cdc
Add the Capture and Cleanup jobs in the CDCTest database.
--add the Capture and Cleanup jobs
Use CDCTest
exec sys.sp_cdc_add_job 'capture'
GO
exec sys.sp_cdc_add_job 'cleanup'
GO
insert into Customer values('TEST'),('TEST1')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
Reference
Track Data Changes (SQL Server)
Restoring a SQL Server database that uses Change Data Capture
Applies to
SQL Server 2014
SQL Server 2012
SQL Server 2008 R2
SQL Server 2008
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.
Maybe you are looking for
-
Okay i have been having problems all day today. first mobile me now everything apple. For some reason i can't get safari to connect to the internet, firefox works fine, itunes store will not come up, mail doesn't connect, and when i go to mobile me i
-
Hi All, Just wondering whether anyone has experienced problems in calling a database function. We have Forte 3.0.L.2 and Oracle 8.1.7. Here's how the function is being called: l_tdCurrentStatus = (SQL EXECUTE PROCEDURE me_status.get_status(input I_MC
-
Guys, Is there any simple document detailing the installation of GG ? I am looking at basic install with one way replication, bi-directional replication and something that guides us the recovery scenarios.. Such the primary and the secondary going ou
-
Header Display in file - Using OHD
Hi, Using OHD i am pushing data from ODS to local file in CSV format and it is working fine, now i need Header also in the file. ex., Now file is like AAA 6A 2BB BBB 6B C2S but i need header too, like MATERIAL CLASS SUB-
-
I cannot log into my MacBook Pro
I cannot log into my brand new MacBook Pro. After entering my password, it just sat greyed out. Then I tried switching over to the guest login, hoping to jar it into responding and now it's stuck on guest login with a spinning icon. Any ideas on how