Backup through brtools
Hi,
Iam unable to login the system.my ora arch directory is full,i know how to take backup through db13.
iam unaware of how to take the back up through brtools.how to solve this problem.os is aix and db is oracle. guide me for same to solve problem.
Thanku
Hi Harshit,
Do the following to take archive log backup:-
On WIndows:-
Step 1:- Login with SIDadm
Step 2:- Open CMD prompt and use brtools command
Step 3:- It will open Brtools screen
Step 4:- Select option 4 backup and database copy
Step 5:- Next select 2 Archivelog backup
Step 6:- Then continue , continue and continue it will start archivelog backup.
On Unix:-
Step 1:- login with Ora<SID> user
Step 2:- Brtools
Step 3:- It will open Brtools screen
Step 4:- Select option 4 backup and database copy
Step 5:- Next select 2 Archivelog backup
Step 6:- Then continue , continue and continue it will start archivelog backup.
OR
you can use the following command
brarchive -c -sd -u
Best luck
Atil
Similar Messages
-
ORA27091 error while taking backup through BRtools via DB13
Hi,
I have installed ECC5.0 on Oracle 10.2.02 with SUSE Linux 10.
When I start the backup of SAP system to disk via DB13 I get the following error.
BR0051I BRBACKUP 7.00 (16)
BR0055I Start of database backup: befppthd.afd 2011-04-08 00.04.53
BR0280I BRBACKUP time stamp: 2011-04-08 00.04.53
BR0301E SQL error -27091 at location BrInitOraCreate-5, SQL statement:
'/* BRBACKUP AT PROF_CONN */ CREATE PFILE = '/oracle/EC5/102_64/dbs/sap.ora' FROM SPFILE = '/oracle/EC5/102_64/dbs/spfileEC5.ora''
ORA-27091: unable to queue I/O
ORA-27072: File I/O error
Linux-x86_64 Error: 22: Invalid argument
Additional information: 4
Additional information: 1
Additional information: -1
BR0303E Determination of Oracle version failed
BR0056I End of database backup: befppthd.afd 2011-04-08 00.04.53
BR0280I BRBACKUP time stamp: 2011-04-08 00.04.54
BR0054I BRBACKUP terminated with errors
Kindly help me resolve the issue.
Thanks,
Haroon.Hi Mark,
I tried created spfile but it is not still working.
I don't knw why it tries to create pfile with "sap.ora"
BR0301E SQL error -27091 at location BrInitOraCreate-5, SQL statement:
'/* BRBACKUP AT PROF_CONN */ CREATE PFILE = '/oracle/EC5/102_64/dbs/sap.ora' FROM SPFILE = '/oracle/EC5/102_64/dbs/spfileEC5.ora''
Thanks,
Haroon. -
MaxDB backup through Backint on Oracle for TSM
Hello Gurus:
We are using TSM backint interface for Oracle database. We are in the process of implementing SCM. We would like to schedule MaxDB backup through backint interface for Oracle.
I checked some forums and configured but backint is not recognizing MaxDB parameter file. Please see below parameter file and error logs.
*BSI File:*
BACKINT D:\usr\sap\SCD\SYS\exe\uc\NTAMD64\backint.exe
INPUT D:\sapdb\data\wrk\backint\sapdb.in
OUTPUT D:\sapdb\data\wrk\backint\sapdb.out
ERROROUTPUT D:\sapdb\data\wrk\backint\sapdb.err
PARAMETERFILE D:\sapdb\data\wrk\LCD\maxdb_config.par
ORIGINAL_RUNDIRECTORY L:\sapdb\LCD\sapdata
*Parameter File - MaxDB_config*
STAGING AREA: D:\TEMP\STAGE1 1024000 KB
FILES PER BACKINT CALL: 2
BACKINT: D:\usr\sap\SCD\SYS\exe\uc\NTAMD64\backint.exe
PARAMETERFILE OF BACKINT: D:\oracle\SCD\102\database\initSCD.utl
HISTORY FILE: D:\sapdb\data\wrk\BackintHistory
INPUTFILE OF BACKINT: D:\sapdb\data\wrk\backint\backint.in
OUTPUTFILE OF BACKINT: D:\sapdb\data\wrk\backint\backint.out
ERRORFILE OF BACKINT: D:\sapdb\data\wrk\backint\backint.err
MAXIMAL DELAY OF BACKINT CALL: 30
Error Logs:
2010-03-30 17:38:35
Using environment variable 'TEMP' with value 'C:\Windows\TEMP' as directory for temporary files and pipes.
Using connection to Backint for MaxDB Interface.
2010-03-30 17:38:35
Checking existence and configuration of Backint for MaxDB.
Using environment variable 'BSI_ENV' with value 'D:\sapdb\data\wrk\LCD\bsi.env' as path of the configuration file of Backint for MaxDB.
Reading the Backint for MaxDB configuration file 'D:\sapdb\data\wrk\LCD\bsi.env'.
Found keyword 'BACKINT' with value 'D:\usr\sap\SCD\SYS\exe\uc\NTAMD64\backint.exe'.
Found keyword 'INPUT' with value 'D:\sapdb\data\wrk\backint\sapdb.in'.
Found keyword 'OUTPUT' with value 'D:\sapdb\data\wrk\backint\sapdb.out'.
Found keyword 'ERROROUTPUT' with value 'D:\sapdb\data\wrk\backint\sapdb.err'.
Found keyword 'PARAMETERFILE' with value 'D:\sapdb\data\wrk\LCD\maxdb_config.par'.
Found keyword 'ORIGINAL_RUNDIRECTORY' with value 'L:\sapdb\LCD\sapdata'.
Finished reading of the Backint for MaxDB configuration file.
Using 'D:\usr\sap\SCD\SYS\exe\uc\NTAMD64\backint.exe' as Backint for MaxDB program.
Using 'D:\sapdb\data\wrk\backint\sapdb.in' as input file for Backint for MaxDB.
Using 'D:\sapdb\data\wrk\backint\sapdb.out' as output file for Backint for MaxDB.
Using 'D:\sapdb\data\wrk\backint\sapdb.err' as error output file for Backint for MaxDB.
Using 'D:\sapdb\data\wrk\LCD\maxdb_config.par' as parameter file for Backint for MaxDB.
Using '300' seconds as timeout for Backint for MaxDB in the case of success.
Using '300' seconds as timeout for Backint for MaxDB in the case of failure.
Using 'L:\sapdb\LCD\sapdata\dbm.knl' as backup history of a database to migrate.
Using 'L:\sapdb\LCD\sapdata\dbm.ebf' as external backup history of a database to migrate.
Checking availability of backups using backint's inquire function.
Check passed successful.
2010-03-30 17:38:35
Checking medium.
Check passed successfully.
2010-03-30 17:38:35
Preparing backup.
Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
Setting environment variable 'BI_REQUEST' to value 'NEW'.
Setting environment variable 'BI_BACKUP' to value 'FULL'.
Constructed Backint for MaxDB call 'D:\usr\sap\SCD\SYS\exe\uc\NTAMD64\backint.exe -u LCD -f backup -t file -p D:\sapdb\data\wrk\LCD\maxdb_config.par -i D:\sapdb\data\wrk\backint\sapdb.in -c'.
Created temporary file 'D:\sapdb\data\wrk\backint\sapdb.out' as output for Backint for MaxDB.
Created temporary file 'D:\sapdb\data\wrk\backint\sapdb.err' as error output for Backint for MaxDB.
Writing '
.\pipe\BACKscd #PIPE' to the input file.
Prepare passed successfully.
2010-03-30 17:38:35
Starting database action for the backup.
Requesting 'SAVE DATA QUICK TO '
.\pipe\BACKscd' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'Back123'' from db-kernel.
The database is working on the request.
2010-03-30 17:38:35
Waiting until database has prepared the backup.
Asking for state of database.
2010-03-30 17:38:35 Database is still preparing the backup.
Waiting 1 second ... Done.
Asking for state of database.
2010-03-30 17:38:36 Database has finished preparation of the backup.
The database has prepared the backup successfully.
2010-03-30 17:38:36
Starting Backint for MaxDB.
Starting Backint for MaxDB process 'D:\usr\sap\SCD\SYS\exe\uc\NTAMD64\backint.exe -u LCD -f backup -t file -p D:\sapdb\data\wrk\LCD\maxdb_config.par -i D:\sapdb\data\wrk\backint\sapdb.in -c >>D:\sapdb\data\wrk\backint\sapdb.out 2>>D:\sapdb\data\wrk\backint\sapdb.err'.
Process was started successfully.
Backint for MaxDB has been started successfully.
2010-03-30 17:38:36
Waiting for end of the backup operation.
2010-03-30 17:38:36 The backup tool process has finished work with return code 2.
2010-03-30 17:38:36 The backup tool is not running.
2010-03-30 17:38:36 The database is working on the request.
2010-03-30 17:38:36 The database is working on the request.
2010-03-30 17:38:41 The database is working on the request.
2010-03-30 17:38:51 The database is working on the request.
2010-03-30 17:39:06 The database is working on the request.
2010-03-30 17:39:26 The database is working on the request.
2010-03-30 17:39:37 Canceling Utility-task after a timeout of 60 seconds elapsed ... OK.
2010-03-30 17:39:38 The database has finished work on the request.
Receiving a reply from the database kernel.
Got the following reply from db-kernel:
SQL-Code :-903
The backup operation has ended.
2010-03-30 17:39:38
Filling reply buffer.
Have encountered error -24920:
The backup tool failed with 2 as sum of exit codes. The database request was canceled and ended with error -903.
Constructed the following reply:
ERR
-24920,ERR_BACKUPOP: backup operation was unsuccessful
The backup tool failed with 2 as sum of exit codes. The database request was canceled and ended with error -903.
Reply buffer filled.
2010-03-30 17:39:38
Cleaning up.
Copying output of Backint for MaxDB to this file.
**-- Begin of output of Backint for MaxDB (D:\sapdb\data\wrk\backint\sapdb.out)--**
**Data Protection for SAP(R)**
**Interface between BRTools and Tivoli Storage Manager***
**- Version 6, Release 1, Modification 0.0 for Win x64 -**
**Build: 358 compiled on Nov 4 2008**
**(c) Copyright IBM Corporation, 1996, 2008, All Rights Reserved.**
**BKI8310E: The keyword MAXIMAL is not allowed.**
**BKI1001E: syntax error in file 'D:\sapdb\data\wrk\LCD\maxdb_config.par'. Exiting program.**
**BKI0020I: End of program at: 03/30/10 17:38:36 .**
**BKI0021I: Elapsed time: 00 sec .**
**BKI0024I: Return code is: 2.**
End of output of Backint for MaxDB (D:\sapdb\data\wrk\backint\sapdb.out)----
Removed Backint for MaxDB's temporary output file 'D:\sapdb\data\wrk\backint\sapdb.out'.
Copying error output of Backint for MaxDB to this file.
Begin of error output of Backint for MaxDB (D:\sapdb\data\wrk\backint\sapdb.err)----
End of error output of Backint for MaxDB (D:\sapdb\data\wrk\backint\sapdb.err)----
Removed Backint for MaxDB's temporary error output file 'D:\sapdb\data\wrk\backint\sapdb.err'.
Removed the Backint for MaxDB input file 'D:\sapdb\data\wrk\backint\sapdb.in'.
Have finished clean up successfully.
Any help will be appreciated.
Thanks,
Miral.> We are using TSM backint interface for Oracle database. We are in the process of implementing SCM. We would like to schedule MaxDB backup through backint interface for Oracle.
> *BSI File:*
>
> BACKINT D:\usr\sap\SCD\SYS\exe\uc\NTAMD64\backint.exe
> *Parameter File - MaxDB_config*
> STAGING AREA: D:\TEMP\STAGE1 1024000 KB
> FILES PER BACKINT CALL: 2
> BACKINT: D:\usr\sap\SCD\SYS\exe\uc\NTAMD64\backint.exe
>
> Using 'D:\usr\sap\SCD\SYS\exe\uc\NTAMD64\backint.exe' as Backint for MaxDB program.
> 2010-03-30 17:39:38
> Cleaning up.
> Copying output of Backint for MaxDB to this file.
> **Data Protection for SAP(R)**
> **Interface between BRTools and Tivoli Storage Manager***
> **- Version 6, Release 1, Modification 0.0 for Win x64 -**
> **BKI8310E: The keyword MAXIMAL is not allowed.**
> **BKI1001E: syntax error in file 'D:\sapdb\data\wrk\LCD\maxdb_config.par'. Exiting program.**
> **BKI0020I: End of program at: 03/30/10 17:38:36 .**
> **BKI0021I: Elapsed time: 00 sec .**
> **BKI0024I: Return code is: 2.**
>
> -
End of output of Backint for MaxDB (D:\sapdb\data\wrk\backint\sapdb.out)----
> Removed Backint for MaxDB's temporary output file 'D:\sapdb\data\wrk\backint\sapdb.out'.
> Copying error output of Backint for MaxDB to this file.
> -
Begin of error output of Backint for MaxDB (D:\sapdb\data\wrk\backint\sapdb.err)----
@Markus: thanks for the hint with the quote-formatting option!
Concerning the issue:
Sorry, but you misunderstood the way how the general BACKINT for Oracle interface is used with MaxDB.
See, MaxDB comes with a own BACKINT executable.
This is a enhanced BACKINT tools that allows pipes as data input channels - which is not supported by the Backint for Oracle.
The MaxDB Backint serves as a adapter program between the MaxDB Kernel and the backint for Oracle program.
So instead of
BACKINT: D:\usr\sap\SCD\SYS\exe\uc\NTAMD64\backint.exe
you should point it to the MaxDB provided adapater program.
I propose to revisit the documentation on that topic [Connecting to a Backint for Oracle Interface |http://maxdb.sap.com/doc/7_7/45/746a5712e14022e10000000a1553f6/content.htm].
best regards,
Lars -
How to Restore Full Offiline Backup using BRTOOLS from a Tape
Dear all,
I want to recover PRD Full Offline Backup using BRTOOLS from a tape in a new machine.
I have Install SAP in the new machine.
Now I want to restore the PRD Full Offiline Backup taken through BRTOOLs in tape in the new machine.
1. I have shutdown the SAP.
2. I have shutdown the database Oracle 10g.
3. I have inserted the backup tape
4. Through user ORASID I have executed BRTOOLS
I got the following options: -
BRTools main menu
1 = Instance management
2 - Space management
3 - Segment management
4 - Backup and database copy
5 - Restore and recovery
6 - Check and verification
7 - Database statistics
8 - Additional functions
9 - Exit program
I selected Option 5 Restore and recovery
And got the Following Options
Restore and recovery
1 = Complete database recovery
2 - Database point-in-time recovery
3 - Tablespace point-in-time recovery
4 - Whole database reset
5 - Restore of individual backup files
6 - Restore and application of archivelog files
7 - Disaster recovery
8 - Reset program status
1. Now which option do I need to select and then what all other options do I need to select.
2. Whether the database should be a mount state or shutdown ?
Kindly help.Dear Mark,
Thanks.
As suggested I tried both the options however face some difficulties please suggest
brrestore -u / -c -b <backup_log.ext> -p init<SID>.sap -m full
hinrnddev:oradev 1> brrestore -u / -c -b bedflluv.fft -p initDEV.sap -m full
BR0401I BRRESTORE 7.00 (32)
BR0405I Start of file restore: redhafeh.rsb 2010-05-22 11.55.55
BR0484I BRRESTORE log file: /oracle/DEV/sapbackup/redhafeh.rsb
BR0252E Function fopen() failed for '/oracle/DEV/sapbackup/bedflluv.fft' at location BrbLogRead-1
BR0253E errno 2: No such file or directory
BR0121E Processing of log file /oracle/DEV/sapbackup/bedflluv.fft failed
BR0406I End of file restore: redhafeh.rsb 2010-05-22 11.55.55
BR0280I BRRESTORE time stamp: 2010-05-22 11.55.55
BR0404I BRRESTORE terminated with errors
When I used the brrestore command I got the above error message.
Then I tried the next option Complete database recover
BRRECOVER options for restore and recovery
1 * Recovery type (type) ............. [complete]
2 - BRRECOVER profile (profile) ...... [initDEV.sap]
3 ~ BACKINT/Mount profile (parfile) .. []
4 - Database user/password (user) .... [/]
5 - Recovery interval (interval) ..... [30]
6 - Confirmation mode (confirm) ...... [yes]
7 - Scrolling line count (scroll) .... [20]
8 - Message language (language) ...... [E]
9 - BRRECOVER command line (command) . [-p initDEV.sap -t complete -i 30 -s 20 -l E]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
C
Complete database recovery main menu
1 = Check the status of database files
2 * Select database backup
3 * Restore data files
4 * Restore and apply incremental backup
5 * Restore and apply archivelog files
6 * Open database and post-processing
7 * Exit program
8 - Reset program status
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
C
Complete database recovery main menu
1 + Check the status of database files
2 # Select database backup
3 # Restore data files
4 # Restore and apply incremental backup
5 # Restore and apply archivelog files
6 + Open database and post-processing
7 = Exit program
8 - Reset program status
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
the + sign got changed to +
and the * got changed to #
then it is getting in loop please suggest what do I do now. -
Error while Backup through DB13
Hi Experts.
This is the first time when we are taking backup through DB13.
I have inserted the Tape in the Tape drive and run the Online Full Backup. But an error was thrown as mentioned Below.
Please also suggest me what are the changes which needs to be done on OS Level for the successful backup through DB13.
Part of Error Message
BR0280I BRBACKUP time stamp: 2010-09-09 18.01.59
BR0057I Backup of database: JMD
BR0058I BRBACKUP action ID: beebweva
BR0059I BRBACKUP function ID: ant
BR0110I Backup mode: ALL
BR0077I Database file for backup: /oracle/JMD/sapbackup/cntrlJMD.dbf
BR0061I 55 files found for backup, total size 109113.406 MB
BR0143I Backup type: online
BR0111I Files will be compressed
BR0130I Backup device type: tape
BR0102I Following backup device will be used: /dev/rmt/0mn
BR0103I Following backup volume will be used: JMDB01
BR0134I Unattended mode with 'force' active - no operator confirmation allowed
BR0208I Volume with name JMDB01 required in device /dev/rmt/0mn
BR0280I BRBACKUP time stamp: 2010-09-09 18.01.59
BR0226I Rewinding tape volume in device /dev/rmt/0m ...
BR0351I Restoring /oracle/JMD/sapbackup/.tape.hdr0
BR0355I from /dev/rmt/0mn ...
BR0278E Command output of 'LANG=C cd /oracle/JMD/sapbackup && /usr/sap/JMD/SYS/exe/run/brtools -f detach LANG=C cpio -iuvB .tape.hdr0 < /dev/rmt/0mn': -
error
Can't open /dev/tty to prompt for more media.
BR0280I BRBACKUP time stamp: 2010-09-09 18.01.59
BR0279E Return code from 'LANG=C cd /oracle/JMD/sapbackup && /usr/sap/JMD/SYS/exe/run/brtools -f detach LANG=C cpio -iuvB .tape.hdr0 < /dev/rmt/0mn': 2
BR0359E Restore of /oracle/JMD/sapbackup/.tape.hdr0 from /dev/rmt/0mn failed due to previous errors
BR0218E Checking label on volume in device /dev/rmt/0mn failed -
error
BR0236I Perhaps volume initialization with option '-i force' required
BR0056I End of database backup: beebweva.ant 2010-09-09 18.01.59
BR0280I BRBACKUP time stamp: 2010-09-09 18.01.59
BR0054I BRBACKUP terminated with errors
Kindly Suggest.Hi Anil,
Thanks for your help. I did as you Said and it also proceeded a Bit Far...
Now I Get A different set of Error. Please Give your Valuable Suggestions.
BR0280I BRBACKUP time stamp: 2010-09-10 15.04.09
BR0057I Backup of database: JMD
BR0058I BRBACKUP action ID: beecamwa
BR0059I BRBACKUP function ID: ant
BR0110I Backup mode: ALL
BR0077I Database file for backup: /oracle/JMD/sapbackup/cntrlJMD.dbf
BR0061I 55 files found for backup, total size 109113.406 MB
BR0143I Backup type: online
BR0111I Files will be compressed
BR0130I Backup device type: tape
BR0102I Following backup device will be used: /dev/rmt/0mn
BR0103I Following backup volume will be used: JMDB01
BR0134I Unattended mode with 'force' active - no operator confirmation allowed
BR0208I Volume with name JMDB01 required in device /dev/rmt/0mn
BR0280I BRBACKUP time stamp: 2010-09-10 15.04.09
BR0226I Rewinding tape volume in device /dev/rmt/0m ...
BR0351I Restoring /oracle/JMD/sapbackup/.tape.hdr0
BR0355I from /dev/rmt/0mn ...
BR0241I Checking label on volume in device /dev/rmt/0mn
BR0280I BRBACKUP time stamp: 2010-09-10 15.04.10
BR0226I Rewinding tape volume in device /dev/rmt/0m ...
BR0202I Saving /oracle/JMD/sapbackup/.tape.hdr0
BR0203I to /dev/rmt/0mn ...
BR0209I Volume in device /dev/rmt/0mn has name JMDB01
BR0202I Saving init_ora
BR0203I to /dev/rmt/0mn ...
BR0202I Saving /oracle/JMD/102_64/dbs/initJMD.sap
BR0203I to /dev/rmt/0mn ...
BR0280I BRBACKUP time stamp: 2010-09-10 15.04.36
BR0198I Profiles saved successfully
BR0280I BRBACKUP time stamp: 2010-09-10 15.04.38
BR0315I 'Alter tablespace PSAPSR3 begin backup' successful
BR0201I Compressing /oracle/JMD/sapdata1/sr3_1/sr3.data1
BR0203I to /sapinstcd/sr3.data1.Z ... -
error
BR0278E Command output of 'LANG=C compress -c /oracle/JMD/sapdata1/sr3_1/sr3.data1 > /sapinstcd/sr3.data1.Z':
sh: /sapinstcd/sr3.data1.Z: Cannot create the specified file.
BR0280I BRBACKUP time stamp: 2010-09-10 15.04.38
BR0279E Return code from 'LANG=C compress -c /oracle/JMD/sapdata1/sr3_1/sr3.data1 > /sapinstcd/sr3.data1.Z': 1
BR0224E Compressing /oracle/JMD/sapdata1/sr3_1/sr3.data1 to /sapinstcd/sr3.data1.Z failed due to previous errors -
error
BR0280I BRBACKUP time stamp: 2010-09-10 15.04.42
BR0317I 'Alter tablespace PSAPSR3 end backup' successful
BR0056I End of database backup: beecamwa.ant 2010-09-10 15.04.38
BR0280I BRBACKUP time stamp: 2010-09-10 15.04.42
BR0054I BRBACKUP terminated with errors
Thanks Again. Waiting for your Reply. -
DB13 initiated backups fail - BRTOOLS succeeds
Dear All,
I have configured init<SID>.sap for a online disk backup. When I start a online backup from BRTOOLS it completes. But when I schedule or immediately start a Online backup from DB13, it fails with this log:
01.09.2008 12:09:47 BR0282E Directory '
bisandbox01\Solmanbackup\sapbackup' not found
01.09.2008 12:09:47 BR0182E Checking parameter/option 'backup_root_dir' failed
01.09.2008 12:09:47 External program terminated with exit code 3
I am using a separate Windows server shared directory to take this backup [
bisandbox01\Solmanbackup\sapbackup]
Can anyone suggest what am I missing?
regards, Sean.Hi,
Give FULL control rights to SAPSERVICE(SID) to your "
bisandbox01\Solmanbackup\sapbackup " .
If the sapbackup location is on another server then you have to create the user sapservice<SID> on that server & make sure that the password is same as of sap server.
When you execute the backup through DB13 the user SAPSERVICE(SID) is been use to store the backup.
Hope this will help to solve your problem..
regards
Virendra -
Alter Tablespace Through BRTOOLS
Hi,
How can we alter tablespace through BRTOOLS.
Regards,
NitinHi,
Choice menu 1 - please make a selection
BR*Tools main menu
1 = Instance management
2 - Space management
3 - Segment management
4 - Backup and database copy
5 - Restore and recovery
6 - Check and verification
7 - Database statistics
8 - Additional functions
9 - Exit program
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
2
Your choice: '2'
Choice menu 5 - please make a selection
Database space management
1 = Extend tablespace
2 - Create tablespace
3 - Drop tablespace
4 - Alter tablespace
5 - Alter data file
6 - Move data file
7 - Additional space functions
8 - Reset program status
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
4
Your choice: '4'
After this you can select the table space by selecting the options
Enter string value for "tablespace" []: Table name which you need to Alter
and select the options it will clearly mentioned
and followup the process
Thanks & regards
Sreedhar Reddy -
Error while taking backup through RMAN in 10g XE
While taking backup through RMAN in XE instance , an error comes out.
The contents of oxe_backup_current file is as below :
XE Backup Log
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Jul 6 15:49:51 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: XE (DBID=2635631092)
RMAN>
echo set on
RMAN> shutdown immediate;
using target database control file instead of recovery catalog
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 805306368 bytes
Fixed Size 1261444 bytes
Variable Size 209715324 bytes
Database Buffers 591396864 bytes
Redo Buffers 2932736 bytes
RMAN> configure retention policy to redundancy 2;
old RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
new RMAN configuration parameters:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
new RMAN configuration parameters are successfully stored
RMAN> configure controlfile autobackup format for device type disk clear;
RMAN configuration parameters are successfully reset to default value
RMAN> configure controlfile autobackup on;
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters are successfully stored
RMAN> sql "create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile";
*sql statement: create pfile=''/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora'' from spfile*
*RMAN-00571: ===========================================================*
*RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============*
*RMAN-00571: ===========================================================*
*RMAN-03009: failure of sql command on default channel at 07/06/2011 15:50:57*
*RMAN-11003: failure during parse/execution of SQL statement: create pfile='/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/dbs/spfile2init.ora' from spfile*
*ORA-27086: unable to lock file - already in use*
*Linux Error: 11: Resource temporarily unavailable*
Additional information: 8
Additional information: 16476
RMAN> backup as backupset device type disk database;
Starting backup at 06-JUL-11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=102 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00003 name=/usr/lib/oracle/xe/oradata/XE/sysaux.dbf
input datafile fno=00005 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_log01.dbf
input datafile fno=00006 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_lrg01.dbf
input datafile fno=00001 name=/usr/lib/oracle/xe/oradata/XE/system.dbf
input datafile fno=00009 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_log01.dbf
input datafile fno=00010 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_lrg01.dbf
input datafile fno=00002 name=/usr/lib/oracle/xe/oradata/XE/undo.dbf
input datafile fno=00004 name=/usr/lib/oracle/xe/oradata/XE/users.dbf
input datafile fno=00008 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_sml01.dbf
input datafile fno=00012 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_sml01.dbf
input datafile fno=00011 name=/usr/lib/oracle/xe/oradata/XE/ftress_indx_mdm01.dbf
input datafile fno=00007 name=/usr/lib/oracle/xe/oradata/XE/ftress_data_mdm01.dbf
channel ORA_DISK_1: starting piece 1 at 06-JUL-11
channel ORA_DISK_1: finished piece 1 at 06-JUL-11
piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T155057_718dw649_.bkp tag=TAG20110706T155057 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
Finished backup at 06-JUL-11
Starting Control File and SPFILE Autobackup at 06-JUL-11
piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755797849_718dwofy_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 06-JUL-11
RMAN> configure controlfile autobackup off;
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
new RMAN configuration parameters are successfully stored
RMAN> alter database open;
database opened
RMAN> delete noprompt obsolete;
RMAN retention policy will be applied to the command
RMAN retention policy is set to redundancy 2
using channel ORA_DISK_1
Deleting the following obsolete backups and copies:
Type Key Completion Time Filename/Handle
Backup Set 3 06-JUL-11
Backup Piece 3 06-JUL-11 /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T133443_7184wr4d_.bkp
Backup Set 4 06-JUL-11
Backup Piece 4 06-JUL-11 /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755789675_7184x7fp_.bkp
deleted backup piece
backup piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/2011_07_06/o1_mf_nnndf_TAG20110706T133443_7184wr4d_.bkp recid=3 stamp=755789684
deleted backup piece
backup piece handle=/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/autobackup/2011_07_06/o1_mf_s_755789675_7184x7fp_.bkp recid=4 stamp=755789699
Deleted 2 objects
RMAN>
Recovery Manager complete.
RMAN error: See log for details.I think it is trying to overwrite exiting file. Either give a different name or cleanup the files in preferred location.
-
10g Physical Standby to be used for Backup through RMAN
Dear All,
I have 10g Database Primary and Standby Server which is operating in Maximum Performance Mode. I want to use Standby Database for performing Weekly Full and Daily Incremental Backups through RMAN. Kindly inform me is it possible, if yes how should I configure it. I will also be using Compression and Encryption while performing backups.
Best Regards,
AsifYes, that is possible.
Because the standby databases are in mount mode, they can be accessed through the SYS account .
I use the following RMAN script for the same purpose. Please note that we have configure the flashback area, so we are not letting RMAN delete the archive files:
run {
sql 'alter system archive log current';
sql 'alter system archive log current';
allocate channel ch1 type 'sbt_tape' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
backup
incremental level 0
tag full_bk_db_webshop
format 'df_%d_t%t_s%s_p%p'
(database include current controlfile);
backup archivelog all;
This script is for a FULL backup ( level 0 ). You could also use the "backup full" command
You can easily change the level of the Backup for incremental purposes.
Starting RMAN - if configured correctly - is the same as with an open database
export ORACLE_SID=<STDBYSID>
rman target / rcvcat <rman/rman>@<catalogsid>
the user for, and the catalogsid are merely examples
Edited by: fjfranken on Mar 24, 2009 4:07 AM -
Unable to Extend The Tablespace through Brtools
Hello Guru's
In Our Production Server we are not able to extend table space through BRtools while performing table space extend i am facing this error, please give me the solution so that this error is going to rectified
i am attaching the log for your reference :
BR0280I BRTOOLS time stamp: 2007-06-19 11.18.57
BR0657I Input menu 81 - please check/enter input values
BRSPACE options for tablespace extension
1 - BRSPACE profile (profile) ...... [initPBW.sap]
2 - Database user/password (user) .. [/]
3 ~ Tablespace name (tablespace) ... [PSAPODSD]
4 - Confirmation mode (confirm) .... [yes]
5 - Scrolling line count (scroll) .. [20]
6 - Message language (language) .... [E]
7 - BRSPACE command line (command) . [-p initPBW.sap -s 20 -l E -f tsextend -t
PSAPODSD]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
c
BR0280I BRTOOLS time stamp: 2007-06-19 11.19.02
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0291I BRSPACE will be started with options '-p initPBW.sap -s 20 -l E -f tsext
end -t PSAPODSD'
BR0280I BRTOOLS time stamp: 2007-06-19 11.19.02
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRTOOLS time stamp: 2007-06-19 11.19.05
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR1001I BRSPACE 7.00 (11)
BR0252E Function remove() failed for '/oracle/PBW/sapbackup/.user.pas' at locati
on global_set-5
BR0253E errno 13: Permission denied
BR0700E Fatal errors occurred - terminating processing...
BR1008I End of BRSPACE processing: sdvncsuh.log 2007-06-19 11.19.19
BR0280I BRSPACE time stamp: 2007-06-19 11.19.19
BR1007I BRSPACE terminated with errors
BR0292I Execution of BRSPACE finished with return code 3
BR0668I Warnings or errors occurred - you can continue to ignore them or go back
to repeat the last action
BR0280I BRTOOLS time stamp: 2007-06-19 11.19.19
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:Hi Shishir Bajpai
I have a problem it seems to be like the problem that you had! Tell me one thing, how can I know if I have permissions in brtools to extend a table space or for other tasks in there?
I have win 2003 server and Oracle 10.2.0.4!
I must to extend a set of table space on data base!!! Please help me how can I do that through br*tools!!
Best regards
João Dimas -
Reinstalling OSX: Will Time Machine read previous backup through interface?
Or will I only see backup through Finder?
Provided you are simply reinstalling Leopard on the same hardware and nothing else is changing (particularly your computer name in the sharing preference pane), Time Machine should be unaffected.
-
Hi guys.
I am new in oracle database.my database is in no archive mode
i want to take backup through RMAN .
rman target sys/oracle
backup database;
but fail to backup. please see error
ORA -19602: cannot backup or copy active file in noarchivelog modeEnable archiving in 10g
1. shutdown immediate;
2. edit init.ora set log_archive_start=TRUE /*Set this if your database is 9i. If 10g DB then ignore this step*/
3. startup mount;
4. alter database archivelog;
5. alter database flashback on; /*Not required to enable archiving. Just extra info to enable flashback logs*/
6. alter database open;
7. archive log list;
Now take backup
run
allocate channel ch1 type disk format '%D_%d_%t_%T_%s.bak';
backup database plus archivelog;
report obsolete;
delete noprompt obsolete;
crosscheck backupset;
crosscheck archivelog all;
resync catalog;
Sami Malik
[email protected] -
Hi there!
I am planning to implement an online backup using brtools. When I did the testing, I noticed an error that prevents me from completing the backup. Hope anybody can help me. It seems that there is an error with the compress command but I cant seem to understand why. Below is the entire log of my backup. Btw, Im using ECC6 and Oracle Database 10g.
Thanks in advance.
>>> TNVT - to host 172.16.0.5
su - e6padm
AMC-E6P-DB:e6padm 1> brtools
BR0651I BRTOOLS 7.00 (18)
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.45
BR0656I Choice menu 1 - please make a selection
BR*Tools main menu
1 = Instance management
2 - Space management
3 - Segment management
4 - Backup and database copy
5 - Restore and recovery
6 - Check and verification
7 - Database statistics
8 - Additional functions
9 - Exit program
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
4
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.50
BR0663I Your choice: '4'
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.50
BR0656I Choice menu 9 - please make a selection
Backup and database copy
1 = Database backup
2 - Archivelog backup
3 - Database copy
4 - Non-database backup
5 - Backup of database disk backup
6 - Verification of database backup
7 - Verification of archivelog backup
8 - Additional functions
9 - Reset program status
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
1
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.51
BR0663I Your choice: '1'
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.51
BR0657I Input menu 15 - please check/enter input values
BRBACKUP main options for backup and database copy
1 - BRBACKUP profile (profile) ....... [initE6P.sap]
2 - Backup device type (device) ...... [disk]
3 # Tape volumes for backup (volume) . []
4 # BACKINT/Mount profile (parfile) .. []
5 - Database user/password (user) .... [/]
6 - Backup type (type) ............... [online]
7 # Disk backup for backup (backup) .. [no]
8 # Delete disk backup (delete) ...... [no]
9 ~ Files for backup (mode) .......... [all]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
c
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.55
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.55
BR0657I Input menu 16 - please check/enter input values
Additional BRBACKUP options for backup and database copy
1 - Confirmation mode (confirm) ....... [yes]
2 - Query mode (query) ................ [no]
3 - Compression mode (compress) ....... [yes]
4 - Verification mode (verify) ........ [no]
5 - Fill-up previous backups (fillup) . [no]
6 - Parallel execution (execute) ...... [0]
7 - Additional output (output) ........ [no]
8 - Message language (language) ....... [E]
9 - BRBACKUP command line (command) ... [-p initE6P.sap -d disk -t online -m all -k yes -e 0 -l E]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR0662I Enter your choice:
c
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.59
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...
BR0291I BRBACKUP will be started with options '-p initE6P.sap -d disk -t online -m all -k yes -e 0 -l E'
BR0280I BRTOOLS time stamp: 2008-10-26 00.32.59
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRTOOLS time stamp: 2008-10-26 00.33.00
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0051I BRBACKUP 7.00 (18)
BR0055I Start of database backup: bdzcoptc.and 2008-10-26 00.33.00
BR0477I Oracle pfile /oracle/E6P/102_64/dbs/initE6P.ora created from spfile /oracle/E6P/102_64/dbs/spfileE6P.ora
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.01
BR0319I Control file copy created: /oracle/E6P/sapbackup/cntrlE6P.dbf 18268160
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.02
BR0057I Backup of database: E6P
BR0058I BRBACKUP action ID: bdzcoptc
BR0059I BRBACKUP function ID: and
BR0110I Backup mode: ALL
BR0077I Database file for backup: /oracle/E6P/sapbackup/cntrlE6P.dbf
BR0061I 44 files found for backup, total size 178457.758 MB
BR0143I Backup type: online
BR0111I Files will be compressed
BR0130I Backup device type: disk
BR0106I Files will be saved on disk in directory: /installer/backup/E6P/bdzcoptc
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.02
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
c
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.03
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0370I Directory /installer/backup/E6P/bdzcoptc created
BR0370I Directory /installer/backup/E6P/E6P created
BR0202I Saving init_ora
BR0203I to /installer/backup/E6P/E6P ...
BR0202I Saving /oracle/E6P/102_64/dbs/initE6P.sap
BR0203I to /installer/backup/E6P/E6P ...
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.03
BR0198I Profiles saved successfully
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.04
BR0315I 'Alter tablespace PSAPSR3 begin backup' successful
BR0201I Compressing /oracle/E6P/sapdata1/sr3_1/sr3.data1
BR0203I to /installer/backup/E6P/bdzcoptc/sr3.data1.Z ...
BR0278E Command output of 'LANG=C compress -c /oracle/E6P/sapdata1/sr3_1/sr3.data1 > /installer/backup/E6P/bdzcoptc/sr3.data1.Z':
/oracle/E6P/sapdata1/sr3_1/sr3.data1: Invalid argument
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.04
BR0279E Return code from 'LANG=C compress -c /oracle/E6P/sapdata1/sr3_1/sr3.data1 > /installer/backup/E6P/bdzcoptc/sr3.data1.Z': 1
BR0224E Compressing /oracle/E6P/sapdata1/sr3_1/sr3.data1 to /installer/backup/E6P/bdzcoptc/sr3.data1.Z failed due to previous errors
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.07
BR0317I 'Alter tablespace PSAPSR3 end backup' successful
BR0056I End of database backup: bdzcoptc.and 2008-10-26 00.33.04
BR0280I BRBACKUP time stamp: 2008-10-26 00.33.08
BR0054I BRBACKUP terminated with errors
BR0292I Execution of BRBACKUP finished with return code 5
BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action
BR0280I BRTOOLS time stamp: 2008-10-26 00.33.08
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
s
BR0280I BRTOOLS time stamp: 2008-10-26 00.33.12
BR0257I Your reply: 's'
BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:
y
BR0280I BRTOOLS time stamp: 2008-10-26 00.33.13
BR0257I Your reply: 'y'
BR0260E BRTOOLS cancelled by user
BR0280I BRTOOLS time stamp: 2008-10-26 00.33.13
BR0654I BRTOOLS terminated with errors
AMC-E6P-DB:e6padm 2> exit
AMC-E6P-DB:e6padm 3> logout
>>>Closing capture file.Hi Scott,
Thank you for the quick reply. However, I have another thing to bring up. I created an exact replica of this instance to a separate server for my online backup testing. I used mksysb for my rootvg and created a backup of my datavg and restored it to the new server. To my surprise, my online backup worked. Im currently running it so that I can upload the log in this thread. I checked on the version of the brtools and they are both of the same level. Also, I forgot to mention that I've been using offline backup via brtools since last year. It was only now that Im trying to implement an online backup. Would this problem still be caused by brarchive patch 18?
Thanks in advance! -
Transaction log backup through SQL Server Management studio
Dear All,
I need to configure transaction log backup through SQL server management studio.
It is already being configured for our PRO server(not by me) and now I want to configure it for DEV server.
In PRO I am taking it through(SID/right click/task/backup)
Then under backup type only full and differential option is coming for DEV.
Whereas for PRO all three(full/differential/transaction log) is coming.
Please suggest how to do it for DEV.
helpful suggestion will be duly rewarded.
Regards,
AshutoshHi,
Just go to the database you want
right click then properties then options
then set recovery model to full.
Hope this helps .
Regards,
Vamshi. -
Database reorganization through BRtools
Hi All,
Can you please tell me the procedure how to reorganise the total database using BRTools.
i have gone through the 646681note.
can you please provide me the steps how to do through brtools.i have seen the above link ,but i cann ot find how to mention all the table spaces names.
can you tell me how to reorganise total database .
You cannot reorganise all the tablespaces in the same way.
System tablespace for example will need a special treatment. And most probably there will be no need to reorganise it.
But anyway, have a look at
SAP Note 748434 - New BRSPACE function "dbcreate" - recreate database
Maybe you are looking for
-
Error -107438895​7 occurred at Open DeviceNet Interface.​vi
I keep getting the following error message Error -1074388957 occurred at Open DeviceNet Interface.vi Possible reason(s): NI-CAN: (Hex 0xBFF62023) The Interface is invalid or unknown. Solution: Verify that the interface is assigned to a specific port
-
Problem with CALL TRANSACTION SKIP FIRST SCREEN
Hi Experts, I am having a functionality where in if i click the hotspot i go the specified transaction..I am able to do that using -- CALL TRANSACTION 'CAA3' AND SKIP FIRST SCREEN Now if i press the back button on the standard transaction i am coming
-
The Keiser M3i and the Concept 2 Rowing Ergometer feature BLE but are not recognized natively on the iPhone's bluetooth menu Is there a chance of this being changed on an update of IOS?
-
Bootcamp on tiger in a post beta world
A few days back the public beta program for bootcamp ended and leapord (with bootcamp built in) was announced. Starting from scratch on tiger (I do not have any previous bootcamp intalls or downloads), is there a way to run bootcamp on tiger today? I
-
Help about location based classes
Helo. i need some help about location classes(i use J2ME). i want to develop a gps compass application. when i connected to gps, orientation is shown on a compass.(for example if i go to northeast direction, compass indicator shows the direction betw