RMAN backup unable to write to share
Oracle 11gR2 OEL5 64bit
I am unable to execute my backups because the files cannot be written to the NFS share. The share has been mounted with 'oracle:oinstall' and '777' for permissions. However, I still get the following error:
ORA-19504: failed to create file "/rman/backup/prod/ctrl_file.bckp"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 22: Invalid argumentI have researched different mount option on ML and I have tried them also, but I still get the same issue. It's weird because the last time I did this it worked and it was also able read and recover the files from the share.
Is there a mount option out there that works so that RMAN can write to an NFS share?
I used the following opton:
mount -t cifs -o username=winorcl,rw,dir_mode=0777,file_mode=0777,uid=1003,gid=1003 //myshare/oracletmp /rman/backup/prod/Just some more info. The 'winorcl' user has full RWX privs on the share. The uid and gid are for 'oracle' and 'oinstall' which in this case are the same.
Thank you.
Hi,
ORA-19504: failed to create file "/rman/backup/prod/ctrl_file.bckp"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 22: Invalid argument
mount -t cifs -o .... Is use of CIFS Protocol for RMAN backups supported? [ID 444809.1]
CIFS is fine for RMAN files: backup pieces, datafile copies, archived logs but it is NOT certified by Oracle.
Oracle Support: If there are any problems involved in using RMAN and CIFS, then we cannot get the RDBMS development involved.
Write To CIFS Filesystem on Linux Fails ( ORA-01119, ORA-27040 ) [ID 1417168.1]
Regards,
Levi Pereira
Similar Messages
-
RAC RMAN BACKUP Recovery FOR Oracle APPS Application
Hi,
We have an Application which is similar to Oracle APPs application and We have a RAC Database at Backend.
As I am a Oracle RAC DBA and never worked as an Oracle apps DBA.
Each Week or month We have to deploy a patch on Our Database which are kind of sql changes to Database and before we applying we need to backup our Database.
I am very comfortable while applying patches on Single instance Database:-
I Usually shutdown my database and backing up My Database(Conistent\cold Backup) before applying patch.
and I have a Flash back on both option I am having for my Database.
Problem:-
But in Production I have RAC Database, on which I already configured Hot Backup.
FlashBackup Feature is there with me, but Not reliable.
I want cold backup along with my existing hot backup, and want to restore same if something goes wrong.
Since ASM is configured so we have only option RMAN backup.
IF possible kindly Share your knowledge and Experience of your to handle Such Problem.Sir,
RMAN is already configured for backing up database online.
My only intention is to have cold or consistent backup before applying application patch, So that at the time of crisis I will resotre my Cold/Conistent backup.
Because I am using 11gr2 RAC with ASM, so only option is there for me to use rman as backup tool.
But I never tried to Have Cold backup in RAC environment in my previous jobs, and I am new to this Oracle APPS DBA technology. So Here I am looking for a Strategy that Normally oracle apps dba use while applying patch to Oracle Database and kind of backup strategy they use.
Regards
Gaurav -
Unable to restore and recover my Database from RMAN Backup
Dear All,
Iam practicing RMAN in Windows environment.
My configurations are
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION ON; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'F:\Backup\%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
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 'E:\ORACLE\DATABASE\SNCFORCL.ORA';
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'F:\Backup\%U.bak';
Then i took the RMAN backup, now iam shutdown my DB and removed one logfile..
then i tried to startup the DB but it is saying
ORA-00313: open failed for members of log group 3 of thread 1
ORA-00312: online log 3 thread 1: 'E:\ORADATA\ORCL\REDO03.LOG'
So i tried to restore the Database with my rman backup
RMAN> restore database;
But i am unable to restore my logfile in the Datafiles location where as all other datafiles are restored but redo logfiles are not restored.
So, i am unable to recover my DB
Please tell me whether i am doing any mistake, what is the solution for my problem.
Thanks in advance
MahiAll you restored was your datafiles.
Now issue recover database and that will apply the archive logs.
This is in the oracle documentation.
"You must restore backups of these archived logs for recovery to proceed. You can restore either to the default or nondefault location. If you do not have backups, then you must performing incomplete recovery up to an SCN before the first missing redo log and open RESETLOGS."
http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/osrecvry.htm
In this case after issuing restore database in RMAN, then issue this.
"Recover database"
It will then be an incomplete recovery. They should have been multiplexed. Did you restore your controlfile with this backup? You may have to issue an "Alter database open resetlogs;" -
Write a ms dos script for rman backup
Hi all,
i wanna write a dos batch file to take the rman backup..
i have written one...actually there are 2 files. one is for login purpose...other one is for sql commands
rman.bat-->
rman target sys/sysadmin@hnbhrm @'c:\rm.sql'
==============================
rm.sql-->
configure retention policy to recovery window of 7 days;
configure controlfile autobackup on;
run {
alter system switch logfile;
crosscheck archivelog all;
crosscheck backupset;
backup database plus archivelog;
DELETE NOPROMPT ARCHIVELOG ALL COMPLETED BEFORE 'sysdate -1';
DELETE NOPROMPT OBSOLETE REDUNDANCY = 1;
========================================
but i have problem in first file rman.bat. it doesnt run at all. but if i write sqlplus / as sysdba instead of rman thing.. then it works fine.
can anybody tell me whats happening over there please..? Have i done this correctly? or u have some other simple way to do this...
both files are located in C drive.. and oracle is installed to E drive... oracle path has set already.
can anybody please give me a hand to solve this issue please...
Thanks in Advance,
Maxwrite a ms dos script for rman backupImpossible. rman does not support MS-DOS. It is not a 16bit real mode application that can be run inside the MS-DOS operating system.
So get your terminology straight - the Windows console is a character based 32bit virtual machine. It is not MS-DOS. It never was MS-DOS. Do not confuse the two simply because of superficial similarities. A stick-it note can be yellow - but because it is yellow does not mean it is a banana. -
RMAN backup to network share and local at the same time ?
Hi all,
is it possible to force rman to backup database into two different locations ? one location would be network drive, another local directory.
I was trying to do it with this script:
run
allocate channel c1 type disk format '\\10.236.196.247\BACKUP\%U' maxpiecesize 2g;
allocate channel c2 type disk format 'F:\data\flashback\db_recovery_area/%U' MAXPIECESIZE 2g;
backup database;
backup current controlfile;
release channel c1;
release channel c2;
what I get is my backup is split between these two locations... unable to recover database from one of them.Hi,
You can check the documentation: Multiple Copies of RMAN Backups ;-)
When backing up datafiles, archived redo log files, server parameter files and control files into backup pieces, RMAN can duplex the backup set, producing up to four identical copies of each backup piece in the backup set on different backup destinations with one BACKUP command. (Note that duplexing is not supported for backup operations that produce image copies.)
There are three ways to specify duplexing of backup sets when using the BACKUP command:
Specify a default level of duplexing with CONFIGURE... BACKUP COPIESAll backup commands that back up data into backup sets will be affected if you use this option, unless you specify different duplexing options for a command using SET BACKUP COPIES or provide a COPIES option for the BACKUP command.
Use SET BACKUP COPIES in a RUN block All commands in the RUN block will be affected, overriding any CONFIGURE... BACKUPCOPIES setting, except those where you provide a COPIES option as part of the BACKUP command.
Provide a COPIES option to the BACKUP command For this specific BACKUP command, files will be duplexed to produce the number of copies you specify.
Cheers
Legatti -
I have a Windows 8.1 Pro 64 bit system that I am trying to make a system image backup via Windows 8.1's System Image Backup feature.
The backup destination is a network share, but the image creation is failing with the following error:
The version does not support this version of the file format
After some investigation, it appears this is due to the network share (a Netgear BlackArmor NAS 220)not
supporting sparse files. The consensus out on the web seems to be that your smb.conf file on the NAS needs to have strict allocate = yes added, in order to support sparse files. However, as far as I can tell with the BlackArmor NAS
220, there is no way to edit the smb.conf file (and I'm not even 100% positive they're running Samba--but I bet they are).
Some more searching revealed another possible option here:
If you don't need to exclude files from your backup, use the "-allcritical" option in your command line. AS IN:
wbadmin start backup -backupTarget:\backup1\backupdrive1\ -include:c: -user:administrator -password:xxxx -systemState -vssFull -allcritical -quiet
This changes it to Block backup and gets rid of the error.
I'm trying to do a complete backup, so no exclusions are wanted or needed. So, i tried this, and got the exact same error (only this time it was on the command line, rather than a GUI dialog).
Is there any way to do backups to a network share that doesn't support sparse files via Windows 8.1's System Image Backup facility?
Alternatively, is there a way to enable the strict allocate = yes on a BlackArmor NAS 220?Hi,
When using BackupAssist to perform a backup from a Windows file system to a Linux (ext4 or XFS) file
system, the backup can fail if the following conditions apply.
The backup is running a system protection job to the Linux based NAS.
The Linux NAS has sparse file allocation turned on.
These two contition can cause the problem like yours.
You can refer to the document which also contains an solution for further details.
http://www.backupassist.com/downloads/resources/sparse_file_system_compatability.pdf
Roger Lu
TechNet Community Support -
RMAN backup to write on tape and disk in the same time
Hi all,
I want to take backup using RMAN and to have the backup file in a tape and a disk, i know i can allocate channel for tape, or disk. My question is can i use the both disk and tape in an rman backup one time. I mean i want to have rman writing backup file in a local disk and a tape in the same time to have redoundant backup at a tape and local disk.
If some scripts is there, it will be welcome.
Thanks
RaitsarevoSee Duplexing backup sets.
-
How can i do a RMAN backup of my database from the network ?
i'm using oracle 8i.1.7.3 with win server 2003
i want to know how can i do a RMAN backup of my database (sever machine A) from the network.
i'd like to save the backup in another machine (the same LAN, the same OS ).
to do that i've mapped a logical device in my comptur (z):
when i run rman command i got this error:
channel ORA_DISK_1: starting piece 1 at .......
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command ON ORA_DISK_1 channel at .......
00
ORA-19504: failed TO CREATE file "\\remote\save\"
ORA-27040: skgfrcre: create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 123) The filename, directory name, or volume label syntax is inco
rrect.Hi,
ORA-19504: failed TO CREATE file "\\remote\save\"make sure you have created this directory and change it's ownership (chown command)to oracle.
also make sure that oracle user has permission to write to this direcotry (chmod command)
hope this helps
cheers, walrus -
Oracle RMAN backup to disk on vbox4.2 shared folders
[https://forums.virtualbox.org/viewtopic.php?f=7&t=53683]
Cross posting a virtualbox forum post in case someone has this working.
[posting snippet]
Anyone successfully using Oracle 10.2/11.2 RMAN to backup to mounted vbox guest shared folder? I'm thinking there may be some special configuration requirement like there is with NFS share mount options.
RMAN> backup incremental level = 0 database include current controlfile plus archivelog delete input;
[lengthy output clipped]
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 01/18/2013 00:03:14
ORA-19504: failed to create file "/media/sf_backup/vux099/oracle/vux099db/dataS217_P1_T804988992"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 22: Invalid argument
Additional information: 2
RMAN>
Recovery Manager complete.
oracle@vux099:vux099db1 [app/oracle]
$ touch /media/sf_backup/vux099/oracle/vux099db/myfile; ls -l /media/sf_backup/vux099/oracle/vux099db/myfile
-rw-r--r-- 1 oracle oinstall 0 Jan 18 00:04 /media/sf_backup/vux099/oracle/vux099db/myfile
oracle@vux099:vux099db1 [app/oracle]
$ touch /media/sf_backup/vux099/oracle/vux099db/myfile;
oracle@vux099:vux099db1 [app/oracle]
$ mount | grep sf_backup
backup on /media/sf_backup type vboxsf (uid=51115,gid=51116,rw)
oracle@vux099:vux099db1 [app/oracle/base/admin/vux099db1/bin]
$ getent passwd 51115; getent group 51116
oracle:*:51115:51116:Oracle Administrator:/app/oracle:/bin/bash
oinstall:*:51116:grid,oracle
oracle@vux099:vux099db1 [app/oracle/base/admin/vux099db1/bin]
$ printf "show all;\nexit\n" | rman nocatalog target / | grep DISK
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/media/sf_backup/vux099/oracle/vux099db/%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO COMPRESSED 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 '/media/sf_backup/vux099/oracle/vux099db/dataS%s_P%p_T%t';
oracle@vux099:vux099db1 [app/oracle/base/admin/vux099db1/bin]
$
[end]
Edited by: user12130856 on Jan 18, 2013 8:08 PMHi,
never tried it, but I know that the shared folders in vbox don't work like normal filesystems.
I would rather setup an NFS server on the host and mount an NFS share in the guest.
Regards
Sebastian -
RMAN backup on REDHAT 7.1
Hi,
I've get an error when backuping whole database (8.1.7, Linux, Redhat 7.1).
Help me, please!
RMAN> startup mount pfile=/u/app/oracle/admin/learn/pfile/initlearn.ora;
RMAN-06193: connected to target database (not started)
RMAN-06196: Oracle instance started
RMAN-06199: database mounted
Total System Global Area 177922208 bytes
Fixed Size 73888 bytes
Variable Size 54796288 bytes
Database Buffers 122880000 bytes
Redo Buffers 172032 bytes
RMAN> run {
2> allocate channel ch1 type disk;
3> backup database;
4> }
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: ch1
RMAN-08500: channel ch1: sid=13 devtype=DISK
RMAN-03022: compiling command: backup
RMAN-03023: executing command: backup
RMAN-08008: channel ch1: starting full datafile backupset
RMAN-08502: set_count=6 set_stamp=478373111 creation_time=19-NOV-02
RMAN-08010: channel ch1: specifying datafile(s) in backupset
RMAN-08522: input datafile fno=00001 name=/u/oradata/learn/system01.dbf
RMAN-08011: including current controlfile in backupset
RMAN-08522: input datafile fno=00005 name=/u/oradata/learn/users01.dbf
RMAN-08522: input datafile fno=00006 name=/u/oradata/learn/users02.dbf
RMAN-08522: input datafile fno=00007 name=/u/oradata/learn/idx01.dbf
RMAN-08522: input datafile fno=00008 name=/u/oradata/learn/idx02.dbf
RMAN-08522: input datafile fno=00003 name=/u/oradata/learn/rbs01.dbf
RMAN-08522: input datafile fno=00004 name=/u/oradata/learn/temp01.dbf
RMAN-08522: input datafile fno=00009 name=/u/oradata/learn/part01.dbf
RMAN-08522: input datafile fno=00002 name=/u/oradata/learn/tools01.dbf
RMAN-08522: input datafile fno=00010 name=/u/oradata/learn/cc01.dbf
RMAN-08522: input datafile fno=00012 name=/u/oradata/learn/tests01.dbf
RMAN-08522: input datafile fno=00011 name=/u/oradata/learn/ccindx01.dbf
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03007: retryable error occurred during execution of command: backup
RMAN-07004: unhandled exception during command execution on channel ch1
RMAN-10035: exception raised in RPC: ORA-19504: failed to create file "06e86p7n_1_1"
ORA-27044: unable to write the header block of file
Linux Error: 22: Invalid argument
Additional information: 2
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.BACKUPPIECECREATEYou must set format of backup when using disk channel
either set fommat='/filesystem_path/%U.bck' in channel
command or in backup command
/Jonas -
Create standby DB with RMAN backup in Oracle 9.2.0.6
I am tring to create a standby DB in different host with different directory using RMAN. The commandv with which I tried to create the standby database is the follow:
(in the primary server side)
RUN
ALLOCATE AUXILIARY CHANNEL DUP1 TYPE DISK;
DUPLICATE TARGET DATABASE FOR STANDBY
NOFILENAMECHECK
DORECOVER;
but RMAN give me this error:
Starting restore at 18-FEB-08
channel DUP1: starting datafile backupset restore
channel DUP1: restoring controlfile
output filename=/opferi/oradata/oradata01/data01/cntrl01.dbf
released channel: DUP1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 02/18/2008 17:57:20
RMAN-03015: error occurred in stored script Memory Script
ORA-19505: failed to identify file "/opferi/oracle/product/9.2.0/dbs/l4j9127p_1_1"
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
The standby database is in a different host with the same directory structure. I started (with nomount option) with the same init file that the primary database.
I read solution like the backupset must be copied manually to the standby host, but for me is not a solution.
The RMAN backup script is the follow (like
RUN {
CROSSCHECK BACKUPSET;
DELETE NOPROMPT OBSOLETE;
DELETE NOPROMPT EXPIRED BACKUPSET;
crosscheck archivelog all;
ALLOCATE CHANNEL ch00 TYPE disk;
BACKUP
$BACKUP_TYPE
FORMAT '/rman/opferi2/df_sipd_%d_%u_%s_%p'
DATABASE INCLUDE CURRENT CONTROLFILE FOR STANDBY;
sql 'alter system archive log current';
backup format '/rman/opferi2/archive_log_%d_t%t_s%s_p%p' (archivelog all);
RELEASE CHANNEL ch00;
when $BACKUP_TYPE=0
Can anyone help my with this problem?? Thaks
Cristian.
PS. Sorry my bad english because I am from Latin AmericaRequirements are:
1 the backup should be accessible to both target and auxiliary database in the same location.
2 On Unix this can be arranged through NFS, provided you set the read and write buffer to 32k.
Obviously the backup can not be located in $ORACLE_HOME/dbs, as you can not mount a NFS directory over $ORACLE_HOME/dbs without loosing functionality.
Hth
Sybrand Bakker
Senior Oracle DBA -
Hi,
I am using Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit on Solaris SPARC.
I weekly take level 0 backup on sunday, and then incremental level 1 backup each day in the week and archive log backups daily every after 3 hours.
I want to know that how much time my level 0 backup on last sunday (i.e. 17april) took, how much incremental level 1 on 19april took, and how much time archivelog took during the date 20 april.
I dont have log files of those RMAN backups so unable to get that info from the log files. I would appreciate if you share any query.
would you please guide in that regard?
regardsselect
sid,
start_time,
totalwork
sofar,
(sofar/totalwork) * 100 pct_done
from
v$session_longops
where
totalwork > sofar
AND
opname NOT LIKE '%aggregate%'
AND
opname like 'RMAN%';
select
sid,
spid,
client_info,
event,
seconds_in_wait,
p1, p2, p3
from
v$process p,
v$session s
where
p.addr = s.paddr
and
client_info like 'rman channel=%';
Yousef Rifai has published this RMAN monitoring script, quite handy when you need to monitor the status of a long running RMAN backup job:
REM RMAN Progress
alter session set nls_date_format='dd/mm/yy hh24:mi:ss'
select SID, START_TIME,TOTALWORK, sofar, (sofar/totalwork) * 100 done,
sysdate + TIME_REMAINING/3600/24 end_at
from v$session_longops
where totalwork > sofar
AND opname NOT LIKE '%aggregate%'
AND opname like 'RMAN%'
REM RMAN wiats
set lines 120
column sid format 9999
column spid format 99999
column client_info format a25
column event format a30
column secs format 9999
SELECT SID, SPID, CLIENT_INFO, event, seconds_in_wait secs, p1, p2, p3
FROM V$PROCESS p, V$SESSION s
WHERE p.ADDR = s.PADDR
and CLIENT_INFO like 'rman channel=%'
/reference and source:-
http://www.dba-oracle.com/t_monitor_rman_script.htm -
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,
NesanHi 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 -
Hi
I have oracle database (11gR1) 64 bit installed on Windows 2003 R2 64 bit server. MY DB size is almost 152 GB and its running in archive log mode. When i run RMAN online backup , Its taking too much time almost it has taken 22 Hours and still its running , I am not sure why it is consuming this much time ..
I am using below RMAN script ...
run {
allocate channel ch1 type disk;
backup FILESPERSET 32
format 'F:\RMAN_BACKUP\%d_t%t_s%s_FULL' tag Full_DATABASE_07_july_13
(database)
CURRENT CONTROLFILE SPFILE;
SQL "alter system archive log current";
backup FILESPERSET 200
format 'F:\RMAN_BACKUP\ARC_%d_%s_%t'
(archivelog all);
release channel ch1;
Kindly help me and whats wrong in this please tell me . Also tell me if any other information needed ..
Thanks & Regards,
Vikash Jainhi, Till now RMAN backup not completed for single time so i cant tell how long it takes.
I tried with parallelism 2 also but it is also not working.
CONFIGURE DEFAULT DEVICE TYPE TO disk;
# backup goes to disk
CONFIGURE DEVICE TYPE disk PARALLELISM 2;
# three channels used in parallel
CONFIGURE CONTROLFILE AUTOBACKUP ON;
#controlfile and spfile take backup automatically
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'F:\RMAN_BACKUP\%d_t%t_s%s_FULL' MAXPIECESIZE 10G; # 1st channel
CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT 'F:\RMAN_BACKUP\%d_t%t_s%s_FULL' MAXPIECESIZE 10G; # 2nd channel
run {
allocate channel chnnel1 type disk;
allocate channel chnnel2 type disk;
backup database tag Full_DB_090713_With_CH_02;
SQL "alter system archive log current";
backup archivelog all format 'F:\RMAN_BACKUP\ARC_%d_%s_%t';
release channel chnnel1;
release channel chnnel2;
this also having below error ..
RMAN-03009: failure of backup command on chnnel1 channel at 07/12/2013 10:38:31
ORA-19502: write error on file "D:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\86OEH1S5_1_1", block number 1476225 (block size=8192)
ORA-27072: File I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 112) There is not enough space on the disk.
channel chnnel1 disabled, job failed on it will be run on another channel
released channel: chnnel1
released channel: chnnel2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on chnnel2 channel at 07/12/2013 10:42:08
ORA-19502: write error on file "D:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\87OEHG94_1_1", block number 1476097 (block size=8192)
ORA-27072: File I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 112) There is not enough space on the disk.
I checked there is enough space on F drive but still its showing the above error , Also i cant see backup pieces in "F:\RMAN_BACKUP\" location ... I am sure whats wrong with the above script ...
Thanks & Regards,
Vikash Jain -
RMAN backup job showing problems
We have scheduled RMAN backup jobs for Oracle full backups & incremental level 0 & level 1 backup. Among the recent status for jobs, I have found problems for incremental 0 backup for 2nd Dec ’13 and incremental 1 backup for 6th Dec’13. I would elaborate as below:
For 2nd Dec ’13:
The messages showing are-
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/02/2013 01:02:41
ORA-19502: write error on file "/orabackup/rman/snlprod/data_files/7voqfb9a_1_1", block number 763264 (block size=8192)
ORA-27072: File I/O error
For 6th Dec’13:
The messages showing are-
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/06/2013 01:12:00
ORA-19502: write error on file "/orabackup/rman/snlprod/data_files/8moqpt4r_1_1", block number 1135616 (block size=8192)
ORA-27072: File I/O error
Request you to please help me with the reason for these error messages.
I hope, my question is clear.
Please revert with the reply to my query.
RegardsHi,
You should look at your systems logs (/var/log/messages on linux, errpt on AIX) to see which error you have exactly at the OS level.
As Sybrand_b said, it is an error while writing a block on disk, so either a filesystem full or a corrupted block on disk.
Do you have additional error message like follows?
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 112) There is not enough space on the disk
Regards,
Joseph
Maybe you are looking for
-
"a placed instance of this link is modified" though I tried to re-link the same file.
"a placed instance of this link is modified" though I tried to re-link the same file. Problem does not occur when I place the same file in a new indesign document
-
can you run the Xbox 360 using the Macbook Pro as the screen
-
Roles in BP for SAP CRM 4.0 6.2.2.
I have imported the business package for SAP CRM 4.0 6.2.2 in the portal (EP 6.0 SP2). After the import of other business packages the roles provided with the BP could be connected to a group or user by user administration > roles. I cannot find the
-
System: unable to find the specified object.
I am trying to install tomtom 5 for mobile on my 9300i. Installation is fine but when I try to launch the application it gives the following error. system: unable to find the specified object. I am not able to find any work around this. Any idea plea
-
Windows 8.1 clean install
Hello, I have a X1 Carbon 2014 that came with a Windows 8.1 Pro OEM license. I'd like to do a clean install to get rid of the Lenovo bloatware and partitioning scheme. I have two questions: 1) Where do I get the Microsoft official ISO installation di