with rman for cloning
Hello
Could someone help me please with the steps necessary to use RMAN to clone a database 11g A on HostA to database B on HostB?
Or you could point me to an article that would give me the steps?
Thank you.
Hello
You can check this http://gavinsoorma.com/2013/07/restore-rman-backup-to-another-server-for-testing-disaster-recovery-procedures-as-well-as-for-cloning/
HTH
Tags: Database
Similar Questions
-
With RMAN for backup, but not with the archive logs
We run a 10.2.0.4 database and the rest 11.2.0.3. All databases are on RHEL 5.7.
Our backups are via RMAN, with the data files, controlfiles and spfile saved to disk, then each day, it is copied off site to a backup server.
My question is around logs archiving and RMAN.
Our current situation is:
-We do not save the logs to archive via RMAN. for example: backup of the list of the archivelog all; gives "specification does not match backups in the repository.
-We set the archive_lag_target so archiving logs is produced every 30 minutes.
-a cron job running on a remote server runs periodically to synchronize data (rsync server) the directory of archives with a remote control.
-daily archive logs on the server host are bzip. Purge of these newspapers is scheduled for more than 3 days rman 'window of recovery '.
I'm interested in feedback as to if our strategy around archiving logs is correct or not.
Should we be backup logs archiving via RMAN? Are there potential problems with our approach?
We just kept our backups in this way the DBA in the past want to see newspapers archived as opposed to it while a backupset.
Curious to know what others are doing.Hello
Welcome to OTN!
Archivelogs with RMAN backup is a better option. When the archives are supported by RMAN, RMAN would be aware of the backup items which are required at the time of the recovery archives. You don't have to do it manually.
On the disk space, you can delete the archives once they were saved by RMAN.
RMAN > delete any backup archivelog entry;
This supports the archivelogs and then remove the archives from the disk.
If you have a dataguard configured, you can set the deletion policy 'applied on Eve', which removes the archives as and when they are applied to the database ensures there by the management of disk space again.
RMAN > configure archivelog political of deletion to applied pending;
-
Dear all,
db_version: 10.2.0.4
OS_Version:window 2003 Server
Environment: Test
I want to perform cold backup with RMAN for the same thing I want to know the following:
1. What is the script / command?
2. how to completely restore a cold backup (ex:-if I lost all my data, redo and archive)
3. is it compulsory to open the database in mode RESETLOG after recovery (since I was a backup to cold)?
Thanks in advanceA backup 'Cold' is called a 'Cohérent' backup
See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup003.htm#sthref297Backup:
From the RMAN command line:SHUTDOWN IMMEDIATE STARTUP MOUNT BACKUP DATABASE BACKUP CURRENT CONTROLFILE -- to get the controlfile in a separate backupset
Restoration:
STARTUP MOUNT RESTORE DATABASE ALTER DATABASE OPEN
If you use a SPFILE, you can have a backup SPFILE included automatically with the backupset controlfile with CONFIGURE CONTROLFILE AUTOBACKUP on and CONFIGURE CONTROLFILE AUTOBACKUP FORMAT...
Read the documentation.
Hemant K Collette
-
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
-
Hello
I do applications 11i cloning with rapidclone.
I cloned the database with RMAN.
According to the metalink notes 230672.1 I have to run after the script on node DB.
Perl adcfgclone.pl dbconfig < context target file >
However I do not have the file of context for the new instance.
Do I have to copy the file from the source instance context (for DB), rename it and use it?
If I run the adcfgclone.pl using the context file of source (present in the db target node) instance, it throws
Error connection to the base.
Platform - Oracle Ebusiness Suite 11.5.10 on Oracle enterprise Linux 4 and Oracle 9i database.
Pls advice.
Thank you
RaneHowever I do not have the file of context for the new instance.
Have you run 'perl adcfgclone.pl dbTechStack' before issuing 'perl adcfgclone.pl
dbconfig '? This should create the file of context for you. Do I have to copy the file from the source instance context (for DB), rename it and use it?
N °
If I run the adcfgclone.pl using the context file of source (present in the db target node) instance, it throws
Error connection to the base.This is an expected behavior given the context of the source node file cannot be used on the target node.
-
Cloning of Oracle database with RMAN
Hello dear colleagues,
I intend to clone my PROD database to create a database of emergency with RMAN, the situation in the present case, it is that I want to use the same db_name so create spfile scp to the target server, run a level 0 backup dB, create the same file structure as well, but I'm confused because when I connect to RMAN to perform cloning as you can see...
RMAN> connect auxiliary / connected to auxiliary database: prod1 (not mounted) RMAN> connect target sys/passprod1@prod1_ORI connected to target database: PROD1 (DBID=somenumber)
RMAN> run { allocate auxiliary channel c1 device type disk; allocate channel c2 device type disk; duplicate target database to 'prod1'; }
-Is it possible that crushes my source PROD1 database
-C' is ok, if I run the clone with the database of the source open with few users working? Even he will operate a backup, this will obviously have a performance impact but also the integrity of the data? I'm not sure what other files of this procedure will be used in clonning.
-Should I enter into channel c2 backup full path to the source server?
I enjoy any help and thanks in advance.
Documentation:
http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupdb.htm#i1008564
Backup the basic replication does not require the same password (file)
If duplication to a host remote and demanding that the same file names and paths created, then integrate the NOFILENAMECHECK.
Hemant K Collette
-
Cloning of a database from 3.5 to with RMAN
RDBMS version: 10gRel2
We have active 3.5 to database on solaris. We need to clone this DB to another machine. We can not stop the primary DB. Thus, the cold backup is out of the question.
We believe from a full backup of RMAN overnight. 05:00 early morning it will be done.
I reach Office only at 09:30. So, I need all the changes (logs archived) generated after 05:00 to apply on the DB newly created.
How you guys do this with RMAN, because backup control file in the full backup does not know about the Archives of logs generated after 05:00?Take the simple path: take a backup costs the controlfile (and all new ArchiveLogs) at 05:00 and copy the backup to the new server. Use this new backup controlfile.
Hemant K Collette
http://hemantoracledba.blogspot.com -
Cloning with RMAN on two different OS
DB version: 10 gr 2
Can I clone DB on AIX 5.3 with RMAN and re-create it in a Solaris machine (5.9)?Using transportable tablespaces.
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/tspaces.htm#i1007169
Read the link.
Concerning
Asif Kabir -
RMAN Active cloning succeeded, but spfile turned out to be missing
Environment:
OS Version: HP - UX B.11.31 U ia64
Oracle DB Version: 11.2.0.3.0
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
The files of the databases on: + managed ASM starts
RMAN Active cloning command below is used to clone the database from one 'A' host to another host 'B '.
Cloning completed successfully. But when I checked on the existence of spfile the missing found spfile.duplicate target database to testDB from active database nofilenamecheck ;
What could be the cause of the missing spfile?SQL> show parameter spfile NAME TYPE VALUE spfile string /app/oracle/product/11.2.0.3/db/dbs/spfiletestDB.ora
I have been informed below as a workaround.
1. create the spfile and pfile memory and bounce the db for this problem.
2 RMAN Active clone script specified with the clause pfile.
For example.
Would appreciate the counsel on this.duplicate target database to testDB from active database file=/app/oracle/product/11.2.0.3/db/dbs/inittestDB.ora;
Published by: Sivaprasad S January 31, 2013 17:13Hello;
What could be the cause of the missing spfile?
This:
duplicate target database to testDB from active database nofilenamecheck
Instead:
duplicate target database to testDB from active database spfile nofilenamecheck
See:
http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm
Example 23-3
Remember to close some of your old questions
Best regards
mseberg
-
HOW to clone the DATABASE with RMAN
Hello gurus,
I have a problem with RMAN, I'm trying to 'Cloning' an Oracle Instance with RMAN database and I have several errors, but I checkk all Forums and documentation
I have 2 servers in 10.2.1 in Solaris and other in 10.2.4 on Linux
And I'm running in my 1Mode of the server as follows:
RMAN
target connection.
connection Assistant sys/manager@TESTDB10_SITE2.world
run
{
allocate auxiliary channels ch1 type disk;
the value of newname for datafile 1 to ' / u02/oradata/EVTM/system/system01.dbf';
the value of newname for datafile 2 to ' / u02/oradata/EVTM/system/undotbs01.dbf';
the value of newname for datafile 3 to ' / u02/oradata/EVTM/system/sysaux01.dbf';
the value of newname for datafile 4 to ' / u01/oradata/EVTM/data/users01.dbf';
the value of newname for datafile 5 to ' / u01/oradata/EVTM/data/tbs_tpaper_data_01.dbf';
the value of newname for datafile 6 to ' / u03/oradata/EVTM/index/tbs_tpaper_idx.dbf';
the value of newname for datafile 8 to ' / u01/oradata/EVTM/data/users02.dbf';
the value of newname for datafile 7 to ' / u01/oradata/EVTM/data/perfstat_01.dbf';
the value of newname for datafile 9 to ' / u01/oradata/EVTM/data/tbs_evtm_quest01.dbf';
the value of newname for tempfile 1 to ' / u02/oradata/EVTM/system/temp01.dbf';
duplicate target database to EVTM PFILE = ' / u01/app/oracle/product/10.2/dbs/initEVTM.ora' nofilenamecheck
LOGFILE
Group 1 ('/ u01/oradata/EVTM/rdo/redo1m1.log',)
' / u01/oradata/EVTM/rdo/redo1m2.log',
U01/oradata/EVTM/RDO/redo1m3.log') SIZE the 51200 K,.
Group 2 ('/ u01/oradata/EVTM/rdo/redo2m1.log',)
' / u01/oradata/EVTM/rdo/redo2m2.log',
U01/oradata/EVTM/RDO/redo2m3.log') SIZE the 51200 K,.
Group 3 ('/ u01/oradata/EVTM/rdo/redo3m1.log',)
' / u01/oradata/EVTM/rdo/redo3m2.log',
U01/oradata/EVTM/RDO/redo3m3.log') SIZE the 51200 K;
}
and I get the error:
channel ch1: reading of the backup/backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1 element
ORA-19870: error reading backup total/backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1
ORA-19505: impossible to identify the file ' / backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1.
ORA-27037: unable to get file status
Linux-x86_64 error: 2: no such file or directory
Additional information: 3
switch to the previous backup
output channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 2009-10-29 16:08:29
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-06026: some targets not found - abandonment of restoration
RMAN-06023: no backup or copy of file 9 found to restore
RMAN-06023: no backup or copy of datafile 8 found to restore
RMAN-06023: no backup or copy of 7 found to restore
Question?
Is it possible to duplicate/clone of Soalris in Linux? :-)))))Is it possible to duplicate/clone of Soalris in Linux? :-)))))
You can not use the command DUPLICATE between platforms (see duplicate restrictions in the documentation). It is possible to perform a cross-platform via RMAN transport. This process is also explained in the documentation.
Werner
You have an additional complication, patch levels are different. Perhaps datapump here is a better solution - depending on the size of the database.
And I hope that Solaris on x 86-64 (no SPARC), otherwise the next complication.
Edited by: oradba October 29, 2009 16:53
Edited by: oradba October 29, 2009 16:55
-
Problems with MAC WET11 cloning features
Hello
I'm having a devil of a time to set up my v2 WET11 to allow my XBOX be fully connected. I can configure and connect the bridge, ping, ftp files to XBOX etc. Only problem is when I try to play bound. I can see the game in progress on the second XBOX but cannot participate. Related game works perfectly when Xbox is wired to the router. I know that play bound depends on each game console broadcasting their MAC, so I need to clone the MAC address of the XBOX to use the bridge.
Unfortunately the WET11 web configuration interface I cannot do. Under Settings/Advanced cloning Mode, all controls are disabled - greyed. This includes the control that allows you to turn on cloning. I took a shot the script behind the page and it seems that it checks to see if 'disable cloning' is selected and if so, disables all controls of cloning, including one that would allow me to get back on. Since the default value is disabled, it is the programmatic equivalent to lock the keys in the car. You can take a look at here emulated interface:
http://UI.Linksys.com/files/WET11/v2/advanced.html
Of course, the demo is fully functional and do not exhibit the problem...
Many people have described solve their XBOX related play questions by cloning the MAC address of the XBOX and see change settings using the web interface.
I tried different versions of the firmware 2.06 and 2.07, 2.08 USA 2.08 EU. Same results. Tried the Installer Wizard 1.06 worm, but he does not even include the MAC settings.
Had two cats different with online support agents and the two seem as puzzled as I am.
Am I missing something obvious? Depends on the availability of cloning parameters options elsewhere in the config utility? Is the interface designed for cloning taking place without intervention of the user on the v2 and v1? (doubt)
Has anyone else seen elsewhere?
I know that people have written code to pull the strings of parameters off the unit then maybe the reverse is true and I can write the script to directly change the settings.
Any suggestion would be appreciated.
Rick
Well well well - apparently the firmware is not totally compatible with IE7. Downloaded Firefox and the interface works as advertised.
Rick
-
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.
-
Hi experts. I know about backup of backup without rman example sets but I want to know is there a way to backup with rman backup sets.
Perhaps it works for your condition.
RMAN > backupset backup is complete before ' sysdate-1';
Kind regards
Shivananda
-
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 =
Maybe you are looking for
-
El Capitan mail app - the message body empty conversations
Hello I have this problem: Mac Mini end of 2012, El Capitan 10.11.4, Mail with POP3 and IMAP accounts 9.3 app mixed, Classic view (mailboxes on the left, the list of the top right of the mail messages, the body of the message below on the right). I h
-
HP Pavilion PC p2: black screen after log in
Hello My screen on my desktop turns black after login. I can still see the cursor. I hit ctrl alt del, went to Task Manager typed in rstrui to do a system restore. I went back a few months of restoration, but it did not work. The weird thing is so
-
changing default menu behavior
Hi all Is there a way to display a menu in the lower left corner of the screen? Reference to the api, there is an explanation that "Displays a menu in the upper right of the screen." on the behavior of the menu. However, for example, 8820 display men
-
I have download the 30-tial for Dreamweaver. Then I connected my html site to my host via SFTP. But I can't see my site online. I wanted to know if I need the full version.
-
Problem updating Mini 110-3500 2 GB RAM
A few days ago, I bought a HP Mini 110-3500 netbook (more precisely a 110-3538TU / LD928PA) and separately, I bought an upgrade to 2 gigabytes of RAM to another bank. So far I had been focused on the problems of screen resolution but tonight, I final