RMAN backup to remote disk in Windows
Hi,
I'm running Oracle 9.2.0.1 with Windows Server 2003 in both Server A and Server B. My prime DB is stored in Server A meanwhile my RMAN Catalog is in Server B. I’m running RMAN to do backup of the DB in Server A which is running out of space. So, I have decided to store my backupsets to Server B since I do have few hundred Gs there. Overall, I will push the backup script from RMAN Catalog in Server B and will store the backupsets back to Server B.
My problem is whenever I run the script, no matter either from Server A or Server B, I’m getting the following error. Attached together is the RMAN configuration parameters.
Error:
RMAN> backup database;
Starting backup at 20-AUG-09
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=13 devtype=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid=9 devtype=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: sid=14 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00012 name=F:\ORADATA\DRDB\DATA\DATA01.DBF
channel ORA_DISK_1: starting piece 1 at 20-AUG-09
channel ORA_DISK_2: starting full datafile backupset
channel ORA_DISK_2: specifying datafile(s) in backupset
input datafile fno=00002 name=F:\ORADATA\DRDB\DATA\DATA07.DBF
channel ORA_DISK_2: starting piece 1 at 20-AUG-09
channel ORA_DISK_3: starting full datafile backupset
channel ORA_DISK_3: specifying datafile(s) in backupset
input datafile fno=00006 name=E:\ORADATA\DRDB\INDEX\INDX01.DBF
channel ORA_DISK_3: starting piece 1 at 20-AUG-09
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 08/20/2009 17:06:
56
ORA-19504: failed to create file "\\ServerB\f$\drdb\backupset\BackupDRDB_DB_39k
n665g_105_1"
ORA-27040: skgfrcre: create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 5) Access is denied.
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 10;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '\\ServerB\f$\d
rdb\controlfile\Backup%d_CTL_%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 3;
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 '\\ServerB\f$\drdb\backupset\Backup
%d_DB_%u_%s_%p';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '\\ServerB\f$\drdb\controlfile\SNCFDRDB.
CTL';
My Login ID exists in Administrator and ORA_DBA group in both Server A and Server B. I can manually run the path '\\ServerB\f$\drdb\backupset\’ from Server A and able to create/modify/delete a file inside this folder. But I don’t understand why getting the ‘Access denied’ error? Anyway, is this a correct way to do backup into remote disk? I’m quite new to Oracle and just attended RMAN course with OU. I have Google-ed this problem but none can assist me. Please do help me or share your knowledge to resolve this problem.
Thanks & regards,
Nesan
Hi Andre,
Yes you're correct, it's because of the Oracle service which run under Local System Account. I have went to it's properties and changed the logon details to my own Login ID which is Administrator for both Server A and B. Now my remote backup is working great...
But does this changes will affect other apps/jobs/results in Oracle?
Guys,
If you have any better idea to solve this issue please drop into this thread or let me know if you find anything wrong on my solution.
Thanks a lot for Andre.... You have solved my 2 weeks problem.
Regards,
Nesan
Similar Messages
-
RMAN backup from remote pc !
Dear Friends ,
In my database Linux server I have no enough space to take RMAN backup since my database size around 90 GB .
So in this moment I want to take the rman backup form remote machine(From windows or Linux), where all the datafile backup of my Linux database server also goes to the remote machine . is it possible to do ?
Or is there any way to take RMAN backup(datafile,controlfile,spfile backup from server to client) from remote machine without increasing the HDD space of the Local server ?
Waiting for your kind reply ... ...In my database Linux server I have no enough space to take RMAN backup since my database size around 90 GB .
So in this moment I want to take the rman backup form remote machine(From windows or Linux), where all the datafile backup of my Linux database server also goes to the remote machine . is it possible to do ?
Or is there any way to take RMAN backup(datafile,controlfile,spfile backup from server to client) from remote machine without increasing the HDD space of the Local server ?You can't make RMAN backup remotely.
Use third party tools like data-protector or use Oracle secure backup to make backups other than local server. -
Hi
Is there a way to take an rman backup to remote host ?
Suppose orcl database is on host1, I am running rman session on host2
RUN
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT '/home/users/temp/%U';
BACKUP tablespace users;
Even though, /home/users/temp directory exists on host2. rman session terminates since rman looks the directory on host1.
I believe, we can perform export to remote host, not sure why it doesnt work for rmanFirst , export is not a backup tool. Second, RMAN would be looking for the drive locally always. If you want to use a remote storage, configure something an NFS mount and post the backup there.
Aman.... -
Is it possible to restore TSM/ADSM RMAN backup pieces to disk manually?
Is it possible to restore TSM/ADSM RMAN backup pieces to disk manually, and re-catlog as disk backups?
Oracle 10.2.0.3
TSM client 5.5.1.1
SUN Solaris 10 64-bit
We are gearing up to switch from IBM's Tivoli (TSM/adsm) to EMC's Networker (Legatto), and the old TSM software drivers are going to be uninstalled.
In a worse case scenario, we would therefore not be able to easily restore using RMAN and TSM just after the switch, and before new backups are made on Networker.
To be comfortable with the backup methodology change, we need to explore restoring the RMAN backup pieces of a given tag using TSM commands (dsmc ?) to a filesystem, re-catalog the backup pieces now on disk, and then perform test restore/recoveries using RMAN with disk channels.
Does anyone know of the TSM command (dsmc ?) to perform the restores of RMAN backup pieces?
Thanks!This is a set of guesses and thoughts.
1: When you say you are removing the Tivoli software drive, is this just the driver from the oracle home, or is it more substantive. In fact could you have a different oracle home to access tivoli, possible with a rman catalog copy.
2: I dont believe the backup tag is part of the filename, however is it possilbe to query the rman catalog to get the filenames mapped to a tag?
3: Providing you know the filenames you wish to restore then it is possible to browse the tivoli catalog. Its ages since I've done this but doesn't samc have at interactive mode
Apologies if these suggestions are rubbish and hopefully someone gives a better answer. -
BRtools Two-Phase-Backup to remote disk and remote tape drive
Hello,
i want to two-phase-backup a SAP-System to a remote disk and from there to a tape drive.
Backup to remote disk works fine, but can i use brtools to write the backup-files from the remote machine to a tape drive that is connected to the remote machine?
I'm using SLES 10 on both machines.
I can't find anything on the SAP Documentation to this. It ist possible to backup to remote disk and to remote tape, but it is not clear that it works when in Phase 1 of the backup the files are written to a remote disk. It seems like i can only tell brtools to backup the files from a local disc to a remote tape-drive, is this right?
Thanks in advance for your help.
Regards
PhilHi Nirmal,
thanks for your answer.
But i can do disk to tape Backups, when i choose "Backup of Disk Backup" from BRtools, i see a list of all Backups i wrote to the local disk and can write them to remote tape by using pipe as backup device.
The only thing is, my Backups are stored on a remote disk, and from there it seems i have to write them to tape with cronjobs using a shell script. That's not my favourite solution, but it's ok.
Regards
Phil -
RMAN Backups residing remotely
Oracle Version: 11.2.0.3 x64
OS: Win 2008 server x64
Hi Experts.
We need to replicate a database on one of our boxes, with very limited space on disk. The database size is roughly 200gb, free space on disk is 250gb, and the RMAN backups are roughly 80gb.
The RMAN backup pieces have been cataloged with the following path:
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'd:\rman\%d\bkup_%d_%U';So, if we attempt a restore/replication on the local server, RMAN would look for backups on the local D drive, under D:\rman\<db_name>\
In the past we used to copy the RMAN backups on the local server where the replication is required, and perform the replication locally without any issues; however, with a very limited space that won't fit both the replicated instance and the RMAN copies, we're not quite sure how further proceed!?
Can we instruct the RMAN replication session to look for backups in a remote server?
We do keep 3 weeks of RMAN backups on disk, hence the 80GB RMAN backups size. As far as I remember a full backup has been performed last Sun. Can we only bring over Sun full backup (and any subsequent incremental backups)? or do we need to copy the whole thing across to the local server?
Any ideas please?
ThanksI've been trying the duplicate command with the "from active database" clause but we're getting some permissions errors that I'm not sure about:
C:\Users\oracle>rman target sys/xxx@vssrp auxiliary sys/password@vssrl
Recovery Manager: Release 11.2.0.3.0 - Production on Sat Sep 1 16:28:25 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: vssrp (DBID=1391811405)
connected to auxiliary database: vssrl (not mounted)
RMAN> run {
2> allocate channel c1 type disk;
3> allocate auxiliary channel DUP type disk;
4> duplicate target database to vssrl from active database;
5> }
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=1252 device type=DISK
allocated channel: DUP
channel DUP: SID=673 device type=DISK
Starting Duplicate Db at 01-SEP-12
contents of Memory Script:
sql clone "create spfile from memory";
executing Memory Script
sql statement: create spfile from memory
contents of Memory Script:
shutdown clone immediate;
startup clone nomount;
executing Memory Script
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 3140026368 bytes
Fixed Size 2259312 bytes
Variable Size 788530832 bytes
Database Buffers 2315255808 bytes
Redo Buffers 33980416 bytes
allocated channel: DUP
channel DUP: SID=578 device type=DISK
contents of Memory Script:
sql clone "alter system set db_name =
''vssrp'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''vssrl'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
backup as copy current controlfile auxiliary format 'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
restore clone controlfile to 'D:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL02.CTL' from
'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
restore clone controlfile to 'D:\ORACLE\ORADATA\vssrl\CONTROL03.CTL' from
'C:\ORACLE\ORADATA\CONTROLFILE\vssrl\CONTROL01.CTL';
alter clone database mount;
executing Memory Script
sql statement: alter system set db_name = ''vssrp'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''vssrl'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 3140026368 bytes
Fixed Size 2259312 bytes
Variable Size 788530832 bytes
Database Buffers 2315255808 bytes
Redo Buffers 33980416 bytes
allocated channel: DUP
channel DUP: SID=578 device type=DISK
Starting backup at 01-SEP-12
channel c1: starting datafile copy
copying current control file
released channel: c1
released channel: DUP
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/01/2012 16:29:14
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on c1 channel at 09/01/2012 16:29:14
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01031: insufficient privileges
ORA-17629: Cannot connect to the remote database serverAs you can see from the above, we're logging in to both databases (target and aux) as sys; also the local OS oracle user is a member of administrators and can write files on to disks.
Any idea please?
Thanks -
Hi
We have an 3 Oracle 11.1 database on 3 different servers with Windows 2003.
We have a high speed USB External hard drive of Disk space about 2 TB .
I wanted to know is it a good idea to take a Rman backup every night on this external drive from all the three databases by sharing this drive .
Later this backs are manually copied to tapes.
ThanksHi,
You can take the backup but it will be very slow ( not like local harddisk)
You will see the significate wait event RMAN backup & I/O in AWR report.
You need crosscheck or validate the backup once its written to harddisk and again that may take more time
what i suggest is try it and if you are facing any problem , then don't continue.
Kind Regards,
Rakesh jayappa
Edited by: Rakesh jayappa on Sep 15, 2010 11:20 PM -
Making rman-backup-to-shared-disk fix-up work how i want it to
Greetings Oracle Network!!
(Oracle 10g enterprise edition on windows server 2003 platform)
http://www.dba-oracle.com/t_os_error_os5_access_denied.htm
is a link where a fix to locating rman backups is suggested. it asks me to change the oracleservicesid logon. my database is what runs a website. when i change the oracleservicesid logon the website no longer functions.this is undesirable.
how do i fix this??
Even on my test-server which houses databases, changing the oracleservicesid logon to administrator, disables all connections made to the database from the LAN using SQL developer. how to not let this happen??
Please help
Thanks in advance
regards 946207
Edited by: 946207 on Jul 14, 2012 3:01 AM10g is desupported for a long time.
Your issue is you backup to a network drive.
The solution provided to you by Donald Burleson is correct.
Why the website no longer functions is unclear as you provide no error messages or whatsoever.
An easy solution would be of course to buy an extra disk to connect it directly to the server.
From your post it is unclear why you didn't consider implementing that.
Also your assertion about the test server is way too vague. You again didn't provide any error message.
Sybrand Bakker
Senior Oracle DBA -
Hi,
I have a remote disk array of IDE drives (2TB) and want to use RMAN to backup my database to these disks. The question is how can I do this? I though of using NFS or SAMBA but I don't think this is a good idea. Does anyone have any suggestions? A plug in library for rman? I'm using 9i with redhat Linux.
Thanks in advance,
Steve.nothing is stopping you from using NFS technically speaking, from what i know.
as long as the master server is available during the backup you should not have any issues. the only issue could be the time it takes to backup the data.
in your case you can configure those disk arrays to the database host and create some volumes on these disk arrays and backup your database.
there are no libraries for disks. RMAN installation for that particular version of o/s should take care of it.
you have to configure RMAN for media management software libraries, when you want to back the data to a tape drive.
mukundan -
RMAN: Backups not exipring after redundancy window.
Hello,
I run backup into sbt_tape and use the below block:
run{
ALLOCATE CHANNEL C1 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
ALLOCATE CHANNEL C2 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
ALLOCATE CHANNEL C3 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
ALLOCATE CHANNEL C4 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
backup incremental level 0 database filesperset=1 format '%d_L0_DF%f_%T_%u.dbf' tag 'DB_L0_DF_#_DT_UNQNO';
backup current controlfile format '%d_L0_CF_%T_%u.ctl' tag 'DB_L0_CF_DT_UNQNO';
backup incremental level 0 archivelog all filesperset=1 format '%d_L0_AL_%h_%e_%T_%u.arc' tag 'DB_L0_ARC#_DT_UNQNO';
crosscheck backup of database;
crosscheck backup of archivelog all;
delete noprompt expired backup of database;
delete noprompt expired backup of archivelog all;
My backups run perfectly, but for some reason my backups don't expire even though my redudancy is set to 7 days.
In my backup dest, I have backups as old as March '13, which should have been expired long time back.
Any ideas what might be wrong?
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name IWTPR are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
CONFIGURE MAXSETSIZE TO UNLIMITED;
CONFIGURE ENCRYPTION FOR DATABASE OFF;
CONFIGURE ENCRYPTION ALGORITHM 'AES128';
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/IWTPR/snapcf_IWTPR.f';
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/iwtpr/snapcf_iwtpr.f';
Thanks in advance,
aBBy.
Env details: 4-Node RAC cluster running 11.2.0.3.4 GI/RDBMS on RHEL 5.6AB007 wrote:
Hello,
I run backup into sbt_tape and use the below block:
run{
ALLOCATE CHANNEL C1 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
ALLOCATE CHANNEL C2 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
ALLOCATE CHANNEL C3 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
ALLOCATE CHANNEL C4 TYPE SBT_TAPE PARMS='SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so,
ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
backup incremental level 0 database filesperset=1 format '%d_L0_DF%f_%T_%u.dbf' tag 'DB_L0_DF_#_DT_UNQNO';
backup current controlfile format '%d_L0_CF_%T_%u.ctl' tag 'DB_L0_CF_DT_UNQNO';
backup incremental level 0 archivelog all filesperset=1 format '%d_L0_AL_%h_%e_%T_%u.arc' tag 'DB_L0_ARC#_DT_UNQNO';
crosscheck backup of database;
crosscheck backup of archivelog all;
delete noprompt expired backup of database;
delete noprompt expired backup of archivelog all;
My backups run perfectly, but for some reason my backups don't expire even though my redudancy is set to 7 days.
In my backup dest, I have backups as old as March '13, which should have been expired long time back.
Any ideas what might be wrong?
RMAN> show all;
using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name IWTPR are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
CONFIGURE CONTROLFILE AUTOBACKUP OFF;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE 'SBT_TAPE' TO 1;
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS 'SBT_LIBRARY=/u01/app/oracle/product/11.2.0.3/db1/lib/libddobk.so, ENV=(STORAGE_UNIT=CH2-nwtdb-Oracle, BACKUP_HOST=172.28.136.50, ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/db1)';
CONFIGURE MAXSETSIZE TO UNLIMITED;
CONFIGURE ENCRYPTION FOR DATABASE OFF;
CONFIGURE ENCRYPTION ALGORITHM 'AES128';
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/IWTPR/snapcf_IWTPR.f';
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+IWTPRFRA/iwtpr/snapcf_iwtpr.f';
Thanks in advance,
aBBy.
Env details: 4-Node RAC cluster running 11.2.0.3.4 GI/RDBMS on RHEL 5.6
You are confusing 'expired' with 'obsolete'.
When a backupset is created, a record of that is placed in the control file.
If you perform a 'crosscheck backup', rman checks those records against reaility. If any backup is found to have gone missing, it's record is marked as 'expired'. Follow that up with a 'delete expired backup', and the records of the missing (expired) backups will be removed from the repository.
What you want is 'delete obsolete'. That will delete any backup that is no longer needed to enforce the retention period.
BTW, 'redundancy' and 'x days' are mutually exclusive. -
How can i backup my voting disk on windows
i can backup voting disk with dd in unix, but how can i backup it in windows,
I will replace my disk-storage in the ORACLE rac enviement, must i reistall operating system; ocr and voting disk (then restore the database); or can i resotre ocr and voting disk than restore database; have you any other idear ,You can not backup from *NIX & restore onto Windoze.
-
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
-
RMAN backup at Remote server.
Hi All,
RUN {
BACKUP
INCREMENTAL LEVEL=0
FORMAT '/oracle/backup/last/%d_DBNAME_T%T'
DATABASE;
This will backup the database and will place the backup set at the location /oracle/backup/last.
But my requirement is to backup the full database and place backup set at location /oracle/backup/remote_full_backup on the remote server say(Backup server).
what kind of changes i have to make in the existing backup script in order to achieve this task.
DB Version:10.2.0.1
OS:LINUX.
Thanks.This guide is for Solaris, but it works also with linux:
http://docs.sun.com/app/docs/doc/817-5093/fsmount-69423?a=view
Regards,
Enric Moya -
Hi gurus,
I want to ask some questions again..
I want to backup my SAP database to remote disk.
My server is using:
OS : Windows Server 2003 Enterprise 64bit
DB : Oracle 10.2.0.4
As i've read here: http://help.sap.com/saphelp_nwmobile71/helpdata/en/47/0b9ed8434f57dde10000000a1553f7/content.htm
my only option for windows user is use backup_dev_type = ftp right?
so I have configured all things according to what's in the article above.
i've mapped the disk storage location into drive z: in my SAP Server.
When i execute backup, SAP returns error saying that z: is unknown location.
I use windows ftp server which is in IIS component.
When i see the picture from that article above, it uses SAPFTP.
Do I must use SAPFTP to backup to remote disk?
If so, how could I configure it?
I have tried to open SAPFTP in 'TCP/IP Connections' via tcode 'SM59' and 'Test Connection', which returned something like:
Logon: 569 msec
0 KB: 1 msec
10 KB: 4 msec
20 KB: 5 msec
30 KB: 7 msec
Any help for me?
Thanks very much.gurus,
i've changed stage_root dir to ftp://folder, and now it's seems more convincing, but another error displayed:
Detail log: adzqrhjw.sve
BR0002I BRARCHIVE 7.00 (32)
BR0006I Start of offline redo log processing: adzqrhjw.sve 2009-01-08 13.45.24
BR0484I BRARCHIVE log file: D:\oracle\DEV\saparch\adzqrhjw.sve
BR0477I Oracle pfile D:\oracle\DEV\102\database\initDEV.ora created from spfile D:\oracle\DEV\102\database\spfileDEV.ora
BR0101I Parameters
Name Value
oracle_sid DEV
oracle_home D:\oracle\DEV\102
oracle_profile D:\oracle\DEV\102\database\initDEV.ora
sapdata_home D:\oracle\DEV
sap_profile D:\oracle\DEV\102\database\initDEV_remote.sap
backup_dev_type stage
archive_stage_dir ftp://backupdev
compress no
stage_copy_cmd ftp
remote_host backupDEV
remote_user administrator
system_info SAPServiceDEV SAPDEV Windows 5.2 Build 3790 Service Pack 1 AMD64
oracle_info DEV 10.2.0.2.0 8192 2582 20859434 SAPDEV UTF8 UTF8
sap_info 700 SAPSR3 0002LK0003DEV0011S14735821930013NetWeaver_ORA
make_info NTAMD64 OCI_10201_SHARE Feb 6 2008
command_line brarchive -u / -jid LOG__20090108134524 -c force -p initDEV_remote.sap -s
BR0280I BRARCHIVE time stamp: 2009-01-08 13.45.43
BR0008I Offline redo log processing for database instance: DEV
BR0009I BRARCHIVE action ID: adzqrhjw
BR0010I BRARCHIVE function ID: sve
BR0048I Archive function: save
BR0011I 9 offline redo log files found for processing, total size 388.720 MB
BR0112I Files will not be compressed
BR0130I Backup device type: stage
BR0106I Files will be saved on disk in directory: backupDEV:ftp://backupdev
BR0134I Unattended mode with 'force' active - no operator confirmation allowed
BR0202I Saving init_ora
BR0203I to ftp://backupdev\DEV ...
BR0278E Command output of 'C:\usr\sap\DEV\SYS\exe\uc\NTAMD64\sapftp.exe -v -n -i backupDEV -u D:\oracle\DEV\saparch\.adzqrhjw.ftp -a -c put D:\oracle\DEV\102\database\initDEV.ora ftp://backupdev\DEV\initDEV.ora -c bin -c put D:\oracle\DEV\102\database\spf
Connected to backupDEV Port 21.
220 Microsoft FTP Service
331 Password required for administrator.
230 User administrator logged in.
200 Type set to A.
200 PORT command successful.
550 ftp://backupdev\DEV\initDEV.ora: The filename, directory name, or volume label syntax is incorrect.
200 Type set to I.
200 PORT command successful.
550 ftp://backupdev\DEV\spfileDEV.ora: The filename, directory name, or volume label syntax is incorrect.
221
BR0280I BRARCHIVE time stamp: 2009-01-08 13.45.43
BR0279E Return code from 'C:\usr\sap\DEV\SYS\exe\uc\NTAMD64\sapftp.exe -v -n -i backupDEV -u D:\oracle\DEV\saparch\.adzqrhjw.ftp -a -c put D:\oracle\DEV\102\database\initDEV.ora ftp://backupdev\DEV\initDEV.ora -c bin -c put D:\oracle\DEV\102\database\spfi
BR0222E Copying init_ora to/from ftp://backupdev\DEV failed due to previous errors
BR0016I 0 offline redo log files processed, total size 0.000 MB
BR0007I End of offline redo log processing: adzqrhjw.sve 2009-01-08 13.45.43
BR0280I BRARCHIVE time stamp: 2009-01-08 13.45.43
BR0005I BRARCHIVE terminated with errors
can you tell me what's wrong with it?
Thanks gurus, -
Rman backup to a remote location
I want to take the rman backup of production database to a remote server.
Means, source and destination servers are located at two different location.
OS: RHEL 4
In metalink, i got the doc id: 292726.1
Could anyone please tell me the detailed steps of "Backup to Remote DISK" heading of meantioned doc or provide me some other useful links ?
Edited by: NKJ on Dec 3, 2008 10:07 AMYou can backup to a remote location assuming you have the remote location appropriately mapped.
However, you may want to check this 10gR2 "database backup" to nfs mounted dir results in ORA-27054 NFS error regarding NFS and RMAN.
Maybe you are looking for
-
Report performance - PL/SQL vs SQL type
Hello, Is it possible that report built as PL/SQL function returning SQL query is slower (much more) than common SQL report? I've got a view, that I read data from. When I use SQL query report with variables in :PX_NAME format, it takes about 5 secon
-
Sales Orders :: OpenSum differs from OpenQty*Price
Hello all, Creating a backlog report for a customer, I've found that, for partially delivered Sales Orders rows the OpenSum = LineTotal when, in my opinion, it should be OpenSum = OpenQty x Price. Can anyone confirm what should be the correct value o
-
What's wrong with my computer/browser?
http://screenr.com/gzr8 I can't figure out what is wrong with my browser. Any ideas? It might be flash, silverlight, etc?
-
ACE 4700 configuring SSL termination weblogic server 10.3.6
Hello, Im trying to configure an ACE 4700 so that SSL termination is done on the ACE and HTTP reaches the weblogic server instance. I have a working setup of a Apache reverse proxy doing SSL offloading and using a weblogic module and that works fine
-
Output type for Purchase order Plants
Hi Gurus I need your help with the following issue. I have created 2 new Plants in our Purchasing module and we are able to create PO and enter invoice for the same. The issue that I have encountered is that when the PO is saved, vendor does not get