Online Backup Database in Linux
I try to use command "alter tablespace system begin backup ; " to back the datafile
but it show me the message "cannot start online backup; media recovery not enabled".
What should I do for that.
thanks
Sounds to me like you are not in Archivelog mode. You can not do HOT backups if you haven't put that database in this mode. I believe you must be in MOUNT state to do this. You will also want to add some lines in your init.ora so that it knows where to write the archive logs and it starts up the process at startup.
Similar Messages
-
Online Backup of supported Linux VM on Hyper-V 2012 R2 / SC DPM 2012 R2
Hi,
I'm trying to set up a lab environment:
Win 2012 R2 with Hyper-V
running 2 Linux Machines:
Linux2 - CentOS 6.4 with manually installed Linux Integration services 3.4
Linux3 - CentOS 6.4 without LIS (should be already included in CentOS)
Another machine running Win 2012 R2 Server with SC DPM 2012 R2
but both VMs show as "Offline" when trying to back them up via DPM. Tried local Windows Server Backup with the same result.
I am able to backup the VMs "offline" (pausing the VM, taking snapshot, resume VM) but according to MS, SC DPM 2012 R2 should be able to do Online backups for supported Linux VMs (http://blogs.technet.com/b/virtualization/archive/2013/07/24/enabling-linux-support-on-windows-server-2012-r2-hyper-v.aspx)
The only things in the EventLog are these:
A storage device in 'Linux3' loaded but has a different version from the server. Server version 6.0 Client version 4.2 (Virtual machine ID 4F5CDDD8-B855-41CF-83B2-772C1B99090D). The device will work, but this is an unsupported configuration.
This means that technical support will not be provided until this problem is resolved. To fix this problem, upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu.
Any Ideas ?
ThanksHi,
That list would need to come from the Windows hyper-v group, they are responsible with adding the feature to the integration components for various Linux OSes. DPM just backs up whatever the hyper-V writer presents to us, if the guest supports
online, we back it up online, if not hyper-V saves the guest before the VSS snapshot is taken and DPM takes the backup from the saved state.
NEW NOTE ADDED 1-29-14: Windows group just released “Linux Integration Services Version 3.5 for Hyper-V”. The
document mentions that some versions of Red Hat and CentOS are now
supported to do online backup.
Live virtual machine backup support
======================
RHEL/CentOS 6.0-6.3
RHEL/CentOS 5.7-5.8
RHEL/CentOS 5.5-5.6
ADDTL NOTES: If there are open file handles during a live virtual machine backup operation, the backed-up virtual hard disks (VHDs) might have to undergo a file system consistency check (fsck) when restored.
Live backup operations can fail silently if the virtual machine has an attached iSCSI device or a physical disk that is directly attached to a virtual machine (“pass-through disk”).
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
posting is provided "AS IS" with no warranties, and confers no rights. -
Database open fails after online backup recovery
Hi Friends
We are trying to set up an additional server using the online backup of our DEV server. We have been following SAP Note 549828 for the same. Having restored the online backup, the open database failed.
To resolve the same, in accordance to SAP Note 549828, we created a backup control file with success using the command
create controlfile reuse set database DEV resetlogs noarchivelog
However on issuance of the command
RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL
we run into an error as to
ORA-00279: change 794638222 generated at 10/25/2007 12:43:20 needed for thread 1
ORA-00289: suggestion : /oracle/DEV/oraarch/DEVarch1_9766.dbf
ORA-00280: change 794638222 for thread 1 is in sequence #9766
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
ORA-00308: cannot open archived log '/oracle/DEV/oraarch/DEVarch1_9766.dbf'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/oracle/DEV/sapdata1/system_1/system.data1'
We even manually copied the file system.data1 from the source to the target server but to no avail.
Also the SQL command
SELECT FILE#, CHANGE# FROM V$RECOVER_FILE
displays a different change# for system.data1 while it is showing same number for all other datafiles.
Please advice at the earliest as we are struck. Points awaiting their master.
Regards
Lokesh GuptaSome inputs addition to Erics comments
The problem is you dont have archives ie Offline redo logfiles in correct location.
/oracle/DEV/oraarch/DEVarch1_9766.dbf Here DEVarch1_9766 is archive file which is misssing from location /oracle/DEV/oraarch. To recover DB you need Archives generated during hot backup.
Generally these steps willl give you desired result.
select * from v$logfile;
We normally switch the log files to the number of log groups that exist
alter system switch logfile;
create a Backup directory to hold our hot back datafiles and Archives
When the backup is complete check the backup location to see if all the files are available. We could now either FTP the same to the other system or copy over these files to another location in case of cloning on the same system.
Copy over all the files to their respective filesystems and directories and then edit the file that was created using the backup controlfile to trace. Copy that file to the remote system and edit it accordingly.
check that all the files are in the right location and edit that information in the control file
Once the controlfile is run successfully and you get the statement processed, we can start applying the archive logs that we have moved to the archive log destination directory as per the init<sid>.ora file.
do a recover of the database to its consistent state
recover database using backup controlfile until cancel;
The create control file command only changes the structure of the database and the SID name, the header of the datafiles still hold all the required information. The above command would ask you to input the archive log file names one by one to do recovery or you could choose the AUTO option. Once the recovery process is complete, open the database with the resetlogs option
Regards
Vinod -
Error while online Backup in Windows & SQL Database
Executed as user: NT AUTHORITY\SYSTEM. DBCC execution completed.
If DBCC printed error messages, contact your system administrator. [SQLSTATE 01000]
(Message 2528) Cannot open backup device 'R3DUMP0'. Device error or device off-line.
See the SQL Server error log for more details. [SQLSTATE 42000] (Error 3201)
BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013).
The step failed.
How to find backup device 'R3DUMP0'.
how to Take backup on local HDD.> How to find backup device 'R3DUMP0'.
That's the name of the backup device in SQL Server.
> how to Take backup on local HDD.
You have to create a device with SQL Server Management Console. (use the SQL Server books online).
Markus -
Problem in new database creation with the help of online backup
Dear dba's
i am using oracle 11gR2 database in windows server 2003. database is running in ARCHIVE LOG mode.
i have taken an online backup of all datafile,controlfile and spfile.Then i crated folders in all the locations as required for new database.
then i registerd the service of new database named as 'newdb' by
oradim -NEW -SID newdb
then i created a password file manually in 'oracle_home\database' location.
i created a new contolfile named as controlfile_01.ctl. the content of controlfile as follows
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "NEWDB" NORESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 (
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_1_7FK0XG7B_.LOG',
'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_1_7FK0XHWB_.LOG'
) SIZE 50M,
GROUP 2 (
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_2_7FK0XKB8_.LOG',
'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_2_7FK0XM0Z_.LOG'
) SIZE 50M,
GROUP 3 (
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\ONLINELOG\O1_MF_3_7FK0XNOZ_.LOG',
'D:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\NEWDB\ONLINELOG\O1_MF_3_7FK0XOWB_.LOG'
) SIZE 50M
DATAFILE
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_SYSTEM_7FK0SKN0_.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_SYSAUX_7FK0SKPG_.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_UNDOTBS1_7FK0SKTC_.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_USERS_7FK0SKWB_.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\DATAFILE\O1_MF_EXAMPLE_7FK0Z5LK_.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\MARSH.DBF',
'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\JOMARSH.DBF'
CHARACTER SET AL32UTF8
the control file path was registered in pfile also.
then i brought the database to nomount stage.
the problem is when i try to mount database it shows following error. anyone can help me to over come from this issue????????
SQL> startup pfile='D:\app\Administrator\product\11.1.0\db_1\database\INITnewdb.ora' nomount;
ORACLE instance started.
Total System Global Area 535662592 bytes
Fixed Size 1334380 bytes
Variable Size 301990804 bytes
Database Buffers 226492416 bytes
Redo Buffers 5844992 bytes
SQL> ALTER DATABASE MOUNT;
ALTER DATABASE MOUNT
ERROR at line 1:
ORA-00205: error in identifying control file, check alert log for more info
the alert massage is:
ORA-00210: cannot open the specified control file
ORA-00202: control file: 'D:\APP\ADMINISTRATOR\ORADATA\NEWDB\CONTROLFILE\CONTROLFILE_01.CTL'
ORA-27048: skgfifi: file header information is invalid
OSD-04001: invalid logical block size (OS 1413563730)
Fri Dec 09 13:11:59 2011
Checker run found 1 new persistent data failures
ORA-205 signalled during: ALTER DATABASE MOUNT...
Thanks & Regards,
John Marshal.AHi;
Error: ORA 205
Text: error in identifying control file <name>
Cause: The system could not find a control file of the specified name and
size.
Action: Either
Check that the proper control filename is referenced in the
CONTROL_FILES initialization parameter in the initialization parameter
file and try again.
When using mirrored control files, that is, more than one control file
is referenced in the initialization parameter file, remove the control
filename listed in the message from the initialization parameter file
and restart the instance.
If the message does not recur, remove the problem control file from
the initialization parameter file and create another copy of the
control file with a new filename in the initialization parameter file.
Regard
Helios -
Database online backup issue after ERP 6.0 EHP4 update
Dear Folks!...
I have an issue with ERP 6.0 system with database oracle.
After performing EHP4 update unable to trigger online backup.
Shows bellow error message:
BR0280I BRBACKUP time stamp: 2009-07-10 14.53.10
BR0301E SQL error -1031 at location BrSapTspList-8, SQL statement:
'PREPARE stmt_1 STATEMENT FROM'
'SELECT TABSPACE FROM "SAPSR3".TSORA UNION SELECT INDSPACE FROM "SAPSR3".TSORA ORDER BY 1'
ORA-01031: insufficient privileges
BR0280I BRBACKUP time stamp: 2009-07-10 14.53.10
BR0307I Shutting down database instance RES ...
BR0280I BRBACKUP time stamp: 2009-07-10 14.53.17
BR0308I Shutdown of database instance RES successful
BR0056I End of database backup: beazhkrz.afd 2009-07-10 14.53.10
BR0280I BRBACKUP time stamp: 2009-07-10 14.53.17
BR0054I BRBACKUP terminated with errors
At SAP level check with table TSORA shows current existing tablespaces.And from DB13 able to perform DB actions except backup related.
Could any one suggest to help me to fix the issue.
Thanks in Advance.
Regards,
Venkata.Dear presu
It has been installed on Windows OS 64 bit AMD processor.And related to permissions of the folder was given completely.
Complete log Message:
BR0051I BRBACKUP 7.00 (39) BR0055I Start of database backup: beazhkrz.afd 2009-07-10 14.52.43
BR0484I BRBACKUP log file: G:\oracle\RES\sapbackup\beazhkrz.afd
BR0477I Oracle pfile G:\oracle\RES\102\database\initRES.ora created from spfile G:\oracle\RES\102\database\spfileRES.ora
BR0613I Database instance RES is shut down BR0329I Database instance RES will be opened now BR0280I BRBACKUP time stamp: 2009-07-10 14.52.45 BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP: BR0280I BRBACKUP time stamp: 2009-07-10 14.52.49 BR0257I Your reply: 'c' BR0259I Program execution will be continued...
BR0280I BRBACKUP time stamp: 2009-07-10 14.52.49 BR0304I Starting and opening database instance RES ...
BR0280I BRBACKUP time stamp: 2009-07-10 14.53.01 BR0305I Start and open of database instance RES successful
BR0101I Parameters
Name Value
oracle_sid RES
oracle_home G:\oracle\RES\102
oracle_profile G:\oracle\RES\102\database\initRES.ora
sapdata_home G:\oracle\RES
sap_profile G:\oracle\RES\102\database\initRES.sap
backup_mode ALL
backup_type offline
backup_dev_type disk
backup_root_dir Y:\Backup
compress no
disk_copy_cmd copy
cpio_disk_flags -pdcu
exec_parallel 0
system_info resadm RCIHWRES13V Windows 5.2 Build 3790 Service Pack 2 AMD64
oracle_info RES 10.2.0.4.0 8192 8188 87296881 RCIHWRES13V UTF8 UTF8
sap_info 701 SAPSR3 RES TEMPLICENSE R3_ORA INITIAL
make_info NTAMD64 OCI_10201_SHARE Dec 7 2008
command_line G:\usr\sap\RES\DVEBMGS13\exe\brbackup.exe -p initRES.sap -d disk -t offline -m all -k no -e 0 -l E -U
BR0116I ARCHIVE LOG LIST before backup for database instance RES
Parameter Value
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination M:\oracle\RES\oraarch\RESarch
Archive format ARC%S_%R.%T
Oldest online log sequence 8185
Next log sequence to archive 8188
Current log sequence 8188 SCN: 87296881
Database block size 8192 Thread: 1
Current system change number 87304439 ResetId: 689356796
BR0118I Tablespaces and data files
Tablespace TS-Status F-Status File Size Id. Device Link Type MaxSize IncrSize BlkSize
PSAPSR3 ONLINE* ONLINE+ H:\ORACLE\RES\SAPDATA1\SR3_1\SR3.DATA1 2222989312 4 7 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3_21\SR3.DATA21 2097160192 48 7 NOLINK FILE 0 0 8192
PSAPSR3 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3_22\SR3.DATA22 2097160192 49 7 NOLINK FILE 0 0 8192
PSAPSR3 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3_23\SR3.DATA23 2097160192 50 7 NOLINK FILE 0 0 8192
PSAPSR3 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3_24\SR3.DATA24 2097160192 58 7 NOLINK FILE 0 0 8192
PSAPSR3 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3_25\SR3.DATA25 2097160192 59 7 NOLINK FILE 0 0 8192
PSAPSR3 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3_26\SR3.DATA26 2097160192 60 7 NOLINK FILE 0 0 8192
PSAPSR3 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3_27\SR3.DATA27 2097160192 61 7 NOLINK FILE 0 0 8192
PSAPSR3 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3_28\SR3.DATA28 2097160192 62 7 NOLINK FILE 0 0 8192
PSAPSR3 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3_29\SR3.DATA29 2097160192 63 7 NOLINK FILE 0 0 8192
PSAPSR3 ONLINE* ONLINE+ H:\ORACLE\RES\SAPDATA1\SR3_2\SR3.DATA2 2243960832 5 7 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3_30\SR3.DATA30 2097160192 64 7 NOLINK FILE 0 0 8192
PSAPSR3 ONLINE* ONLINE+ I:\ORACLE\RES\SAPDATA2\SR3_8\SR3.DATA8 2139103232 11 8 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ I:\ORACLE\RES\SAPDATA2\SR3_9\SR3.DATA9 2432704512 12 8 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ J:\ORACLE\RES\SAPDATA3\SR3_11\SR3.DATA11 2264932352 14 9 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ K:\ORACLE\RES\SAPDATA4\SR3_18\SR3.DATA18 2181046272 21 10 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ K:\ORACLE\RES\SAPDATA4\SR3_19\SR3.DATA19 2181046272 22 10 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ K:\ORACLE\RES\SAPDATA4\SR3_20\SR3.DATA20 2202017792 23 10 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE+ ONLINE+ H:\ORACLE\RES\SAPDATA1\SR3700_1\SR3700.DATA1 2705334272 24 7 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE+ ONLINE+ H:\ORACLE\RES\SAPDATA1\SR3700_2\SR3700.DATA2 2705334272 25 7 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE+ ONLINE+ H:\ORACLE\RES\SAPDATA1\SR3700_3\SR3700.DATA3 2747277312 26 7 NOLINK FILE 10485760000 20971520 8192
PSAPSR3700 ONLINE+ ONLINE I:\ORACLE\RES\SAPDATA2\SR3700_20\SR3700.DATA20 2147491840 54 8 NOLINK FILE 0 0 8192
PSAPSR3700 ONLINE+ ONLINE J:\ORACLE\RES\SAPDATA3\SR3700_21\SR3700.DATA21 2147491840 55 9 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3701_11\SR3701.DATA11 2097160192 72 7 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE H:\ORACLE\RES\SAPDATA1\SR3701_12\SR3701.DATA12 2097160192 73 7 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE I:\ORACLE\RES\SAPDATA2\SR3701_10\SR3701.DATA10 2097160192 71 8 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE I:\ORACLE\RES\SAPDATA2\SR3701_5\SR3701.DATA5 2097160192 66 8 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE I:\ORACLE\RES\SAPDATA2\SR3701_6\SR3701.DATA6 2097160192 67 8 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE I:\ORACLE\RES\SAPDATA2\SR3701_7\SR3701.DATA7 2097160192 68 8 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE I:\ORACLE\RES\SAPDATA2\SR3701_8\SR3701.DATA8 2097160192 69 8 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE I:\ORACLE\RES\SAPDATA2\SR3701_9\SR3701.DATA9 2097160192 70 8 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE K:\ORACLE\RES\SAPDATA4\SR3701_1\SR3701.DATA1 20971528192 44 10 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE L:\ORACLE\RES\SAPDATA5\SR3701_2\SR3701.DATA2 20971528192 45 11 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE L:\ORACLE\RES\SAPDATA5\SR3701_3\SR3701.DATA3 20971528192 46 11 NOLINK FILE 0 0 8192
PSAPSR3701 ONLINE* ONLINE L:\ORACLE\RES\SAPDATA5\SR3701_4\SR3701.DATA4 10485768192 47 11 NOLINK FILE 0 0 8192
PSAPSR3DB ONLINE* ONLINE+ K:\ORACLE\RES\SAPDATA4\SR3DB_1\SR3DB.DATA1 2097160192 41 10 NOLINK FILE 10485760000 20971520 8192
PSAPSR3DB ONLINE* ONLINE+ K:\ORACLE\RES\SAPDATA4\SR3DB_2\SR3DB.DATA2 2097160192 42 10 NOLINK FILE 10485760000 20971520 8192
PSAPSR3DB ONLINE* ONLINE+ K:\ORACLE\RES\SAPDATA4\SR3DB_3\SR3DB.DATA3 1048584192 43 10 NOLINK FILE 10485760000 20971520 8192
PSAPSR3USR ONLINE* ONLINE+ H:\ORACLE\RES\SAPDATA1\SR3USR_1\SR3USR.DATA1 20979712 40 7 NOLINK FILE 10485760000 20971520 8192
PSAPTEMP ONLINE# ONLINE+ I:\ORACLE\RES\SAPDATA2\TEMP_1\TEMP.DATA1 2097160192 -1 8 NOLINK FILE 10485760000 20971520 8192
PSAPUNDO ONLINE- ONLINE+ J:\ORACLE\RES\SAPDATA3\UNDO_1\UNDO.DATA1 8766103552 2 9 NOLINK FILE 10485760000 20971520 8192
SYSAUX ONLINE* ONLINE+ H:\ORACLE\RES\SAPDATA1\SYSAUX_1\SYSAUX.DATA1 251666432 3 7 NOLINK FILE 10485760000 20971520 8192
SYSTEM ONLINE* SYSTEM+ H:\ORACLE\RES\SAPDATA1\SYSTEM_1\SYSTEM.DATA1 1073750016 1 7 NOLINK FILE 10485760000 20971520 8192
BR0119I Redo log files
File Size Group Device Status Link Type
F:\ORACLE\RES\MIRRLOGA\LOG_G11M2.DBF 52429312 1 5 INUSE NOLINK FILE
E:\ORACLE\RES\ORIGLOGA\LOG_G11M1.DBF 52429312 1 4 INUSE NOLINK FILE
F:\ORACLE\RES\MIRRLOGB\LOG_G12M2.DBF 52429312 2 5 INUSE NOLINK FILE
E:\ORACLE\RES\ORIGLOGB\LOG_G12M1.DBF 52429312 2 4 INUSE NOLINK FILE
F:\ORACLE\RES\MIRRLOGA\LOG_G13M2.DBF 52429312 3 5 INUSE NOLINK FILE
E:\ORACLE\RES\ORIGLOGA\LOG_G13M1.DBF 52429312 3 4 INUSE NOLINK FILE
F:\ORACLE\RES\MIRRLOGB\LOG_G14M2.DBF 52429312 4 5 INUSE NOLINK FILE
E:\ORACLE\RES\ORIGLOGB\LOG_G14M1.DBF 52429312 4 4 INUSE NOLINK FILE
BR0120I Control files
File Size Id. Device Link Type
E:\oracle\RES\origlogA\cntrl\cntrlRES.dbf 14106624 0 4 NOLINK FILE
E:\oracle\RES\origlogB\cntrl\cntrlRES.dbf 14106624 0 4 NOLINK FILE
G:\oracle\RES\sapdata1\cntrl\cntrlRES.dbf 14106624 0 6 NOLINK FILE
BR0280I BRBACKUP time stamp: 2009-07-10 14.53.10
BR0301E SQL error -1031 at location BrSapTspList-8, SQL statement:
'PREPARE stmt_1 STATEMENT FROM' 'SELECT TABSPACE FROM "SAPSR3".TSORA UNION SELECT INDSPACE FROM "SAPSR3".TSORA ORDER BY 1'
ORA-01031: insufficient privileges
BR0280I BRBACKUP time stamp: 2009-07-10 14.53.10 BR0307I Shutting down database instance RES ...
BR0280I BRBACKUP time stamp: 2009-07-10 14.53.17 BR0308I Shutdown of database instance RES successful
BR0056I End of database backup: beazhkrz.afd 2009-07-10 14.53.10 BR0280I BRBACKUP time stamp: 2009-07-10 14.53.17
BR0054I BRBACKUP terminated with errors
Regards,
Venkata. -
Question: Will online backup impact database performance for DB6 V9.1
Dear All,
I would like to know will online backup impact the database performance? for eg: access will be slower if online backup is currently running. Appreciate if someone can shed some light on this as i'm new to DB6.
I know for oracle it will impact due the performance due to tablespace are locked in backup mode and this will increaes I/O load due to every block is written to redo log during backup instead of just the changes.
Hope to hear from you soon.
Cheers,
Nicholas Chang.Hello Nicholas,
Here is some additional information on throttling utilities such as online backups:
SET UTIL_IMPACT_PRIORITY command
Changes the impact setting for a running utility. Using this command, you can:
throttle a utility that was invoked in unthrottled mode
unthrottle a throttled utility (disable throttling)
reprioritize a throttled utility (useful if running multiple simultaneous throttled utilities)
Scope
Authorization
One of the following:
sysadm
sysctrl
sysmaint
Required connection
Instance. If there is more than one partition on the local machine, the attachment should be made to the correct partition. For example, suppose there are two partitions and a LIST UTILITIES command resulted in the following output:
ID = 2
Type = BACKUP
Database Name = IWZ
Partition Number = 1
Description = online db
Start Time = 07/19/2007 17:32:09.622395
State = Executing
Invocation Type = User
Throttling:
Priority = Unthrottled
Progress Monitoring:
Estimated Percentage Complete = 10
Total Work = 97867649689 bytes
Completed Work = 10124388481 bytes The instance attachment must be made to partition 1 in order to issue a SET UTIL_IMPACT_PRIORITY command against the utility with ID 2. To do this, set DB2NODE=1 in the environment and then issue the instance attachment command.
Command syntax
>>-SET UTIL_IMPACT_PRIORITY FORutility-idTOpriority----><
Command parameters
utility-id
ID of the utility whose impact setting will be updated. IDs of running utilities can be obtained with the LIST UTILITIES command.
TO priority
Specifies an instance-level limit on the impact associated with running a utility. A value of 100 represents the highest priority and 1 represents the lowest priority. Setting priority to 0 will force a throttled utility to continue unthrottled. Setting priority to a non-zero value will force an unthrottled utility to continue in throttled mode.
Examples
The following example unthrottles the utility with ID 2.
SET UTIL_IMPACT_PRIORITY FOR 2 TO 0
The following example throttles the utility with ID 3 to priority 10. If the priority was 0 before the change then a previously unthrottled utility is now throttled. If the utility was previously throttled (priority had been set to a value greater than zero), then the utility has been reprioritized.
SET UTIL_IMPACT_PRIORITY FOR 3 TO 10
Relationship between UTIL_IMPACT_LIM and UTIL_IMPACT_PRIORITY settings
The database manager configuration parameter util_impact_lim sets the limit on the impact throttled utilities can have on the overall workload of the machine. 0-99 is a throttled percentage, 100 is no throttling.
The SET UTIL_IMPACT_PRIORITY command sets the priority that a particular utility has over the resources available to throttled utilities as defined by the util_impact_lim configuration parameter. (0 = unthrottled)
Using the backup utility as an example, if the util_impact_lim=10, all utilities can have no more than a 10% average impact upon the total workload as judged by the throttling algorithm. Using two throttled utilities as an example:
Backup with util_inpact_priority 70
Runstats with util_impact_priority 50
Both utilities combined should have no more than a 10% average impact on the total workload, and the utility with the higher priority will get more of the available workload resources. For both the backup and runstats operations, it is also possible to declare the impact priority within the command line of that utility. If you do not issue the SET UTIL_IMPACT_PRIORITY command, the utility will run unthrottled (irrespective of the setting of util_impact_lim).
To view the current priority setting for the utilities that are running, you can use the LIST UTILITIES command.
Usage notes
Throttling requires that an impact policy be defined by setting the util_impact_lim configuration parameter.
Regards,
Adam Wilson
SAP Development Support -
Online DB2 database Copy via backup/restore
Hi Guru's
I am new in the world of DB2 (I am always working with Oracle)
I have to perform an online database copy of our SAP which is running on DB2, but I do not want to use the SAPinst method
I just want to perform it through the backup/restore method as I always do with oracle databases
Which procedure do I have to follow on my source and target SIDs
Regards
RichardHi Richard,
Follow the below step db2 nackup restore activity.
1). Perform full offline or online backup of source system
2). Go to cd /sapmnt/SSID/exe and run the below script
brdb6brt -bm RETRIEVE -es –replace SourceSID=TargetSID,db2SourceSID=db2TargetSID,/db2/SourceSID=/db2/TargetSID
3). Above Generate the script copy the Target System.
4). Offline PRD (Target System) Backup Images copy to Source Path (Any One Path)
5). Stop SAP System only DB2 must be Started.
6). Start the db2 backup redirect restored in Quality System
7). before run the script below activity must be finished.
Make Changes to the restore script
Go to script path
1). Replace Source SID (XXX) with Target SID (XXX)
2). Change the backup location
3). User (source db2sid) USING (Source db2sid Password)
USER db2xxx USING XXX(Password)
8). Restoring Database
Log in db2sid (db2sid) User
Go to backup & script Path
9). Run the below Script
db2 -tvf <script.scr> for exp. db2 -tvf xxx_NODE0000.scr
After successfully restore backup below command run
10). First Check Roll Forward Status
Open DB with the below command
db2 rollforward db <TargetSID> query status – check status of DB
db2 rollforward db <TargetSID> complete
11). Once the copy is complete we can check below parameter and make corrections as per your preprocessing
Db2 list tablespaces show detail (To check tablespaces)
parameter automatic storage & re-sized YES
Check the Archive log (LOGARCHMATH1) path
Log in db2sid & run the below command for change the db2 LOGARCHMATH1 Parameter value.
After successfully change the parameter restart the db2 database
12). Perform below step before the Start SAP System
13). Create SAP connects user using
PATH :- /usr/sap/SID/SYS/global
scdb6up create <connect user password> <sidadm password>
above command will update entry in /sapmnt/SID/global/dscdb6.conf
Regards, -
Online backup of the Oracle Collaboration Suite Database automatically ever
Hi everybody!
How to perform an online backup of the Oracle Collaboration Suite Database automatically every half-hour (every 10 minutes)?
Thanks a lot for your helps.Hi,
Take a look at the Backup and Recovery Basics book in the Administration section of the Database library. This will explain how ArchiveLog works.
richard -
Online Backups for Hyperion Essbase database
Dear All,
Any one implemented online backups for HYPERION products,
Please share the details with me if you implemented.
Thanks,
RajendraprasadAll you need to know about backups but were afraid to ask is available at :- http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_backup_recovery/frameset.htm?launch.html
Cheers
John
http://john-goodwin.blogspot.com/ -
HI,
I have setup an oracle database running one of our inhouse applications on a Linux Red Hat 4 Enterprise OS. Project go live
is a few days away and I don't have time to teach myself Oracle backups at this stage. I was hoping a few experts could
help me out with the following.
1. What configuration settings do I make to Oracle database and RMAN to prepare for online backups? How do I check
that the settings have already been done?
2. what commands do I then run to trigger off a online backup and what script type do you use so it can be scheduled?
3. How do you schedule the online backup?
My plan its to do an online backup to a folder on another partiton and then use rsync to sync the backup over to another
server which has tape backup.
I also though of running a script to shutdown the databse, then use rsync to copy the databse to a new location and then
startup the database again. Anyone ever use this backup type?
Many Thanks!
Raikal.Hi 581156,
You can use RMAN to do your online backups, please can you tell us your RDBMS version,OS and if the DB is on archive mode or not? I need this to send you the right links to help you on this process.
Please take a look on this link:
http://www.orafaq.com/wiki/Oracle_database_Backup_and_Recovery_FAQ
Also if you need more information, please refer to:
http://tahiti.oracle.com/
Cheers,
Francisco Munoz Alvarez -
Copy database from linux to windows error
Hi,
I have my database on linux 4 as oracle 10g i want to copy it on windows xp oracle 10g. One option is to migrate using rman but both of them have same
format by
select * from V$DB_TRANSPORTABLE_PLATFORM
Microsoft Windows IA (32-bit) Little
Linux IA (32-bit) Littlei take cold backup of my database on linux and copy it to windows then edit pfile and mount the database now the issue to change the path of datafiles and log files
i am using
SQL> select * from v$logfile;
GROUP# STATUS TYPE
MEMBER
IS_
3 ONLINE
/home/oracle/oracle/product/10.2.0/oradata/orcl/redo03.log
NO
2 ONLINE
/home/oracle/oracle/product/10.2.0/oradata/orcl/redo02.log
NO
GROUP# STATUS TYPE
MEMBER
IS_
1 ONLINE
/home/oracle/oracle/product/10.2.0/oradata/orcl/redo01.log
NO
SQL> alter database rename file '/home/oracle/oracle/product/10.2.0/oradata/orcl/redo01.log' to 'D:\oracle\product\10.2.0\oradata\orcl\redo1.log';
alter database rename file '/home/oracle/oracle/product/10.2.0/oradata/orcl/redo01.log' to 'D:\oracle\product\10.2.0\oradata\orcl\redo1.log'
ERROR at line 1:
ORA-01511: error in renaming log/data files
ORA-01516: nonexistent log file, datafile, or tempfile
"/home/oracle/oracle/product/10.2.0/oradata/orcl/redo01.log"i know the original location '/home/oracle/oracle/product/10.2.0/oradata/orcl/redo01.log' doesn't exists but is there any way to solve it.
Thanks
umeshThanks for your help
SQL> ed
Wrote file afiedt.buf
1 CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS ARCHIVELOG
2 MAXLOGFILES 16
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 100
5 MAXINSTANCES 8
6 MAXLOGHISTORY 292
7 LOGFILE
8 GROUP 1 'D:\oracle\product\10.2.0\oradata\orcl\redo1.log' SIZE 50M,
9 GROUP 2 'D:\oracle\product\10.2.0\oradata\orcl\redo2.log' SIZE 50M,
10 GROUP 3 'D:\oracle\product\10.2.0\oradata\orcl\redo3.log' SIZE 50M
11 -- STANDBY LOGFILE
12 DATAFILE
13 'D:\oracle\product\10.2.0\oradata\orcl\system01.dbf',
14 'D:\oracle\product\10.2.0\oradata\orcl\undotbs01.dbf',
15 'D:\oracle\product\10.2.0\oradata\orcl\sysaux01.dbf',
16 'D:\oracle\product\10.2.0\oradata\orcl\users01.dbf',
17 'D:\oracle\product\10.2.0\oradata\orcl\example01.dbf'
18* CHARACTER SET WE8ISO8859P1
19 /
Control file created.
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option for database openThis is error in log file
Errors in file d:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_3836.trc:
ORA-30012: undo tablespace 'UNDOTBS' does not exist or of wrong type
Thu Nov 05 13:35:09 2009
Error 30012 happened during db open, shutting down database
USER: terminating instance due to error 30012
ARC1 started with pid=18, OS id=3680
Thu Nov 05 13:35:10 2009
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_pmon_2316.trc:
ORA-30012: undo tablespace '' does not exist or of wrong type
Thu Nov 05 13:35:10 2009
ARC0: STARTING ARCH PROCESSES COMPLETE
Thu Nov 05 13:35:10 2009
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
Thu Nov 05 13:35:11 2009
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_reco_2544.trc:
ORA-30012: undo tablespace '' does not exist or of wrong type
Thu Nov 05 13:35:11 2009
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_756.trc:
ORA-30012: undo tablespace '' does not exist or of wrong type
Thu Nov 05 13:35:11 2009
ARCH: Detected ARCH process failure
ARCH: Detected ARCH process failure
ARCH: Detected ARCH process failure
ARCH: STARTING ARCH PROCESSES
Thu Nov 05 13:35:11 2009
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_psp0_2888.trc:
ORA-30012: undo tablespace '' does not exist or of wrong type
Thu Nov 05 13:35:11 2009
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_lgwr_1320.trc:
ORA-30012: undo tablespace '' does not exist or of wrong type
Thu Nov 05 13:35:11 2009
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_dbw0_4012.trc:
ORA-30012: undo tablespace '' does not exist or of wrong type
Thu Nov 05 13:35:11 2009
Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mman_3728.trc:
ORA-30012: undo tablespace '' does not exist or of wrong typethanks -
Revised script for online backup
Hi everybody,
in http://linux-dba.gutzmann.com you can find a revised and
enhanced version of a script for a full online backup. It
requires the database to be in archive mode, of course, and
contains compress steps so you can use it for a disk backup.
Any comments are welcome.
Cheers
Thomas
nullHi mahesh,
If you are using backup feature from crx console, I mean http://localhost:4502/crx/config/backup.jsp I can say that we had also some problems with this functionalities.
First off all what you need to check are the permissions, because when you check a source code there is line which creates a File object using a path specified by you to make a backup of repository.
File targetDir = new File(req.getParameter("targetDir", listDir.getParentFile().getAbsolutePath()));
You need to have sure that the proper read write access has been granted for this path.
Another issue is that maybe there was already prepared some hotfix if you are using CQ5.4. Please refer to the following link:
http://dev.day.com/content/kb/home/Crx/CrxSystemAdministration/CRXOnlineBackup.html
and also to this one:
http://dev.day.com/content/docs/en/crx/current/release_notes/overview.html which contains a hotfix number #34797 which was applied to backup.jsp file.
Regards,
kasq -
Hello experts,
we are using bd2 on linux.
we use following command line to take offline backup:
brdb6brt -bm BACKUP -bpt '/dev/st0' -nb 3.
how to take online backup.
can any one help me out with the command line used for online backup.
we are using HP ALTRUIM tape drives.
thanks and regards,
pratapHi Pratap,
To run an online backup, you can use the db2 CLP command, db2 BACKUP DATABASE.. For example,
db2 backup database <sid> online to /dev/st0 -nb 3
You can refer to the IBM Info Center:
[http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.admin.doc/doc/r0001933.htm]
Also, you can schedule the online backup in DBA Planning Calendar (transaction db13). With this transaction, you can specify when the backup will run in a recurring manner.
I hope it helps!
Regards, -
Is there a difference between a Hot Backup and an Online backup?
Version:10g2
Is there a difference between a Hot Backup and an Online backup? Aren't these terms interchangeably used? Couldn't find a similair thread in OTN.They mean same meaning. They are synonyms in Oracle language :)
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]
Maybe you are looking for
-
How to code the ejbCreate() method without initailizing primary key?
Hi all, I've just started learning about EJBs, and now am at the stage of learning how to create, deploy and test a CMP Entity Bean. Ran into a problem which I'm hoping someone can help out with. I'm using SQL Server 2000 as my backend database, and
-
Web sharing suddenly stops working
Hello there! I'm using web sharing all the time to stream content from my mac to my ps3. It was always working flawlessly with no issues whatsoever. Today there's no way I can connect to from my ps3 and any other device as well. It's not a password e
-
I have just installed BAM with below configuration: Redhat Linux Enterprise 5 Weblogic 10.3.2 SOA 11.1.1.2.0 JRockit is used fixed IP (no DHCP host) After the installation, I can successfully open http://servername:7001/console and sees no errors. af
-
IOS 8.1.1 iLife missing
HI, I bought two iPhone 6's the other day for my wife and I. They both started out with garage band and iMovie already installed, which I believe is normal. However, my phone said there was an update to iOS 8.1.1 which I carried out, and now all the
-
Media Encoder stalls when using a 2-pass BlueRay H.264
Hello, This has happened twice, I send the PP timeline to Media Encoder, select a 2-pass encoding, BluRay H.264, and the encoding process starts and runs fine. Three quarters of the way through a 3 hour squence, encoder stops encoding / stalls, and