issue in restoring with RMAN
HelloAlthough I m capable of TABLESPACE RESTORE with RMAN, it seems that the Tablespace does not shows replaced and still the same status.
Below is the command that I used to restore the Tablespace.
run
{allocate channel t1 type 'sbt_tape' parms
"ENV = (TDPO_OPTFILE = C:\Program Files\Tivoli\TSM\AgentOBA64\tdpo.opt
DSMI_ORC_CONFIG = C:\Program Files\Tivoli\TSM\AgentOBA64\dsm.opt)';
SQL 'ALTER TABLESPACE TESTDTAT TEMPORARY OFFLINE. "
set the destination archivelog to 'C:\ora\temp\arcl_restore ';
RESTORE THE TESTDTAT TABLESPACE;
RECOVER TABLESPACE TESTDTAT;
SQL 'ALTER TABLESPACE TESTDTAT ONLINE;
output channel t1;
}
You make a full recovery - c. - d. Re-sync tablespace "TESTDTAT" at the time current . All changes in TESTDTAT can be read in HIM.
Tags: Database
Similar Questions
-
I had taken the backup backup1 say three times after a few backup2 transactions and a few backup3 with RMAN operations. RMAN without a catalog
Now, we want to recover the database using backup1.
provides the steps to recover the database using backup1http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10643/rcmsynta009.htm#CHDEBBHI
Aman...
-
Hi all
I am very new to oracle and I wanted to know if I have a backup rman complete level 0 (with archiving log) that I took today (09/02/2012-13:00 pm cst)...
and now the question is...
is it still possible or oracle is able to make me back off let say 2 days back with just my backup I took 2 days? .. .but remember, I don't have that level 0 backup that I took today... lets say I am on version 11.2.0.1
My understanding of rman, I can only go back until 09/02/2012-13:00 CST? or can I go back let said 07/02/2012 13:00 CST?In your case only RMAN cannot go back back data. You would need to have the old backups who when needed and/or have flasback enabled database (http://docs.oracle.com/cd/E11882_01/backup.112/e10642/flashdb.htm#BRADV180).
-
With RMAN 11 g to save itself good or bad?
Technically it is a good idea to back up the server backup-database (database of RMAN with catalogue) with RMAN or is it better to take a cold backup of your RMAN database with the catalog of all your databases that are stored on the catalog rman one database?
My thoughts are that it is better to take a cold backup of the RMAN catalog database or take an export of the database of RMAN catalog. Please share your point of view. Thank youHello
The easiest would be to create two databases of catalogue and half of you, the databases put in #1 and the other half in #2.
To use the catalogue #1 as a repository for the backup of the catalog #2 and vv.Another option would be to turn on controlfile autobackup (always a good idea) and use this file in case you need to restore with rman catalog
Kind regards
Tycho
-
How to restore backup rman to the new host with the structure of the various files on windows?
Here are the steps that I follow...
1 oradim create new instance
2 startup nomount pfile = 'C:\inittest.ora'
3. restore conrolfile of 'c:\name.bak '.
I found this file control point to the oradata folder as directed by the original host
4. Alter database mount
Mounted DB.
5 restore database completed with error
switch to the previous backup
RMAN-00571: ==================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ==================================================
RMAN-03002: failure of the restore command at the 12:17:55 08/12/2014
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of the file 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
So, it is possible to restore and recover the rman backup to the new host with the structure of different file...?
Hello
Try to rename the log file to roll forward online to the desired path on the destination server, and then open with resetlogs.
SQL > alter database file rename ' G:\APP\ORADATA\HOOP\REDO01. JOURNAL "to"
"; Kind regards
Shivananda
-
restore user managed with RMAN backup hot
Is it possible to restore hot backup with RMAN user managed and recover the database?
What is use of command RMAN CATALOG?
Oracle doc said: [http://docs.oracle.com/cd/B14117_01/server.101/b10770/rcmsynta11.htm#79814]
(1) order catalog added a copy of the data file information, archived redo log or copy of control in the repository files.
(2) add metadata to a copy of the data file managed by users, copy of control files, archived log or backup piece to the RMAN Repository.
After using the 'CATALOGUE' to add metadata to managed backup in the catalog of recovery and after having made "RESYNC CATALOG", I still don't see my backup listed in the output of
RMAN > list backup
Published by: Gaurav Mhatre on April 23, 2013 10:35Gaurav Mhatre says:
After using the 'CATALOGUE' to add metadata to managed backup in the catalog of recovery and after having made "RESYNC CATALOG", I still don't see my backup listed in the output ofRMAN > list backup
backup of the list won't show you the results.your not done backup with rman directly taken by data copy.so file
RMAN > list copy;
above cmd will show that you have desired results check it out.
-
Restoration of RMAN of the CARS to single Instance on another node with dif NAME DB
Hi all
We intend to make RMAN RESTORE on the test server, taking the RMAN backup to disk of the production server.
Production server configuration:
---------------------------------------------
NAME: genprod
CARS: 2 node RAC.
OPERATING SYSTEM: IBM AIX 6.1
DATABASE VERSION: 10.2.0.4
Test server configuration:
---------------------------------------
NAME: miguat
CARS: 2 node RAC.
OPERATING SYSTEM: IBM AIX 6.1
DATABASE VERSION: 11.2.0.3
How do RESTORE RMAN of the CARS to single Instance on another node with NAME DB different...
My production database name was "GENPROD"... my test server database has been 'MIGUAT '.
When I do the restoration, I get the following error:
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 06/08/2012 13:22:11
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of the file 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
Please help me with this...
Kind regards
VAMSi...Hello
You can take a look at http://taliphakanozturken.wordpress.com/2012/07/20/how-to-restore-10g-rman-backup-to-11g/
You will need to change the name of db only after the database was opened after the upgrade and other steps.
Anand
-
How to restore the tablespaces only 4 while cloning with RMAN?
Hello
How to restore the tablespaces only 4 not all areas of storage in one database to the new database of cloned all cloning with RMAN?I don't think it's possible to restore only 4 storage space for the database 'auxiliary '. Instead, you can use the "SKIP TABLESPACE" cloning while clause.
You can exclude the tablespaces that you don't want the database duplicate with the SKIP TABLESPACE clause. You can exclude any tablespace except the SYSTEM tablespace or tablespaces containing rollback or undo segments.
Refer to this http://docs.oracle.com/cd/B14117_01/server.101/b10770/rcmsynta28.htm
-
Problem creating physical standby with RMAN
Hi guru
Perhaps this impact that all face you when creating physical standby DB. I'm trying to create a physical standby database Using RMAN double order a server
(pri machine) machine on standby.
Here are the steps I followed to create the above:
Step 1:-activate forced logging
SQL > ALTER DATABASE FORCE LOGGING;
Step 2:-set up a standby Redo Log
SQL > ALTER DATABASE ADD STANDBY LOGFILE GROUP 10
2 > ('/ oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500 M;
Step 3:-set the parameters of primary database initialization
SQL > create pfile='?/dbs/pfileorcl.ora' of spfile;
Edit the pfile to add the sleep settings, shown here:
db_unique_name = "orcl".
LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (ORCL, orcldr)'
LOG_ARCHIVE_DEST_2 = "SERVICE = orcldr LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = orcldr'"
* .fal_server = orcldr
* .fal_client = orcl
* .standby_file_management = auto
Step 4:-activate archiving
SQL > SHUTDOWN IMMEDIATE;
SQL > STARTUP MOUNT;
SQL > ALTER DATABASE ARCHIVELOG;
SQL > ALTER DATABASE OPEN;
Step 5:-tnsnames for eve of the configuration database
This should be done on the primary database to edit tnsnames.ora or using the command NetCA and create by the name orcldr
orcldr =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcldr)
)
)
Step 6:-backup of database and copy it to standby mode
This backup script must be run on primary and copied to sleep on the same mount point, run these scripts with RMAN, all files in /rman_backup need to be copied in /rman_backup on the standby server.
$rman target.
RMAN > run
{
allocate channel c1 type disk;
allocate channel c2 type disk;
backup of database format ' / rman_backup/%U';
ARCHIVELOG backup all the format ' / rman_backup %U ';
backup current controlfile to Eve format ' / rman_backup/%U';
}
Step 7:-availability of measures database
Installation of Oracle software
This should be the same version and patch group with exactly same ORACLE_HOME mount point.
Commissioning of the listener
Create and start a listener on the database of sleep by using NetCA, or create listener.ora in $ORACLE_HOME/network/admin
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))
)
Step 8:-set of backup database initialization parameters
Copy the pfile file created in the database primary it renames in initorcldr.ora and change these settings:
db_unique_name = "orcldr".
LOG_ARCHIVE_CONFIG = 'DG_CONFIG = (orcldr, ORCL)'
LOG_ARCHIVE_DEST_2 = "SERVICE = orcl LGWR ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = orcl'"
* .fal_server = orcl
* .fal_client = orcldr
*. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
Step 9:-installation tnsnames for the primary database
This should be done on the pending change tnsnames.ora or using the command NetCA database and create it in the name orcl
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = primary-svr)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
Step 10:-copy a password file
A password file must be created on the primary and copied to the standby site. The sys password must be the same on both sites. Copy orapworcl in $ORACLE_HOME/dbs and rename the file in orapworcldr
Step 11:-create for Oracle mount points
Mount point must be created on the standby server with the same convention used in primary education, which includes the location for controlfiles, redo logs, data files, destination of the newspaper Archives and alert logs.
$ mkdir Pei/u01/app/oracle/oradata/orcl /.
$ mkdir Pei/u01/app/oracle/flash_recovery_area /.
$ mkdir Pei/u01/app/oracle/admin/orcl/adump
$ mkdir Pei/u01/app/oracle/admin/orcl/bdump
$ mkdir Pei/u01/app/oracle/admin/orcl/cdump
$ mkdir Pei/u01/app/oracle/admin/orcl/udump
Step 12:-use RMAN to restore the backup and standby configuration
Connecting to RMAN and run the following command to create the database pending, this must be performed on the standby server after the backup copy and the tnsnames parameter.
$ export ORACLE_SID = orcldr
$ rman target sys/tiger@orcl auxiliary sys/tiger@orcldr
RMAN > target double standby database dorecover;
Here, I'm getting problem such as:
While he was trying to connect to databases traget and auxiliary, I noticed that when RMAN is connected across the two databases it shows
ORCL (DBID xyz)
ORCL (unmounted)
Here, in my opinion the second database must be the name of the standby database or auxiiary db name is Eve db which is orcldr in my case
After this issue, I am faced with the second issues such as:
in command
target double standby database dorecover;
After you change the command to
RMAN > duplicate target database "sleep."
RMAN-05520 database name mismatch
Can u please let me know where I can be wrong
Finally I have the problem after all this googling and thinking the same thing.
Thanks to you all
-
Is it possible backup 11g r1 DB and Recover to12c r1 with RMAN?
I'm trying to save the old server to the new.
Is it compatible to migrate Database 11.1.0.6 to 12.1.0.2 with RMAN?
RMAN restore and recover a previous version of backups. See the compatibility matrix RMAN to https://docs.oracle.com/database/121/RCMRF/compat.htm#RCMRF1949
All output data base Oracle can restore backup sets and copies created by any prior release of Oracle Database.
However, in order to open a database, the data must match the version of the Oracle binaries. If you restore and recover a previous version of the database, you will need to update database permission to open it.
RMAN cannot upgrade and migrate a database, but you can use the wizard for DBUA do. I suggest that you only consider this document showing your upgrade options:
http://www.Oracle.com/technetwork/database/upgrade/upgrading-Oracle-database-WP-12C-1896123.PDF
Unfortunately, there is no way to upgrade direct 11.1.0.6 12.1 and you must upgrade the database to 11.1.0.7 first before restoring it. Other options, see the link above.
-
Is it possible backup backupset with rman sbt on disk
Hello
We backup data base of sbt with rman and nmda library (networker).
We want to copy the disk sbt backupset. Is this possible?
Kind regards
William
I remember that this is not possible. It was perhaps possible to redraw the rman backup and restore concepts, but there is probably no real business applications. Remember that a band or an sbt (series tape backup) is a streaming device. You can read from tape or write about a band, but you can't read and write in the same band at the same time. What syntax would you choose to perform an rman backup from tape to disk or tape to tape? Rman backup you can specify a peripheral channel of exit and entry for the use of the restore command. As far as I know, the rman backup source is the database control file and it reads no Ribbon.
-
Refresh the production database to test the database with RMAN
Hi experts,
I want to refresh the production database to test the database with RMAN. You can help me please how to do this.
I saw a lot of blog on the internet but not got a satisfactory answer.
Reg,
Thomas verrma
Thomas
Follow these steps
1. on the server target
a. Add entry in oratab
b. create init.ora for target db copy of source
c. If you use catalog
connect to the RMAN catalog, you can use the double option to clone run below
one.
RMAN > Connect target sys /
@trgt RMAN > Connect Catalog rman /
@catalog b. check that the backup connects to the source and to collect information on the elements of backup that contains the backup controlfile
c. restore the controlfile
RMAN > set DBID = xxxxxxxx (DBID of the source db)
RMAN > run
{
allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =
-
ORA-25408: can not read the appeal during a duplicate backup with rman catalog database safely
Hello
I did a database duplicate backup with rman catalog connection and got the ORA-25408: cannot read error call safely.
The catalog database is running in a Data Guard environment.
During the double process database failover occurred because of a server restart.
The restore of the data files was successful:
RMAN-08023: channel t1: restored the backup part 1
RMAN-08180: channel t1: restoration complete, duration: 00:01:15
RMAN-03091: finished the restoration at 27.08.2014 09:27:10
During execution of script memory:
RMAN-08161: content of the Script from memory:
{
switch from clone datafile;
}
RMAN-08162: execution of Script memory
I got this error:
RMAN-08162: execution of Script memory
RMAN-08031: output channel: t1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 27/08/2014 09:27:10
RMAN-05501: abandonment of duplicate target database
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06004: ORACLE recovery catalog database error: ORA-25408: cannot read safely call
Dual boot time: 16:00
Failover time: 18:00
Error time: 09:00 the next day
DB version: 11.2.0.4.0, not the RAC environment, single instances
That's happened? My My db catalog rman session did not survive? Why the error happened at 09:00 (and not 17:00)? Why the session called the catalog rman during switching of the data files?
Can someone explain it to me?
Thank you!
Hello
The connection of the RMAN catalog remains inactive during the backup/restore process, once rman completes the task and try to activate the connection it gets error.
What is expected as you said the rebooted server. If this happens because of the expiration time, we went with the parameter net expire_time to maintain the connection.
Thank you
Bigot
-
How to make a backup of the database with RMAN Oracle Single Instance
People,
Hello. I use the server of Oracle 11 GR 1 material with operating system Oracle Linux 5.10 database.
I understand how to back up the database instance in SQL Server with Windows. But do not really understand how to back up the database instance in Oracle on Linux.
I did it cold and hot backup for the database HRCS90 instance, but both receive the same error message.
Cold backup is below:SQL > startup
ORACLE instance started.Total System Global Area 538677248 bytes
Bytes of size 2146024 fixed
528482584 variable size bytes
4194304 buffers of data bytes
Redo buffers 3854336 bytes
Mounted database.
Open database.
SQL > shutdown immediate
The database is closed.
The database is dismounted.
ORACLE instance stops.
RMAN > backup database;From backup 25 November 13
using the control file of the target instead of recovery catalog database
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup command to the 25/11/2013 14:26:52
RMAN-06171: not connected to the target database
RMAN > backup HRCS90RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, as, backup backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, basic data, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, strength, file, incremental, keep, (, maxsetsize nochecksum, noexclude, nokeep, not, proxy, pool, re-use, recovery, section, skip). ', spfile, skip readonly, setsize, tablespace, tag to validate.
RMAN-01008: the identifier of the AfDB was: HRCS90
RMAN-01007: line 1 column 8 file: entry standard
RMAN > backup database HRCS90RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-00558: error occurred during parsing of order entry
RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, backupset channel, copy, controlfilecopy, backup, common, base data, data file, datafilecopy, remove, diskratio, db_recovery_file_dest, filesperset, format, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, more reuse, recovery, section, skip, spfile, pass readonly, setsize, tablespace, tag, to).
RMAN-01008: the identifier of the AfDB was: HRCS90
RMAN-01007: line 1 column 17 file: entry standardWhile the instance of database HRCS90 is starting, I do hot backup by using the same commands and get the same error message with above cold backup.
My question is:
Can any folk tell me specific steps (order by order) to back up a single instance of the database in Oracle with RMAN?
Thank you.Yes, you can restore and recover the backup, but not at the moment. You will only be able to restore and recover at the time of your backup.
For example.
If you take backup (mount point with no mode of journal archive) at 06:00 and your grave database crashes at 21:00, you will be able to restore and recover until 06:00. You will find all the changes made to the database between 06:00 and 21:00.
If you want your database to recover until 9 PM or until a point in time, then you must put your database in log mode archive, and then save the archives.
-
Restore the RMAN backup on another server
Hello
ENV: Oracle 10 g 2 64 bit, RHEL 5.8 64 bit on ASM, Database size = ~ 1.3 to
Backup RMAN of PROD will FRA and then backed up to tape. I have limited access to the PROD because it is maintained by 3rd party.
My client is planning to move this database on their own datacenter (from the 3rd party data center). For test purposes, I asked DBA of 3rd party to provide us with an export of drawings required data pump. Export takes about 8 hours, and the import takes the same time to the new location. To copy the files exported to new locations takes another few hours (over the network). The total size of the dump file is around 500 GB. Thus, a whole cycle of Export-Import-copy takes about ~ 20 + Hrs.
I want to try another option to reduce the time required for the updating of the database of PROD and which is "use RMAN backup of PROD ' and restore it on the data center server. RMAN full backup takes ~ 4hrs PROD and the restoration should be at the same time (new server has better and faster HW, storage with a SSD). I found this thread very useful on the Oracle Forms on this topic:
Restore backup RMAN on another server
This thread contains very good example for a restoration of database on the file system.
I have a bit of confusion because my database uses ASM. The default location of the backups in PROD is FRA (on ASM == > db_recovery_file_dest = + FRA ). If I understand correctly, the RMAN backup must be in the same place where he was on the PROD Server - i.e. the diskgroup FRA.
If I get a copy of the part 3 RMAN backup, how would I copy on FRA?
OR can / should I just change the init parameter "db_recovery_file_dest" on the new server to point to the file system directory where the backup (say "/ ora_backup") and RMAN will pick up and restore the database?
Please advise!
Best regards
You can restore the backup files to any location, then you must configure the channel using the "CONFIGURE CHANNEL device type disk format 'new location ';
This thread will help
Restore from a different location from the original location of RMAN backup
Maybe you are looking for
-
This text message is a scam?
I received the following message on my phone. Is it a scam? Your identifier Apple has been temporarily suspended until we can validate your details on file. Update your details here. bit. * / au-apple < link published by host >
-
Premiere page do not disappear after the first run
I just installed the latest firefox (9.0.1) and as usual, the first immediate window rises, explaining my rights etc. It is fine and normal. My problem is that no matter how many times I reboot my computer or browser, this first run page does NOT go
-
Two friends send us e-mail, they go in the trash, why?
What's wrong
-
Vista Snipping Tool SUPER SLOW opening
I have Vista Home Premium OS. The cutting tool is SUPER SLOW to open. It's my 2nd computer with the tool... the other was faster and open quickly. This takes a 60 - 65 seconds to open no. no matter what program I'm trying to snip from. The first t
-
Bike constantly, the power display "49 service error - turn off the power, then press ' on-screen before stopping.For this printer only when it is connected to the network. Quite happy to sit quietly when printer NOT connected to the network.