Prepare disks for ASM (data files and FRA)

I intend to place data files on a disc 1 (sd1) and disk2 (PSD) when the backup of files (FRA) on disk3 (SDC). Here's how I'd do:

For data files
Disk1 is divided into a single primary partition (with native Linux what ID 83 not formatted system)
Disk2 is also divided into a single primary partition (with native Linux ID 83 system not formatted)

oracleasm createdisk vol1/dev/sda1
oracleasm createdisk vol2/dev/sdb1

CREATE DISKGROUP DATA EXTERNAL vol1, vol2 REDUNDANCY;


For backup FRA

Disk3 is partitioned into four primary partitions: / Boot (ext3), / (ext3), swap (swap) and /u01 (ext3)

The FRA will be put under the/U01 and then attend the ASM:

oracleasm vol3/dev/sdc4 createdisk
CREATE DISKGROUP DATA EXTERNAL vol3 REDUNDANCY;

Now, the problem. (1) the/U01 has already be formatted in ext3; (2) Oracle (DBMS) software will also be place under/U01

It will be a problem?


Otherwise, I can put FRA on the same drive as the data files, i.e. on disk1 and disk2. In this case, I need to partition the disk 1 in two primary parititions sda1 and sda2 (native Linux system ID 83 not formatted), one for data files and another for FRA (do the same for disk2). The downside is that the data file and the file recovery will be on the same hard drive.


Please offer some suggestions.


Thank you

Scott

PS: in the environment of production, all the disc 1, 2 and 3 will be on hardware RAID 1.

RAID 1 will protect you only a device failure. It won't protect you partition, the file damage system or user errors; It will be in the image of the errors and problems like any other data.

So what happens if you delete by mistake / U01 or some other accident happens and you loose that partition? With your current setup, you will lose everything and will not be able to restore or recover the database. Put tablespaces FRA and DB on the same physical device is certainly a very bad idea, whether or not it is a RAID.

ASM is not a software RAID 1 mirror. It ensures redundancy of data based on file extensions and knows about files of Oracle database, which is a very good thing. You probably do not want to specify 'external redundancy.

In a production system, you'll certainly want to mux the critical data and to store the DB controlfiles, redo logs and finally archivelogs on media separate physically in order to avoid the single point of failures wherever possible. You can use partitions and volumes in ASM, but they should be separate physical drives, otherwise you will bypass the ASM data redundancy. You must also have a solid strategy for RMAN backup. The FRA is supposed to store backupsets RMAN, copies of the image, the important archivelogs and multiplexes of the copies of the database files and should therefore always on a separate physical disk.

Unless you simply play, I strongly suggest that review you your current configuration.

Published by: Dude on June 29, 2012 04:55

Tags: Database

Similar Questions

  • Get the former locations of the data files and Redo logs

    Version: 11.2
    Platform: Solaris 10

    When we manage hundreds of DBs, we do not know the locations of all DB files these allows DBs. say a DB goes down and you have all the required RMAN backups.

    When you restore the DB in a new location in the path of the new server, you must run the commands for the data files and ORLs below. But how do we know

    The former location of the data files.

    B. the old location of redo online stores that I can run

    run
    alter database rename file 'oldPath_of_OnlineRedoLogs' to 'newPath_of_OnlineRedoLogs' ;  --- Without this command , the restored control file will still reflect the old control file location
    run {
    set newname for datafile 1 to '/u04/oradata/lmnprod/lmnprod_system01.dbf' ;
    set newname for datafile 2 to '/u04/oradata/lmnprod/lmnprod_sysaux01.dbf' ;
    set newname for datafile 3 to '/u04/oradata/lmnprod/lmnprod_undotbs101.dbf' ;
    set newname for datafile 4 to '/u04/oradata/lmnprod/lmnprod_audit_ts01.dbf' ;
    set newname for datafile 5 to '/u04/oradata/lmnprod/lmnprod_quest_ts01.dbf' ;
    set newname for datafile 6 to '/u04/oradata/lmnprod/lmnprod_yelxr_ts01.dbf' ;
    .
    .
    .
    .
    .
    }

    Hello

    With the help of Oracle 11.2, you can use feature 'set newname for database' using OMF.

    SET NEWNAME FOR DATABASE TO '/oradata/%U';
    RESTORE DATABASE;
    SWITCH DATAFILE ALL;
    SWITCH TEMPFILE ALL;
    RECOVER DATABASE;
    

    After the restore and recover databases (i.e. before resetlog open) you can do to rename redolog. Just a query column member from v$ logfile and deliver ' alter database rename file 'oldPath_of_OnlineRedoLogs' to 'newPath_of_OnlineRedoLogs ';

    When we use the DSO is much easier to use OMF because Oracle automatically creates the directory structure.
    But when we use the file system that the OMF does not serve due DBA dislikes system generated on file system names.

    If you don't like OMF file system, you can use the script on thread below to help restore you using readable for datafile names, tempfile, and redo.

    {message: id = 9866752}

    Kind regards
    Levi Pereira

  • A SCN for the entire database and the different SNA for the data files?

    DB Version: 11 g

    I always thought that there is a unique SCN for the database as a whole.
    A quote from the link below as
    When a control point is completed, Oracle stores the RCS individually in the control for each data file file
    http://www.dbapool.com/articles/1029200701.html


    What does that mean? There is a SNA for the entire database, and there are individual SCN for each data files?

    Well, unfortunately, the article says more bad than good things. Or if I can't call them wrong, they are rather confusing and rather than clear things for the reader, its making them appear to look more confused.

    First things, YVERT is used for read consistency (CR) mechanism and the backbone of the notion of Multiversioning. The control point is the mechanism to help that recovery is decided. Contrary to what said article, not any kind of checkpoints update both the data file and the control file, and also, there is not a type of them as well. In addition, the article says that the LAST_CHECKPOOINT is set to NULL, while its actually set to the infinity since it is not possible to detect the moment when the database is opened, that the last issue of control over the file would be. In the case of complete control point, this number is saved and is also associated with the toa Controlfile own database leader at the next startup. If this is not the case, there is an inconsistency in the stop_checkpoint of the data file and the stop_checkpoint reocrded in the control file, leading to a recovery of the instance.

    There are several types of control points. Similarly, there are several types of SNA as well. Without going into the details of these, IMO, the article simply means that when the control point write over a file passes, oracle updates the file checkpoint on it and this is recorded in the Controlifle. as well.

    HTH
    Aman...

  • ASM data file management.

    Hello

    I have 44 physical disks in ASM diskgroup and I checked the datafiles iostat, GST of some readers are high, how can manage ASM data files to load everything also.

    Kind regards

    Adil

    You mean a dynamic rebalancing?

    http://docs.Oracle.com/database/121/OSTMG/GUID-BDD32332-6C0C-4F1B-A1E4-78A57323B8B0.htm#OSTMG94072

  • 2 data files and objects

    Hi all. Suppose I have a tablespace 'users' wich consists of 2 data files on different disks. How do I manage objects to improve performance, how to define this table must be in the first data file and table B in the second file? How to do such a thing? (B-)

    Published by: Junior sysdba on October 6, 2008 22:27

    Hello
    When we create an object in any tablespace, Oracle server itself selects the data file in the tablespace randomly and we cannot specify the data file for a particular object as a table. But it is when the object was created. Actually the server looks in the first available memory contiguous tfor storage.
    But we can actually manage the insertion of data in the object as table as data for a specific table should go to any particular data file. To do this follow these steps.
    1. before inserting data to estimate the size of data to insert.
    2. depending on the size use statement "Alter table allocate extended (datafile...)" to manually allocate scopes in advance.
    3 insert the data.

    This will ensure that the data are inserted in the extents allocated to a particular data file.

    Kind regards
    Navneet

  • OFA confuses me - why the points for editing data files 3?

    Hello

    I met lately about this statement:

    Table D-7 shows a hierarchical mapping of files of a compliant installation OFA sample with two directories of Oracle base and two databases. The database files are spread over three mount points, / U02, /u03 and /u04.



    of http://docs.oracle.com/html/B10811_05/app_ofa.htm

    My question is:
    Why three mount points (/ u02, /u03 and /u04) for the data files? Don' understant this.
    is it not better to store all the data files in a mount point?

    Although separate mount points don't necessarily mean that they are mounted on different tables, or readers, what examples are involving. Systems are often configured in this way for a number of reasons such as performance or recovery (ie. multiplexing of your recovery logs, or by placing data files for certain tablespaces on their own tables or units). The documentation is illustrating how be OFA compliant in this scenario.

  • CAN I RECOVER DELETED DATA FILE AND ITS TABLESPACE BY USING FLASHBACK DATABASE

    Hello!

    I CREATED THE TABLESPACE WITH ITS DATA FILE.

    SQL > create tablespace usmantbs datafile 'E:\oracle\product\10.2.0\oradata\orcl\usman.dbf' recording petit_fichier the size of 10 M extent management local segment space management auto;

    THEN, I CREATED A USER AND HIM ENTRUST THIS TABLESPACE.

    SQL > create default profil_utilisateur identified by Neil Leal Microsoft account unlock default tablespace usmantbs;
    SQL > grant connect, resources for Neil;

    I CONNECTED WITH Neil as USER AND CREATED a TABLE.

    SQL > conn Leal/Leal
    SQL > create table baseball (id number (9));

    SQL > select current_scn from v$ database;

    CURRENT_SCN
    ---------------------
    545863

    Then I deleted the tablespace including contents and data files...

    SQL > drop tablespace usmantbs including content and data files;

    I have no backup of this data file, but my database is in archive log...

    So I can... .flashback database to the SNA 545863 as it was before the fall... to get back my along its tablespace data file
    Wil I get my datafile back or not? Help, please...

    You can test it by yourself easily :) You will not be able to open your database
    After getting the error, just rename this data file and flashback again. Then open your database

    C:\Documents and Settings\Administrator>sqlplus "/as sysdba"
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Aug 1 14:20:34 2009
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  293601280 bytes
    Fixed Size                  1248624 bytes
    Variable Size              96469648 bytes
    Database Buffers          192937984 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    
    SQL> alter database archivelog;
    
    Database altered.
    
    SQL> alter database flashback on;
    
    Database altered.
    
    SQL> alter database open;
    
    Database altered.
    
    SQL> create tablespace tb datafile 'c:\tb.df' size 1m;
    
    Tablespace created.
    
    SQL> create user tb identified by tb;
    
    User created.
    
    SQL> grant dba to tb;
    
    Grant succeeded.
    
    SQL> alter user tb default tablespace tb;
    
    User altered.
    
    SQL> create table tb (id number);
    
    Table created.
    
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
         547292
    
    SQL> drop tablespace tb including contents and datafiles;
    
    Tablespace dropped.
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  293601280 bytes
    Fixed Size                  1248624 bytes
    Variable Size              96469648 bytes
    Database Buffers          192937984 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    
    SQL> flashback database to scn 547292;
    flashback database to scn 547292
    *
    ERROR at line 1:
    ORA-38795: warning: FLASHBACK succeeded but OPEN RESETLOGS would get error
    below
    ORA-01245: offline file 5 will be lost if RESETLOGS is done
    ORA-01111: name for data file 5 is unknown - rename to correct file
    ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005'
    
    SQL> alter database open resetlogs;
    alter database open resetlogs
    *
    ERROR at line 1:
    ORA-01245: offline file 5 will be lost if RESETLOGS is done
    ORA-01111: name for data file 5 is unknown - rename to correct file
    ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005'
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSTEM01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\USERS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005
    
    SQL> alter database create datafile 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005' as 'c:\tb.dbf';
    
    Database altered.
    
    SQL> flashback database to scn 547292;
    
    Flashback complete.
    
    SQL> alter database open resetlogs;
    
    Database altered.
    
    SQL>
    
    SQL> select * from tb;
    
    no rows selected
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSTEM01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\USERS01.DBF
    C:\TB.DBF
    
    SQL> select name from v$tablespace;
    
    NAME
    ------------------------------
    SYSTEM
    UNDOTBS1
    SYSAUX
    USERS
    TEMP
    TB
    
    6 rows selected.
    
    SQL>
    

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com
    [Step by step installation Oracle Linux and automate the installation by using Shell Script | http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

    Published by: Kamran Agayev, a., July 27, 2009 14:38

  • Enter the value for the data files:

    Hi all
    I use 10.2.0.1.0
    I have a tablespace "hg" with two data files.
    whenever I use after an order to drop this tablespace I hv asked values for data files
    Welcome is:

    SQL > drop tablespace hg, including content and data files;

    SQL > drop tablespace hg, including content and data files;

    I have two data files to the tablespace named as hg.dbf, hg1.dbf

    now what I hv value to enter? or how to calculate the value.


    Thank you

    Honey says:
    Yes I know its 'AND' but when I using the '&' then oracle asked me of ' enter the values of the data files: "k".
    Please try first, then the calculation of the value.
    It can be a variable binding value.
    If you find the answer please suggest steps

    Simple words, the "DROP TABLESPACE" command does not support '&' character. & is a substitution of placeholder for SQL variable * more.

    Even if you provide the value for the "data files" prompt, the command does not work as it would lead to "drop tablespace including contents tsname *"details of your file *.

  • Y at - it an easy way to have a version number that the code VI has access to, and which is used as the version number for the executable file and the installer builds?

    Y at - it an easy way to have a version number that the code VI has access to, and which is used as the version number for the executable file and the installer builds? Now whenever I update my software I need to change the global variable where I store the version number, and then when I build I have in hand, open the properties and change the version number for the executable file and the installer. Is there an easy way to make these as all corresponding automatically?

    Have you tried a search? This question comes up a LOT. Here are the results of a search: http://forums.ni.com/t5/forums/searchpage/tab/message?location=Node%3A170&q=application+version#mess...

  • Do I need another new Windows Update to activate my Windows Vista to access the free secure recommended downloadable program for downloading various files and any other information you want?

    Original title: I need an another new Windows Update to activate my Windows Vista to access the downloadable recommended secure free program for downloading various files and any other information you want? Thank you! Randle

    Please help if you have the time giving me the name of a free secure downloadable software that works for Windows Vista, when the word is not on my PC for

    downloadind attached to power open, save, display, print and other means that this downloadable can help. I would be very grateful for your help! I works but not Word and PowerPoint if you have any suggestions that will be very solve my delimma of not be able to successfully download these things I just Gillies

    Your expert advice, patience, attention to my request, time, are all valuable and appreciated! Thanks again and have a wonderful day! Randle

    Hello Randle,

    You can use your favorite search engine & download any third-party software that might be used to.


    Note:
    this response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there.

    Hope the helps of information.

  • How can I change my fill of tru for the pdf file and the sign? It will never change.

    How can I change my fill of tru for the pdf file and the sign? It will never change.

    In Adobe fill & sign you can add text, checkmarks, an X, a point and a circle and sign documents.  It does not "change" the existing content of the document.  Here is a tutorial: Tutorial: Introduction to Adobe fill & sign

    Thank you

    Josh

  • HOW TO BURN A SINGLE ON A CD - R DATA FILE (GUARD TRY TO BURN A DVD WHEN THE CD - R DISC AND HAS ALSO NO PROVISION FOR SIMPLE DATA FILES)

    Windows Media Player to burn a DVD when a CD - R's in the magazine.  When the BURN is a right-click in WMP to select media, it seems to focus on one single image copy copy not the program data we downloaded from BluRay to update firmware of the Blu - Ray player.

    We continue back to back up our files, but there seems to be only a reproduction of images of WMP.  I know, Windows MEDIA player!

    Suppose we wanted to save a simple letter printed on a cd - r?  I'm sure I'm missing SOMETHING!  And now I can not find disk "F" which is the reader, we used to use CD for (I'm already grey) "»

    You do not use Windows Media Player to burn data files. Start - Help and Support has lots of info on how to burn a file (search on Burns). Click right file - send to - .

    Read the help.

  • Need data files and rules file to create and load data for sample.basi

    I need emergency data files to build dimensions dynamically and also the rule files for loading data to the application Sample.Basic for Essbase 9. Kindly let me know if anyone can provide them. Otherwise any link frm where I can get it?

    Thanks in advance.

    Outline and all the data (calcdat.txt) are included in the zip, so you don't need to rebuild something with the loading rules

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Defining the new path for the data files for restoring using the VALUE of NEWNAME FOR DATABASE

    Version: 11.2.0.3 Linux

    Today, I had to do a restore RMAN to a new server and I came across the post following RTO on the VALUE of NEWNAME FOR DATABASE

    ALTER database open resetlogs upgraded;         error to throw

    So, I thought to use it to indicate the new location of the data files to restore.

    That's what I did
    ===================

    Restore the control file and catalog items to backup using the command of CATALOGUE START WITH. Then I started the restoration
    $ rman target / cmdfile=restore.txt
    
    Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jul 26 04:40:41 2012
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: SPIKEY (DBID=2576163333, not open)
    
    RMAN> run
    2>  {
    3>  SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey';
    4>  restore database  ;
    5>  }
    6>
    7>
    8>
    executing command: SET NEWNAME
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of set command at 07/26/2012 04:40:43
    RMAN-06970: NEWNAME '/fnup/hwrc/oradata/spikey' for database must include %f or %U format
    
    Recovery Manager complete.
    Don't know how it worked for Levi without %f or %U. So, I added %f
     $ vi restore.txt
     $ cat restore.txt
    run
     {
     SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey/%f';
     restore database  ;
     }
    
    
     $ rman target / cmdfile=restore.txt
    
    Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jul 26 04:45:45 2012
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: SPIKEY (DBID=2576163333, not open)
    
    RMAN> run
    2>  {
    3>  SET NEWNAME FOR DATABASE TO '/fnup/hwrc/oradata/spikey/%f';
    4>  restore database  ;
    5>  }
    6>
    7>
    8>
    executing command: SET NEWNAME
    
    Starting restore at 26-JUL-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=19 device type=DISK
    
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /fnup/hwrc/oradata/spikey/1
    channel ORA_DISK_1: restoring datafile 00002 to /fnup/hwrc/oradata/spikey/2
    channel ORA_DISK_1: restoring datafile 00003 to /fnup/hwrc/oradata/spikey/3
    channel ORA_DISK_1: restoring datafile 00004 to /fnup/hwrc/oradata/spikey/4
    channel ORA_DISK_1: restoring datafile 00005 to /fnup/hwrc/oradata/spikey/5
    channel ORA_DISK_1: restoring datafile 00006 to /fnup/hwrc/oradata/spikey/6
    channel ORA_DISK_1: restoring datafile 00007 to /fnup/hwrc/oradata/spikey/7
    channel ORA_DISK_1: restoring datafile 00008 to /fnup/hwrc/oradata/spikey/8
    channel ORA_DISK_1: restoring datafile 00009 to /fnup/hwrc/oradata/spikey/9
    channel ORA_DISK_1: reading from backup piece /u07/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk
    channel ORA_DISK_1: errors found reading piece handle=/u07/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk
    channel ORA_DISK_1: failover to piece handle=/u07/dump/bkpfolder/SPIKEY_full_01nh0028_1_1_20120725.rmbk tag=SPIKEY_FULL
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:56
    Finished restore at 26-JUL-12
    
    Recovery Manager complete.
    As you can see, RMAN restore data files to the desired location. But the data file names ended up as
    1
    2
    3
    .
    .      
    .
    9
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -----------| Holy Cow |-----------------------------


    So I had to rename each file as below
    $ mv 1 /fnup/hwrc/oradata/spikey/system01.dbf
    $ mv 2 /fnup/hwrc/oradata/spikey/sysaux01.dbf
    $ mv 3 /fnup/hwrc/oradata/spikey/undotbs01.dbf
    I would have been better in execution of the order for each data below file
    SET NEWNAME FOR DATAFILE
    Now, I think, there is no advantage in using NEWNAME SET of DATABASE to. Only the disadvantages. I did anything wrong above?

    Martin;

    On the issue of the VALUE of NEWNAME FOR DATABASE, you must specify at least one of the first three of the following substitution variables to avoid collisions of names: %b f % U. see semantic entry for TO 'filename' for a description of the possible substitution variables.

    You use %f

    %b
    
    Specifies the filename without the fully qualified directory path. For example, the datafile name /oradata/prod/financial.dbf is transformed to financial.dbf. This variable enables you to preserve the names of the datafiles while you move them to different directory. During backup, it can be used for the creation of image copies. The variable cannot be used for OMF datafiles or backup sets.
    
    %f
    
    Specifies the absolute file number of the datafile for which the new name is generated. For example, if datafile 2 is duplicated, then %f generates the value 2.
    
    %U
    
    Specifies a system-generated unique filename. The name is in the following format: data-D-%d_id-%I_TS-%N_FNO-%f. The %d variable specifies the database name. For example, a possible name might be data-D-prod_id-22398754_TS-users_FNO-7.
    

    Source - E10643-01

    Backup and recovery reference

    http://docs.Oracle.com/CD/E14072_01/backup.112/e10643/rcmsynta2014.htm

    I see CKPT and I agree on that!

    Best regards

    mseberg

  • A loop of several data files and save in respect of each

    Here's what I'm trying to do, I have a file, Indesign CS5.5 basis, which we'll call the master file.  I have several data files of text delimited by tabs that contain a column engines and ReplaceWith.  I have the script so that I can take 1 text file and it goes through the InDesign file and made all the changes based on the text file.  What I need for the script to be able to do, is instead of asking the 1 text file:

    1. it prompts for a folder that contains all my text files

    2 begins by the first text file and not the FindReplace I already work based out of the main file in Indesign.

    3. Once finished the first text file, make a backup - from the Indesign file updated with any changes.

    4 file Indesign Master returns to the original state, less the changes is ready for the next text file.

    5. move the following text file and bounce the find/replace on the original master Indesign file.

    And then basically the steps 3-5 in loop until all text files have been processed.

    As I said, I did the process for one file at a time, I just need to make sure it can browse a lot of them without someone needing to keep this.

    Thank you!

    Something to help you get started:

    var inputFolderPath = "/path/to/folder",
        outputFolderPath = "/path/to/other/folder",
        templatePath = "/path/to/template.indd",
        inputFolder = new Folder(folderPath),
        outputFolder = new Folder(outputFolderPath),
        template = new File(tempatePath),
        files = inputFolder.getFiles(),
        file, fileString, doc, idName, i, l;
    
    outputFolder.create();
    for (i = 0, l = files.length; i < l; i++) {
        file = file.open('r');
        idName = file.displayName.replace(/\.[^\/.]+$/, '') + ".indd";
        fileString = file.read();
        file.close();
        doc = app.open(template);
        doYourStuff(doc, fileString);
        doc.save(outputFolder + "/" + idName);
        doc.close();
    }
    

    It would be files InDesign versioned the same name as the input text file but with the extension ".indd". You may need to consider to filter files in the getFiles() call, if you have files in your input file types, you do not want to deal with. It is clearer to all re - open the file of model on the disk, rather than come back and which is the same.

    Jeff

Maybe you are looking for

  • How to make a Multiplot of PDM file

    Hello I created from a vector network as TDMS data files Analyzer. now, I need to plot these data to compare and display it in a table multiPlot. Concerning

  • Download the photos from a CD on my laptop

    I was at Wal-Mart, scanned a few photos, pictures had put a CD at Wal-Mart. I can't take pictures on CD to my laptop. What should I do to download pictures on my laptop (Windows Vista, Home and Business 2010)?

  • Have a colored on my laptop screen lines

    Original title: problem laptop I have colored lines on my laptop up and down. operating system is Windows vista. I need your help. Tthanks

  • updates, phone suspended, zooming 12mp camera, slow running,

    Please send me the update of 4.3jelly beans, I have a problem returning in camera zoom not clear, the hanging of phone, the battery quickly empty, please give stamina, Ian using sony xperia ion lt28hion mode, 3gmodel, ram only show 640Mo another 600

  • Help with the substitution of the ButtonBack to include a yes / no dialogue

    I'm showing the Yes No dialog box when the button is pressed in a webworks blackberry application. That of all on the page loading and works very well when I put just a warning instead of the YES / no dialog box. However when I don't put in the dialo