RMAN to the ASM and network file system

Hi all

I use Oracle RAC 11 g R2 + ASM.
I am new to RMAN, but I am trying to build daily tasks to do below:

1. backup of my database to the FRA located on ASM diskgroup + FRA.
2. at the same time I want to save my database for Network File System (NFS) to be taken by system administrators to an archive location that I can't access. Since according to my knowledge can't copy files to ASM for outside... so for this I'm planing to use the command format of the NFS mount point.
3. on daily basis in the NFS file will be taken by a work (that I am not responsible for) to the Archive, and then it will be purged from this location.
4. I am planing to have my windows of 15 days retention strategy.
5. on every day, I am planing to cross check my backup and then delete the expired so that taken from NFS in the journal of the archives is deleted.

The RMAN I am planing to run it on a daily basis are:
backup incremental level 0 cumulative device type disk tag 'FULL_DB_INCR_LV0' database; -- this will be to the default location (+FRA)
backup incremental level 0 cumulative device type disk tag 'FULL_DB_INCR_LV0' database format 'NFS/oracle/backup%U';--another copy to be taken to the archive location
crosscheck backupset;
delete expired backupset; -- this will delete the backups taken to the Archive location
Now my questions:

1 what good solutions? take account of the fact that I need backup on the file system of the operating system so that the jobs of system administrators take the backup of their archives.
2. If a backup is needed, I use CATALOGUE START WITH to recover and then recover.
3. because my retention period is 15 days, and the backup in NFS files will be deleted on a daily basis, so this retention will apply for backups in ASM, is this a problem?

Hello

Easy way is to use the tag. Find the number of backupset is a difficult task.

Create a template for your tag with a date.

How to use the Substitution Variables of orders RMAN [427229.1 ID]

How to use the tag name of RMAN with different attributes or variables. [580283.1 ID]

You can check which backup doesn't have a copy on NFS using the query below:

SELECT   BS.RECID BSKEY,
  BP.RECID KEY,
  BP.RECID RECID,
  BS.PIECES PIECECOUNT,
  BP.HANDLE FILENAME,
  BP.TAG TAG,
  BP.COPY# COPYNUMBER,
  BP.STATUS STATUS,
  BP.PIECE# PIECENUMBER
FROM V$BACKUP_PIECE BP,
  V$BACKUP_SET BS
WHERE (BP.SET_COUNT = BS.SET_COUNT
AND BP.SET_STAMP    = BS.SET_STAMP)
order by  bskey,copynumber

Tags: Database

Similar Questions

  • tests of the device for the time of the ASM and Network Protocol (NTP)

    Hi all.
    I try to install Infratruction grid Oracle 11 g R2 amd oracle Linux OS but
    I got the following error.

    tests of the device for the time of the ASM and Network Protocol (NTP)
    can someone guide me what should I do for them?

    in RAC 11 GR 2, the option to synchronize the time between the nodes are ntp or ctss.

    If you want to use ntp add the - x option in/etc/sysconfig/ntpd (for example OPTIONS = "-u ntp:ntp Pei /var/run/ntpd.pid x")

    Hope this helps

  • This disc contains a "UDF" file system and requires an operating system that supports the ISO-13346 "UDF" file system specification.

    I've seen other posts on this topic. Nothing seems to work, so I thought I would explain my situation.

    The machine is new. Win7 64 bit company. The problem I see is that I try to load some versions of Visual Studio on the new machine. However, none of the discs auto-run using my local internal DVD drive. They all have a Readme file with the message "this disc contains a"UDF"file system and requires an operating system that supports the ISO-13346"UDF"file system specification."

    I know that the discs are good, I used the on my old machine, and I can always use them on other machines I tested.

    The real kicker here is that I can plug an external USB DVD drive... and then the local drive starts to read the installation discs! It's like making this action allows something else in the machine.

    Also, I even restarted the machine mode of diagnosis (without external DVD drive attached)... and restart, the drive would read the installation discs. BUT when I do a full stop and then turn on the machine upward, the local drive gives me the same readme file. Again, it is as if something gets activated, and then reset to a complete stop.

    I am at a loss of what to check then. Real head-scratcher, because I know the drive works and the machine can recognize the drive and even read installation discs.

    I do not have the applications installed on the machine of DVD burning, so I don't think there is a conflict.

    Any suggestions are welcome.

    Thanks in advance!

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums so the problems occurring on Windows 7 Enterprise.

    Forum TechNet Windows 7

    Hope this information helps.

  • Only biggest advantage of the DSO on Unix file system

    Version: 10 g 2, 11g, 11 2 GR

    If you were asked to mention the single biggest advantage of the DSO on Unix file system format to store the data files. What would you say?

    Hello

    ASM is a logical volume manager, it is not simply a set of file system.

    ASM allow you to connect or Disconnect (add or remove) disk when the Oracle database is running by using the simple SQL statement. I think it is a strong point for the DSO.

    More about ASM balance the load the e/s from disks to improve performance.

    This link will tell you much more:

    http://download.Oracle.com/docs/CD/E11882_01/server.112/e16102/asmcon.htm#OSTMG03601

    Hope this helps.
    Best regards
    Jean Valentine

  • Last year, I bought my laptop and I tried to create a second user account but I placed it somehow this account as the Admin user. I don't remember the password and my file vault is of course.

    Last year, I bought my laptop and I tried to create a second user account but I placed it somehow this account as the Admin user. I don't remember the password and my file vault is of course.

    What password? You can change a password for the account, but if you do not know the FileVault password, you are in a bind. You need to call Apple directly if you their sent an emergency password when configuring the FV.

    For a user account:

    You forgot your password

    Lion or later version

    Reset a password in Mac OS X 10.7 Lion

    OS X Lion mountain - reset a login password,

    OS X Mavericks-solve password problems,.

    OS X Lion-Apple ID can be used to reset your password for the user account.

  • What is the nucleus of a file system for any operating system or file system - at the heart of any os?

    Hello

    What is the nucleus of a file system for any operating system or file system - at the heart of any os? Thank you, BS

    Original title: file system - at the heart of any system

    Hello

    Use Bing or Google to find your answers.

    Here's a little info:

    File system
    http://en.Wikipedia.org/wiki/File_system

    Category: Computer file system
    http://en.Wikipedia.org/wiki/category:Computer_file_systems

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Create a script to list all the .bat and .cmd files with the dir command &

    Hello

    Im trying to create a script that will list all the .bat and .cmd files in a specific folder and add the data to a new file (file.txt) - example below:

    dir c:\>desktop\file.txt/OD
    dir d:\>>desktop\file.txt
    dir f:\jobs\*.bat>>desktop\file.txt/OD

    IM able to search the F drive and the list of all the .bat files using a generic parameter, but ideally id like to search for .bat and .cmd files, but whenever I have it try does not work. Any ideas?

    I tried the following:

    dir c:\>desktop\file.txt/OD
    dir d:\>>desktop\file.txt
    dir f:\jobs\*.bat,*.cmd>>desktop\file.txt/OD

    Any help is appreciated, the reason for which I need to check all the .bat and .cmd files is to ensure that the scripts on a cluster are all data, so need them all listed in a doc if possible

    Thank you

    Hello

    Thank you for visiting the Microsoft answers community site. Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for guys official script Forum. Please ask your question in the official Scripting Guys Forum.

    http://social.technet.Microsoft.com/forums/en-us/iTCG/threads

  • the .c and .h files still open in CVI 9.0 even with CVI 2009 is installed

    I had this problem for a while but have managed to live with her. Since I installed LabWindows/CVI 2009 my .c and .h files still open in LabWindows/CVI 9.0. all .cws, .fp, .uir and .prj files will open in 2009. I tried the files in "file types" remapping and even fiddled with the registry to try to get the .c and .h files to open with the correct version of the CVI. This has been without success.

    Any help would be appreciated.

    Thank you!

    I found myself fixing entering into the registry and change the path to cvi.exe. He was always set the path to the executable file for CVI 9.0. That's what the types of files for .c and .h files were SEO even if I selected the executable file in 2009 of the CVI.

    It seems that the path was never changed when I installed CVI 2009.

    Regards-

    John o ' c

  • I lost the office and all programs-system restore will not work. Now, all I have is a blue screen.

    Original title: I lost the office and all programs-system restore won't work

    I don't know what happened, now all I have is a blue screen, if I click on programs it says 'empty' can not get on anything

    Hello
     
    1. what exactly happens when you try to perform the system restore? If you receive an error message then, send the same return.
    2 have you made changes on the computer before this problem?
     
    Please answer these questions and to provide more specific information on the issue. This could help us help you better.
    The following articles could be useful.
    After the Windows Logo appears or after you log in to Windows, a Windows XP computer cannot display the wallpaper, a black screen or a blue screen
    http://support.Microsoft.com/kb/318027
    When you point to "Programs" on a Windows XP-based computer, the program list does not appear, or the list of programs is empty
    http://support.Microsoft.com/kb/941248

  • Cannot find the left column that used to be on the documents and photo files.

    Cannot find the left column that used to be on the documents and photo files. On this missing column I know was there before, had options fax, copy and other things we could do with these files. I want to get that back. Thank you.

    With my Documents folder open, go to Toolsand then click on Options files . On the general tab, tasks section, choose Show tasks in folders.

    I would like to know if it works. Thank you.

  • Installation of the disk and OCR files voting in ASM

    I am preparing to install clusterware GR 11, 2 and ASM on a pSeries IBM AIX 5.3 running node cluster. My question about placing the files OCR and Vote in ASM disk is what disk group ASM is used? Should I put them in the Group of database files, control files, etc.? Or should I place them in the Group of disks for the log files and the recovery area? Or is it not important?

    I've referenced the Network Infrastructure Setup Guide, but I'm still confused. Any advise will be greatly appreciated. Thank you.

    Published by: CowTown_dba on October 5, 2011 15:27

    CowTown_dba wrote:
    I am preparing to install clusterware GR 11, 2 and ASM on a pSeries IBM AIX 5.3 running node cluster. My question about placing the files OCR and Vote in ASM disk is what disk group ASM is used? Should I put them in the Group of database files, control files, etc.? Or should I place them in the Group of disks for the log files and the recovery area? Or is it not important?

    I've referenced the Network Infrastructure Setup Guide, but I'm still confused. Any advise will be greatly appreciated. Thank you.

    Hello
    Management should use a Diskgroup separated for OCR and Vote. I have the habit of creating a Diskgroup using normal redundancy (3 LUN) to files Clusterware.
    Currently starts is used for different purposes (FRA, ACFS, Clusterware files, database files, etc.) is highly recommended to use a diskgroup for each use. It will make a big difference when you do maintenance on start (like add/remove the disks/diskgroup, duplication, etc.)
    Oracle RAC FAQ:
    Best practices for ASM must have 2 starts. Best practices for OCR to ASM are to have a copy of the OCR in each diskgroup.

    Kind regards
    Levi Pereira

  • I can not long print documents from my iMac/Snow Leopard / HP Laserjet 2300dtn combo. because everytime I try, a message pops up: ERROR: A Fax number is not provided. There is no mention of "fax" in the "print and fax ' file in Prefs system.»

    I use an iMac 2011 under Snow Leopard, but it can no longer print documents via my hp laserjet 2300dtn printer. Reason: whenever I try, a message appears through the PRINT icon in the Dock, read: "ERROR: has not received a Fax number. There is no fax option in the Print & Fax window in the System Prefs so I have no idea about the origin of the error message, but suspect there is corruption in the printing preferences.  So I went username/library/Preferences/com.apple.print.PrintingPrefs plist... and a file is moved to the trash. Unfortunately, the problem is not resolved. I am far away computer and would love advice for this situation.

    Try to reset the printing system.

    Reset the printing system

  • Write and read data from the user's local file system

    Hello

    I write my first extension for dreamweaver. My extension should backup the data on the local file system of the user. I know that I can use DWfile.read () and DWfile.write () as described in Chapter 2 of the Dreamweaver API reference. I store the data using the XML format. What is the best way to read and parse the XML data in the file? What is the best way to write the XML data in the file?

    If you recommend one format other than XML, I'm open to suggestions. The data are only a few configuration information for the extension which should be persisted.

    Thank you

    mitzy_kitty

    How will the data be used? If it is used by JavaScript, use JSON format which includes js. If you use XML, then you will need to find an XML parser to read the data.

    Randy

  • Download of the slightest error of file system on mime_header w "digital error or value".

    I am trying to download a pdf (and xls) file from the linux file system by using this procedure. I have a directory defined for "OFFICIAL REPORTS" in Oracle, and I can verify that the file exists in this directory. The length of the queue is returned, but we get an error on the statement of owa_util.mime_header. Here is the procedure:

    CREATE or REPLACE procedure Web_Download (file_in IN VARCHAR2)
    AS
    l_filename BFILE.
    V_LENGTH NUMBER;

    BEGIN

    l_filename: = BFILENAME ("OFFICIAL_REPORTS", file_in);
    V_LENGTH: = DBMS_LOB.getlength (l_filename);

    dbms_output.put_line (' length of file: ' | v_length);
    --
    BEGIN
    -implement the HTTP header-

    -dbms_lob.open (l_filename, dbms_lob.lob_readonly);

    sys. HTP.init;

    OWA_UTIL.mime_header ("application/octet", FALSE);

    sys. HTP.p ("Content-length: ' |") v_length);

    sys. HTP.p (' Content-Disposition: attachment; filename = "" | ") file_in | '"' );

    OWA_UTIL.http_header_close;

    WPG_DOCLOAD.download_file (l_filename);

    exception
    WHEN no_data_found
    THEN
    BEGIN
    dbms_output.put_line (' end of file reached.) Closing file ');
    END;

    WHILE others
    THEN
    dbms_output.put_line (' error num: ' |) SQLCODE. "message: ' |" SUBSTR (SQLERRM, 1, 64));
    dbms_output.put_line (' another error has occurred.) Closing file ');
    -DBMS_LOB. Close (lob_loc);
    END;
    DBMS_LOB. Close (l_filename);

    END web_rs_download;
    /

    When we run the package in Oracle, we get this dbms_output:
    file length: 2819089
    error num:-6502 message: ORA-06502: PL/SQL: digital error or value
    Another error has occurred. Closing file

    In APEX, we see a download dialog box to open or save the file, but the download is 0 (empty) bytes. We checked the network ACLs, we checked the APEX body for print server settings, we are at a loss. Help, please.

    Not sure what your question is, but it works fine for me view the PDF in a page.

    html text area
    -------------
    < object data = "f? p = & APP_ID.: 1: & APP_SESSION. ": APPLICATION_PROCESS = DO_SHO_PDF:P1_FNAME:test.pdf ' type = ' application/pdf' width ="500"height ="500"> alt: < a href =" f? " p = & APP_ID.: 1: & APP_SESSION. : APPLICATION_PROCESS = DO_SHO_PDF:P1_FNAME:test.pdf "> test.pdf < / a > < / object >"

    Anonymous application, pl/sql block: DO_SHO_PDF

    DECLARE
       l_blob    BLOB;
       l_bfile   BFILE;
    BEGIN
       DBMS_LOB.createtemporary (l_blob, TRUE, DBMS_LOB.SESSION);
       --l_bfile := BFILENAME ('MY_DIR', 'test.pdf');
       l_bfile := BFILENAME ('MY_DIR', v('P1_FNAME'));
       DBMS_LOB.fileopen (l_bfile);
       DBMS_LOB.loadfromfile (l_blob, l_bfile, DBMS_LOB.getlength (l_bfile));
       DBMS_LOB.fileclose (l_bfile);
       OWA_UTIL.mime_header ('application/pdf', FALSE);
       HTP.p ('Content-length: ' || DBMS_LOB.getlength (l_blob));
       OWA_UTIL.http_header_close;
       WPG_DOCLOAD.download_file (l_blob);
    EXCEPTION
       WHEN NO_DATA_FOUND
       THEN
          NULL;
    END;
    

    The file download is similar:
    HTP.p (' download the bin file < a href = "f?) p ='|| v ('APP_ID') | » : 20 :'|| v ('SESSION'): ': APPLICATION_PROCESS = DOWNLOAD_FILE:P20_BINFILE :'|| v ('P20_BINFILE'). ("" "> Download < / a > ');

    Anonymous application, pl/sql block: DOWNLOAD_FILE

    pkg_name. SAVE_FILE;

    -- snippet of pkg
       PROCEDURE save_file is
           l_blob    BLOB;
           l_bfile   BFILE;
        BEGIN
             DBMS_LOB.createtemporary (l_blob, TRUE, DBMS_LOB.SESSION);
             l_bfile := BFILENAME (g_tmp_dir, v('P20_BINFILE'));
             DBMS_LOB.fileopen (l_bfile);
             DBMS_LOB.loadfromfile (l_blob, l_bfile, DBMS_LOB.getlength (l_bfile));
             DBMS_LOB.fileclose (l_bfile);
             owa_util.mime_header('application/octet', False);
             HTP.p ('Content-length: ' || DBMS_LOB.getlength (l_blob));
             htp.p('Content-Disposition: attachment; filename="'||v('P20_DISPLAYNAME')||'"');
             OWA_UTIL.http_header_close;
             WPG_DOCLOAD.download_file (l_blob);
        exception
          when others then htp.p(SQLERRM);
        END;
    

    Published by: maceyah on March 9, 2012 15:03

  • Archived redo logs in ASM or OS file system?

    DB version: 10.2.0.4
    Version of the operating system: Sun Solaris SPARC 5.10


    We are on a node two CARS.
    Currently, we store logs archived in BONE cross mounted file systems. This is the recommended method?
    What we will have if we keep newspapers archived in ASM?

    Ideally, the location of the log archive must be on a shared volume. In solaris, you can use ASM as the shared diskgroup.
    When using the common diskgroup say + ARCH / (you can choose your own name diskgroup, but for the ease I posted like this) for archiving logs, two instances can write to the same location.
    Need a recovery and restore operation, you can simply restore the archivelogs ASM and run recovery.

    Well, there are some other well explained by the experts here. I just did a unique advantage.

    Kind regards
    Mahesh.

Maybe you are looking for