Can we take rman backup image copy to multiple location
Hi All,
We are planing to move database from old storage to new storage on the same server.
planing to use RMAN image copy to copy the db files from old storage to new storage and then switch database to copy.
Currently dbfiles are on /u01, /u02, /u03, /u04 and we are planing to move to new storage /u05, /u06/, /u07
Is there any way that i can copy all the dbfiles to /u05,/u06,/u07
Backup as copy database format '/u05
As i know i can move to single location. Is there any way copy to multiple location using image copy.
Please suggest.
Thanks
Hi
I will try the below command.
BACKUP AS COPY
DB_FILE_NAME_CONVERT ('/u01/..','/u05/...','/u02/...,','/u06/..')
database;
I believe this will work.
Thanks
Similar Messages
-
Hi all,
I have an oracle 9.2.0.7 database instance on SLES9 sp3 64bit. And RMAN backup is taken every day by one who is I dont know although I changed sys and system passwords. It seems that the backup is taken on local machine, doesn't it? I looked at v$session_longops view then I saw backup is taken SYS user. Anyone doesn't have RECOVERY_CATALOG_OWNER role. I looked at crontab of oracle and root users, then I looked at dba_jobs. But I dont see anything about rman backup anywhere. I wonder who takes RMAN backup on my system?
Regards
İlke ALTINPULLUKhi,
I sent one of my audit files. Then I looked at baandb machine's crontab but I didnt find anything. Then I looked at dba_jobs on baandb. I didnt find anything.
my audit files like follow:
Audit file /opt/oracle/oracle/product/9iR2/rdbms/audit/ora_27666.aud
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
ORACLE_HOME = /opt/oracle/oracle/product/9iR2
System name: Linux
Node name: baandb
Release: 2.6.5-7.244-smp
Version: #1 SMP Mon Dec 12 18:32:25 UTC 2005
Machine: x86_64
Instance name: gcam
Redo thread mounted by this instance: 1
Oracle process number: 22
Unix process pid: 27666, image: oracle@baandb (TNS V1-V3)
Thu Jan 13 01:05:50 2011
ACTION : 'CONNECT'
DATABASE USER: '/'
PRIVILEGE : SYSDBA
CLIENT USER: oracle
CLIENT TERMINAL:
STATUS: 0
Dear EJR; I didnt understand what you mean?
Edited by: ilke_altinpulluk on 20.Oca.2011 03:51 -
Is it possible to take RMAN Backup
Can anyone tell me whether we can take Rman Backup in Oracle 10g Express Editon.
Thanks in advance.hi,
Thanks for the reply.
I tried to take a rman backup and got this error:
Starting backup at 14-APR-08
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 04/14/2008 17:19:13
RMAN-03014: implicit resync of recovery catalog failed
RMAN-06171: not connected to target database
When tried to connect to target database this is what i got.
RMAN> connect target /;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-01031: insufficient privileges
Please help. Thanks in advance. -
How can I take a still image from a video?
How can I take a still image from a video?
I'll assume you want to create a still to use outside FCPX, not a still frame within FCPX. It's kinda hidden in the "share." Go File/Share/Add Destination. You want "Save Current Frame." After you've created that destination, it'll be there for you in the future under Share.
-
Hello,
I can't take export backup as it ends up with a message column name invalid.How to solve the problem. My database is on UNIXWARE 7.1.1 & Oracle8i.
D ROY
SHILLONG- INDIAcontent of the log file:
Connected to: Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
Export done in US7ASCII character set and US7ASCII NCHAR character set
About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
EXP-00008: ORACLE error 904 encountered
ORA-00904: invalid column name
EXP-00000: Export terminated unsuccessfully
Last line of the dmp files
CONNECT SYSTEM
EXECFULL DBMS_DISTRIBUTED_TRUST_ADMIN.allow_all;
CREATE SEQUENCE "AQ$_QIDSEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE
___________________________________ -
Can't take pictures with Image Capture - Canon Camera
I can't take pictures using Image Capture using either my Canon Power Shot A710IS or my husband's SD600. I can download pictures with both cameras, but if I switch to shooting mode, Image Capture says "No Image Capture Device Connected." I know it worked with my PowerShot A75, but my *&%$ son broke it.
Any help would be greatly appreciated!
KarenI would call (800) 828-4040 Canon Tech Support. I have found them very helpful, and its easier than typing here
-
Like to take rman backup files into some other machine
Dear all
I like to take Rman backup into some other machine rather than its default storage location $oracle_home/dbs in to some other machine..
While i ran database backup in rman it stores the file sets into default location $ORACLE_HOME/dbs ... I relocated in to some other drivers in same machine also.. I got work ... But due to space issue i would like to take backup into some other machine so its possible ? how to configure it...
Regards
GopinathGopiKrishna wrote:
Dear all
I like to take Rman backup into some other machine rather than its default storage location $oracle_home/dbs in to some other machine..
While i ran database backup in rman it stores the file sets into default location $ORACLE_HOME/dbs ... I relocated in to some other drivers in same machine also.. I got work ... But due to space issue i would like to take backup into some other machine so its possible ? how to configure it...
Regards
GopinathYou need to mount the second machine and take backup to that mount point
Kamran Agayev A.
Oracle ACE
My Oracle Video Tutorials - http://kamranagayev.com/oracle-video-tutorials/
My ebook - http://kamranagayev.com/2011/10/19/step-by-step-oracle-installation-all-in-one-e-book/ -
Need inputs on RMAN Backup n Recovery for multiple restore of clean backup
I will explain my scenario below:
We have the requirement of performance testing of our proposed production platform, for this i am asked to take RMAN backup of clean position (Say Day0 or baseline backup) and restore it multiple times for few rounds of testing. My question is after 1st restore (with set until time of day0 position) if i open the database with resetlogs, would i be able to restore same clean backup again? I am using control file in the environment instead of RMAN catalog database. What i can do to make this scenario work? I am already in preperation of setting rman catalog database.
Please suggest me the best way forward...
Many Thanks
NukeshHi Asif,
I tried to make it work but seems there are still issue with my recovery, can you have a look and point out the shortcommings. i am totally lost here
RMAN> list incarnation;
using target database control file instead of recovery catalog
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
1 1 MYTEST 2433328848 PARENT 1 19-DEC-06
2 2 MYTEST 2433328848 PARENT 564488 04-NOV-10
3 3 MYTEST 2433328848 CURRENT 693719 06-NOV-10
RMAN> exit
TEST1DB-> rman target sys@MYTEST1
Recovery Manager: Release 10.2.0.3.0 - Production on Sun Nov 7 11:43:01 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
target database Password:
connected to target database: MYTEST (DBID=2433328848, not open)
RMAN> reset database to incarnation 2;
using target database control file instead of recovery catalog
database reset to incarnation 2
RMAN> run {
2> restore database until scn 10000;
3> recover database until scn 10000;
4> alter database open resetlogs;
5> };
Starting restore at 07-NOV-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=191 instance=MYTEST1 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=190 instance=MYTEST1 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/07/2010 11:45:18
RMAN-20208: UNTIL CHANGE is before RESETLOGS change
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found ";": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, c onnect, copy, convert, create, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flashback, host, {, l ibrary, list, mount, open, print, quit, recover, register, release, replace, report, renormalize, reset, restore, resync, rm an, run, rpctest, set, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport, upgrade, unregister, va lidate"
RMAN-01007: at line 0 column 2 file: standard input
RMAN>
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rmanbackup/MYTEST/ora_cf%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanbackup/MYTEST/ora_df%t_s%s_s%p';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/10g/dbs/snapcf_MYTEST1.f'; # default
RMAN> exit
SQL> select name from v$database;
NAME
MYTEST
SQL> show parameter CONTROL_FILE_RECORD_KEEP_TIME
NAME TYPE VALUE
control_file_record_keep_time integer 7
SQL> -
Can I take a backup of a database in standby mode?
Can I run backup on a database that is in standby mode because it is the DR box receiving log shipping?
Does that work in SQL 2005? How about SQL 2000?
Thanks.
Josh
ps - I know I should just try it, I've already Googled it - with mixed results.https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=466121
Please allow backup of database in standby mode!
This comes up as a very common requirement in HA/DR planning. Logs are shipped over a (relatively) small pipe to a DR site, for days or weeks or months. As part of a (partial) failover plan, we need a full backup of a current version of the database to restore on another server on the DR side - but we cannot take the main DR (secondary) copy out of standby without breaking the log chain. Yes, we might have to pause the application of logs - or possibly not - in order to take the backup of a large-ish database. But the alternative is shipping a large backup all the way from production over that small pipe, which can be prohibitive.
Thanks for the reminder, Tibor.
Josh -
To take RMAN backup at multiple disk locations
Hi,
Can we configure RMAN to take backup of DB at more than one disk locations with CONFIGURE command.
Thanx.
Ashutosh.See Re: Setting backup on two different location
-
How to take RMAN backup through a single (default) channel
Sir,
In an interview I was asked a question that how can I allocate a single channel to multiple databases to take simultaneous backup. I was unanswer.
Pl. tell me if it is possible what will be the query with an example.
Regards
NeerajNo it's not at all possible to take backup of multiple database through the manually allocated channel.
Allocating the channel manually is only possible while running the commands in batch mode
eg. run {
allocate channel ch1 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
allocate channel ch2 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
backup database setsize=12582912;
release channel ch1;
release channel ch2;
And you can connect through single rman prompt to only one target database not more than that. So at any point of time you connect to only one database you can user channels to backup that database only.
connected to recovery catalog database
RMAN> CONN TARGET SYS/ORACLE@RMAN
RMAN> CONNECT TARGET SYS/ORACLE@RMAN
connected to target database: RMAN (DBID=1528877161)
RMAN> CONNECT TARGET SYS/ORACLE@CLS
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06167: already connected
Edited by: sac on Sep 4, 2008 12:59 PM -
Can we take Incremental backups without Level 0 backups
Kindly share the procedure if any by which we can initiate an incremental backup without Level 0 backup
Kindly share the procedure if any by which we can initiate an incremental backup without Level 0 backup
There is NO such procedure.
You can't 'increment' something that doesn't exist can you?
Please increment the previous number by 1. Can you do that? Of course not because there IS no previous number.
BY DEFINITION (see the doc) an incremental backup for any level but 0 REQUIRES a previous backup:
an incremental backup copies only those data blocks that have changed since a previous backup
A level 1 incremental backup can be either of the following types:
A differential incremental backup, which backs up all blocks changed after the most recent incremental backup at level 1 or 0
A cumulative incremental backup, which backs up all blocks changed after the most recent incremental backup at level 0
Incremental backups are differential by default. -
Our product in built using Silverlight. In one our implementation our customer
clears the browser cache on a daily basis. So our application downloads the xap
file everytime.
Can we store the xap file in a specific location of the
user's machine and retrieve the same?
Or is there any solution to
control/direct the caching of the Silverlight application.
Or is there any
way to clear only specific application cache from IE.
Please advice.Hi,
Please refer to following article and check if can help you.
Prevent your
Silverlight XAP file from caching in your browser
In addition, this issue seems to be more related to Silverlight. I suggest that you would post your question
in
Silverlight Forum. I believe we will get a better assistance there.
Hope this helps.
Best regards,
Justin Gu -
RMAN Backup then moving to different location.
Hi,
Any help is much appreciated.
I have a situation where I must backup a 1TB database to a different location than where the database resides using rman, there is also an rman catalog being used, the backup location is NFS mounted on the database server.
If I backup directly to the NFS mount, it takes about 5 hours.
If I backup locally on the server the database resides, the backup is completed in just over 1 hour.
One option I have is to backup the database locally then immediately after wards copy the backup files to the backup location over NFS. However, when it comes to backing up the database he following day, it assumes the backup no longer exists.
The question is :
If I do 1 level 0 backups and 6 level 1 backups per week and each day rman finds no backup files, how will it know at what point the level 1 backup should start from ? Will the backups valid in the event of a restore ?
In the event of a restore, if I copied over the backup files from the nfs mounted backup location to the local disk, will rman be able to identify that these are the backup files it had created and now can be used for a restore ?
Below are 2 copies of the backup script, Level 0 and level 1 :
rman target $TARGET_DB@$ORACLE_SID catalog $CATALOG_DB <<EOD1
crosscheck archivelog all;
crosscheck backup;
resync catalog;
run {
CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '$BACKUP_DIR/CTL_%F';
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '$BACKUP_DIR/DB_L0_%d_%U';
backup spfile;
BACKUP INCREMENTAL LEVEL 0 DATABASE include current controlfile filesperset 4;
EOD1
rman target $TARGET_DB@$ORACLE_SID catalog $CATALOG_DB <<EOD1
crosscheck archivelog all;
crosscheck backup;
resync catalog;
run {
CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '$BACKUP_DIR/CTL_%F';
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '$BACKUP_DIR/DB_L1_%d_%U';
backup spfile;
BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE include current controlfile filesperset 20;
EOD1Where shall I start?
This is yet again a post where including the four digit version number was considered irrelevant, though functionality of RMAN changes with every new release. Whether this is Oracle 9i or Oracle 10g, who can tell.
It is at least 9i style code, with many misunderstandings on how RMAN works.
First of all, by relocating your backup to a NFS mounted drive you make it unavailable to the catalog.
By running crosscheck the status of the backup will go to expired, so it will not be considered anymore.
Secondly, making a RMAN backup on a NFS device is dangerous. You don't specify an OS (also irrelevant) but I had to observe a backup to a correctly mounted NFS device (with a 32k read buffer and a 32k write buffer) couldn't be restored
in a later stage as the backup was 'corrupt'.
Thirdly, 'restore database' will only consider level 0 backups. This means: when the level 0 backup is no longer available, you can not restore your database, l1 backups are only used in the recover phase.
Fourthly, there are few minor problems in the backup scripts, as when datafile 0 is being backed up the spfile and controlfile are included. Also you don't seem to autobackup the controlfile.
All in all, my crystal ball tells me in the event of disaster, you will have no backup at all.
Time to review this situation. Urgently!
Sybrand Bakker
Senior Oracle DBA -
Is it necessary to take RMAN backup for ASM
Hi all
I also know we need RMAN to take backup for ASM . But i also seen its possible to take backup by using dd command itself on ASM . Why we need RMAN rather than this method . What is the specific reason we using RMAN,its possible to take backup by using dd command itself on ASM Very bad idea.
1. You'll run into the classic "fractured block" issue when attempting a recover or reading a block after the restore
2. RMAN can be used to
a relocate individual datafiles,
b duplicate / clone database,
c restore to an alternate server,
d copy / move from ASM to filesystem
e verify for corruption
f generate reports on backups taken
None of which dd of ASM will do reliably (depending on the skills of the DBA/SA).
Hemant K Chitale
Edited by: Hemant K Chitale on Feb 19, 2013 9:56 AM
Added the words : "reliably (depending on the skills of the DBA/SA)"
Maybe you are looking for
-
Hi Experts, We made some changes to a query used in a webtemplate which is used in Potal. The change was we removed some characteristics and replaces them with thier nav attrs. Now when a user picks the book mark, the bookmarks dont work anymore. Is
-
Data Transfer from Sales Order to Purchase Requisition
We are trying to transfer data from Sales Order to purchase requisition in an individual purchase scenario. We want to copy value in KUWEV-KUNNR in Sales Order and paste in CMMDA-KUNNR on purchase requisiton. So in user-exit "USEREXIT_MOVE_FIELD_TO_M
-
Idoc Acknowledgment to Sql Server with out using BPM
Hi, My scenario is JDBC --> IDOC and IDOC ACK --> SQL For idoc acknowledments,done all the configurations( RBDSTATE,IDX_NOALE) for aleaud message type, I can see the messages in SXMB_MONI. But in the aleaud idoc --- it contai
-
Where can I get a demo of stream?
I have to make a stream module, where can I get a demo? thanks a lot. [email protected]
-
PM G4 867 PCI Slot - PCI 2.2 Compatability Question
Does anyone know if a PCI 2.2 card will work on the PowerMac G4 867. I know the bus rating is 33 mhz, but I am not sure if a 2.2 card will work. Thank you to all who respond. PowerMac G4 867 Mac OS X (10.4.6) Alt Machine: iBook 900 OS X (10.4.6)