"SET NEW NAME" RMAN

Hi All,
I am cloning a database (on a windows server having different directory structure) using a RMAN backup, my database has got around 150 db files, so when I am restoring the same using RMAN, in order to let the control file know my new datafile location (which is of course different than that of my source database), I use SET NEWNAME for DATAFILE n to 'LOCATION\file_name.dbf'.
Now if there are handful of datafiles in my db then I dont mind doing this, but what if the number of files are like 100 +, is there any way through which I can do it rather than manually putting in every entry in the SET NEWNAME command??
Regards,
Ajinkya

You can use the DB_FILE_NAME_CONVERT andLOG_FILE_NAME_CONVERT initialization parameters.
HTH!

Similar Messages

  • Set new name in RMAN

    Hi,
    We have 12 TB of data to be restored from PROD to DEV.
    In Prod, we have ASM having 12TB of space and in DEV, we have 2 filesystem (DATA1 & DATA2) shares 6TB each.
    We used the below script for RMAN restore using set new name to restore it to the different locations in DEV:
    connect target /
    run
    sql "alter session set optimizer_mode=RULE";
    allocate channel c1 device type disk;
    allocate channel c2 device type disk;
    allocate channel c3 device type disk;
    allocate channel c4 device type disk;
    allocate channel c5 device type disk;
    allocate channel c6 device type disk;
    allocate channel c7 device type disk;
    allocate channel c8 device type disk;
    allocate channel c9 device type disk;
    allocate channel c10 device type disk;
    allocate channel c11 device type disk;
    CATALOG START WITH '/oracle/backup/ora-prod-ebs/RMAN/EBSGOLD_08062013';
    set until time "to_date('2013-JUL-14 01:00:00','YYYY-MON-DD HH24:MI:SS')";
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/a_media08.dbf' to '/oracle/oradata/VMWDEV1/DATA1/VMPRD/a_media08.dbf';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/a_media02.dbf' to '/oracle/oradata/VMWDEV1/DATA1/VMPRD/a_media02.dbf';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/a_media03.dbf' to '/oracle/oradata/VMWDEV1/DATA1/VMPRD/a_media03.dbf';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/a_media04.dbf' to '/oracle/oradata/VMWDEV1/DATA1/VMPRD/a_media04.dbf';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/a_media05.dbf' to '/oracle/oradata/VMWDEV1/DATA1/VMPRD/a_media05.dbf';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/apps_ts_tx_idx.521.799600075' to '/oracle/oradata/VMWDEV1/DATA1/VMPRD/apps
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/sysaux.344.809874457' to '/oracle/oradata/VMWDEV1/DATA2/VMPRD/sysaux.344.809874457';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/apps_ts_tx_data.343.810623133' to '/oracle/oradata/VMWDEV1/DATA2/VMPRD/apps_ts_tx_data.343.810623133';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/apps_ts_tx_data.342.810623199' to '/oracle/oradata/VMWDEV1/DATA2/VMPRD/apps_ts_tx_data.342.810623199';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/apps_ts_tx_data.341.810623265' to '/oracle/oradata/VMWDEV1/DATA2/VMPRD/apps_ts_tx_data.341.810623265';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/apps_ts_tx_data.340.810623327' to '/oracle/oradata/VMWDEV1/DATA2/VMPRD/apps_ts_tx_data.340.810623327';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/apps_ts_tx_data.339.810623399' to '/oracle/oradata/VMWDEV1/DATA2/VMPRD/apps_ts_tx_data.339.810623399';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/apps_ts_tx_data.338.810623475' to '/oracle/oradata/VMWDEV1/DATA2/VMPRD/apps_ts_tx_data.338.810623475';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/apps_ts_tx_data.337.810623543' to '/oracle/oradata/VMWDEV1/DATA2/VMPRD/apps_ts_tx_data.337.810623543';
    SET NEWNAME FOR DATAFILE '+DATA/stbyprod/datafile/apps_ts_tx_data.336.810623611' to '/oracle/oradata/VMWDEV1/DATA2/VMPRD/apps_ts_tx_data.336.810623611';
    restore database;
    switch datafile all;
    recover database delete archivelog;
    alter database open resetlogs;
    But, unfortunately all the files were getting restored to only one of the filesystem DATA1 and not to DATA2 at all.
    Hence, RMAN restore failed with the following error since no space is available in DATA1
    channel c9: ORA-19870: error while restoring backup piece /oracle/backup/ora-prod-ebs/RMAN/EBSGOLD_08062013/vmwprod_full_backup_JUN8_VMWPROD_34228_1
    ORA-19502: write error on file "/oracle/oradata/VMWDEV1/DATA1/VMPRD/a_txn_data01.dbf", block number 523904 (block size=8192)
    ORA-27072: File I/O error
    Linux-x86_64 Error: 28: No space left on device
    Additional information: 4
    Additional information: 523904
    Additional information: -
    failover to previous backup
    Please help us to solve this issue.
    DB Version: 11.2.0.3

    Hi,
    It is hard to say anything with an incomplete script and without the RMAN restore output/log.
    If they are too large to post here, you can upload it somewhere, e.g pastebin.com.
    It is very unlikely that Oracle ignored DATA2 in your script and replaced it to DATA1 on all occurences...

  • Create a database from 32bit rman backup with NEW name on a 64bit system

    Hello,
    i'm more programmer than database admin but i need to set up a 10gR2 apex development server based on our productive instance in a short time.
    For that i want to use a rman backup of the productive machine (SLES 10 32bit, DB10GR2+ASM, APEX 3.1).
    Because of the less time i got, i want to use an existing machine (SLES 11 64bit, DB10GR2+ASM) as destination.
    On this machine i want to create a new instance from the backup i took. I Already read note 881395.1 but i'm quite unsure about 2 things
    a) It's VERY IMPORTANT that the development instance has another name than the productive instance.
    When i follow 881395.1 and set the enviromental variable ORACLE_SID to another new name. Will this be all? Or will there be problems using another SID because of references in the controlfile or sth. like that?
    b) It's VERY IMPORTANT that the datafiles aren't stored in the same path and with the same names as the productive instance. It is another server but there is already a copy of the database (our dba tried to set up a standby solution on this machine) and i don't want to bother this!
    How can i rename the datafiles before restoring the backup from scatch?
    I found this: set newname for datafile 1 to '<filesystem based filename>';
    Will this help? Do i need to rename every single file? Or is it possible to set a path in which all datafiles will be restored?
    c) What about the 32bit to 64 bit thing? Will this work? Or do i need to convert the database? How? RMAN Convert?
    Or could RMAN convert anyhow used to realize the whole thing?
    Thank you very much for your support!
    Regards
    Daniel

    Hello,
    i'm more programmer than database admin but i need to set up a 10gR2 apex development server based on our productive instance in a short time.
    For that i want to use a rman backup of the productive machine (SLES 10 32bit, DB10GR2+ASM, APEX 3.1).
    Because of the less time i got, i want to use an existing machine (SLES 11 64bit, DB10GR2+ASM) as destination.
    On this machine i want to create a new instance from the backup i took. I Already read note 881395.1 but i'm quite unsure about 2 things
    a) It's VERY IMPORTANT that the development instance has another name than the productive instance.
    When i follow 881395.1 and set the enviromental variable ORACLE_SID to another new name. Will this be all? Or will there be problems using another SID because of references in the controlfile or sth. like that?
    b) It's VERY IMPORTANT that the datafiles aren't stored in the same path and with the same names as the productive instance. It is another server but there is already a copy of the database (our dba tried to set up a standby solution on this machine) and i don't want to bother this!
    How can i rename the datafiles before restoring the backup from scatch?
    I found this: set newname for datafile 1 to '<filesystem based filename>';
    Will this help? Do i need to rename every single file? Or is it possible to set a path in which all datafiles will be restored?
    c) What about the 32bit to 64 bit thing? Will this work? Or do i need to convert the database? How? RMAN Convert?
    Or could RMAN convert anyhow used to realize the whole thing?
    Thank you very much for your support!
    Regards
    Daniel

  • Setting the name of a new object from a string

    Is there anyway I can set the object name of a newly created
    object from a string?
    eg.
    (the code below generates a compile time error on the
    variable declaration)
    public function addText(newTxt:String, txt:String,
    format:TextFormat):void {
    var
    this[newTxt]:TextField = new TextField();
    this[newTxt].autoSize = TextFieldAutoSize.LEFT;
    this[newTxt].background = true;
    this[newTxt].border = true;
    this[newTxt].defaultTextFormat = format;
    this[newTxt].text = txt;
    addChild(this[newTxt]);
    called using>
    addText("mytxt", "test text", format);
    I could then reference the object later on without using
    array notation using mytxt.border = false; for example
    There are many a time when I want to set the name of a new
    object from a string.
    In this example I have a function that adds a new text object
    to a sprite.
    The problem is, if I call the function more than once then
    two textfield objects will exist, both with the same name. (either
    that or the old one will be overwritten).
    I need a way of setting the name of the textfield object from
    a string.
    using
    var this[newTxt]:TextField = new TextField()
    does not work, If I take the "var" keyword away it thinks it
    a property of the class not an object.
    resulting in >
    ReferenceError: Error #1056: Cannot create property newTxt on
    Box.
    There must be a way somehow to declare a variable that has
    the name that it will take represented in a string.
    Any help would be most welcome
    Thanks

    Using:
    var this[newTxt]:TextField = new TextField()
    is the right approach.
    You can either incrment an instance variable so that the name
    is unique:
    newTxt = "MyName" + _globalCounter;
    var this[newTxt]:TextField = new TextField();
    globalCounter ++;
    Or store the references in an array:
    _globalArray.push(new TextField());
    Tracy

  • I renamed my Apple ID with new name but the old password is no more working. What should I do ? After renaming I am getting pop up message regarding icloud on my screen but I am unable to set off the message box now

    I renamed my Apple ID with new name but the old password is no more working. What should I do ? After renaming I am getting pop up message regarding icloud on my screen but I am unable to set off the message box now

    What to do after you change your Apple ID email address or password - Apple Support
    ÇÇÇ

  • NEW 9I RMAN: PERSISTENT CONFIGURATION PARAMETERS - INTRODUCTION

    제품 : RMAN
    작성날짜 : 2001-11-09
    NEW 9I RMAN: PERSISTENT CONFIGURATION PARAMETERS - INTRODUCTION
    ===============================================================
    오라클 9i 부터는 RMAN 에서 항상 사용되는 파라미터 세팅을 고정적으로 할 수 있게
    되어 매번 파라미터를 주어야 하는 수고를 하지 않아도 된다.
    Persistent Configuration Parameters 기능은 RMA 에 다음과 같은 변화를 주었다:
    * RMAN 에서 파라미터의 디폴트를 DBA 가 커스터마이징 할 수 있게 되어 사용이 편리해졌다.
    * 한번 커스터마이징한 파라미터는 모든 Job 에 적용이 된다.
    * DBA 는 'BACKUP DATABASE' 명령어 하나만으로 RMAN 에서 데이터베이스 백업을 수행
    할 수 있게 되었다.
    * 오라클 9i 의 CONFIGURE 명령어는 RMAN 의 default setting 을 영구적으로 바꾸어 준다.
    * 파라미터의 값은 컨트롤파일에 저장이 되며 필요한 경우에는 리커버리 카다로그와 맞추어
    주는 과정이 필요하다.
    오라클 9i RMAN 에서는는 'show' 명령어로 현재의 파라미터 세팅을 확인 할 수 있다.
    SHOW show_operand [,show_operand ...];
    show_operand: RETENTION POLICY |
    EXCLUDE |
    BACKUP COPIES |
    CHANNEL |
    DEFAULT DEVICE TYPE |
    DEVICE TYPE |
    SNAPSHOT CONTROLFILE |
    ALL
    'show all' 명령어로 현재의 모든 세팅을 확인 한다.
    RMAN> show all;
    using target database controlfile instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # 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 SNAPSHOT CONTROLFILE NAME TO '/beta/app/oracle/product/9.0.1/dbs/snapc
    f_V901.f'; # default
    이렇게 Persistent Configuration Parameters 를 세팅하기 위해서는 스크립트를 만들어
    수행 하는 것이 좋다:
    run {
    # Use the configure commands to create your backup policy.
    # When complete these will be the new persistent
    # configuration parameters for RMAN in the controlfile
    # of the target datbase.
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
    '/proj/SME9i/backup/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/proj/SME9i/backup/snapf_prod9.f';
    이렇게 스크립트를 수행 한 후에 결과를 확인 하기 위해서는:
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
    '/proj/SME9i/backup/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/proj/SME9i/backup/snapf_prod9.f';
    결과는 위와 같다.
    --------------THE END------------------------------------------------------

    Search button?!?!
    Re: seek some good documents on Recovery MANager  to start with
    Aron

  • MS Word: This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box.

    This is not a question. I believe I've found a new issue and the fix for it.
    The situation:
    A brand new iMac 27" running Yosemite 10.10.1
    MacMini server running 10.8.5 server.
    The issue:
    Client on iMac trying to work on MS Word documents stored on server was requiring him to save the documents to his desktop and then copy them back to the folder on the server. The exact error message was, "This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box."
    The issue is unique to this computer in an office of 10 client computers and three servers.
    Attempted fixes:
    Verified that the ".Temporaryitems" folder existed and the permissions were set properly.
    Repaired permissions on the client and the network share.
    Definitive fix:
    By default, Yosemite 10.10.1 uses SMB for connecting file shares. When I overrode the default and switched to AFP protocol, the issue went away.
    I hope this helps someone else.
    Rob

    That was it. What an operating system. It is very helpful to view files you are looking for. But if you have preview on you cannot save files.

  • NEW 9I RMAN: BACKUP OPTIMIZATION AND RETENTION POLICIES

    제품 : RMAN
    작성날짜 : 2004-05-20
    NEW 9I RMAN: BACKUP OPTIMIZATION AND RETENTION POLICIES
    =======================================================
    오라클 9i RMAN 에서는 백업을 보다 효율적으로 할 수 있는 기능을 보강 했다.
    지금 소개할 "Retention Policies" 기능을 통해서 보다 효율적인 RMAN 백업
    전략을 세울 수 있다.
    1. 백업 화일 최적화 방법 (Backup File Optimization)
    백업 화일 최적화란 백업에 소요되는 공간을 최소화 하는 전략이다. RMAN
    백업시에 같은 정보 (dbid, checkpoint, and resetlogs data 등등) 를 가지고 있는
    화일이 이미 존재하는 백업 셋 내부에 있는지 체크하게 된다. 만일 같은 화일이
    이미 백업 되어 있다면 BACK UP 명령은 해당 화일에 대해서는 백업을 하지 않게
    된다.
    이때 같은 화일이라고 판단하는 기준은 다음과 같다.
    * Datafile: 같은 DBID, checkpoint SCN, resetlogs SCN 과 time. 데이타 화일은
    반드시정상적으로 offline 되었거나, read-only 이거나, 또는 정상적 으로 close
    되어야 함.
    * Archived redo log: 같은 thread, sequence number, 그리고 같은 Resetlogs
    SCN 과 time.
    * Backup Set: 같은 Backup Set recid 와 stamp.
    RMAN 이 백업을 수행하다가 위와 같은 조건의 화일이 이미 존재함을 확인하면
    이것은 건너뛰게 될 화일의 대상이다. 하지만 이때 바로 Skip 을 결정하지 않고
    정해진 Retention Policies 를 조사 한후에 Skip 여부를 결정 하게 된다.
    만일 백업 명령에 DELETE INPUT option 이 사용되면 RMAN 은 백업이 Skip
    되어도 화일을 지우게 된다.
    RMAN 은 모든 화일에 대한 백업이 Skip 되어도 에러메시지나 경고를 보내지
    않는다.
    그러나 만일 데이터 화일에 대한 백업이 recovery policy window 보다 오래
    된 것 이면 RMAN 은 새로운 백업 화일을 만들기 위해서 화일을 백업 하게 된다.
    Note:
    자체적인 expirations policy 를 가지고 있는 media manager 를 사용할 경우에는
    이런 백업 최적화 정책을 사용하는 것에 신중을 기해야 한다.
    백업 최적화 를 사용하기 위해서는 CONFIGURE 명령을 사용한다. CONFIGURE
    명령은 명령 수행 이후에 이루어지는 모든 백업에 대해 적용이 된다.
    예:
    CONFIGURE BACKUP OPTIMIZATION ON; # default 는 OFF
    2. Backup Optimization에 Retention Policies 적용 하기
    Retention Policy 로 백업 최적화를 조절 할 수 있다. 그러나 retention policy를
    사용하지 않기 위해서는 'CONFIGURE RETENTION POLICY TO NONE' 을
    이용해서 명시적으로 retention policy를 사용하지 않는다고 해야 한다. 디폴트로
    REDUNDANCY = 1 이 적용 된다.
         a. Recovery Window 를 이용한 Backup Optimization
    만일 백업 최적화가 enable 되어 있고 Recovery Window 가 retention policy
    적용을 위해서 셋업 되어 있으면 RMAN 은 항상 가장 최근의 백업이 Recovery
    Window 보다 오래된 데이터 화일을 백업한다.
    예를 들면 다음과 같은 조건에서
    o Today is February 21.
    o The recovery window is 7 days.
    o The most recent backup of tablespace tbs2 to tape is January 3.
    o Tablespace tbs2 is read-only.
    2월 21일에 tbs2 테이블 스페이스를 테이프로 백업을 하라는 명령을 내리면,
    RMAN 은 이 화일이 1월3일 이후에 변경 사항이 없는데도 불구 하고 백업을 하게
    된다. 이로써 RMAN 은 최근 7일 동안에 최소한 한번의 백업이 있어야 된다는
    조건을 지키게 된다.
    이러한 작동 방식은 media manager 가 오래된 테잎을 제거 해도 되도록 한다.
    그렇지 않다면, media manager 는 1월 3일의 백업을 무한정 가지고 있게 된다.
    2월 21일에 tbs2 테이블 스페이스의 보다 최근의 백업을 만듦으로 써, RMAN 은
    media manager 가 1월 3일에 백업 했던 테입을 지워도 되도록 한다.
         b. Redundancy 를 이용한 Backup Optimization
    Retention policy 로 Redundancy 를 채택 한 경우에 RMAN 은 Redundancy
    에 1을 더한 갯수를 초과하는 오프라인 또는 읽기 전용 화일의 백업을 건너뛴다.
    이때 'CONFIGURE RETENTION POLICY TO REDUNDANCY n' 명령어로
    Redundancy의 갯수를 정한다.
    아래와 같은 백업 최적화 명령을 내린 경우를 예로 든다:
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    아카이브 테이블스페이스를 한번도 백업을 받은적이 없고 다음의 작업을 1주일
    동안 한다고 하자.
    Day Action Result Redundant Backup
    Monday Take tablespace archive offline clean.
    Tuesday Run BACKUP DATABASE. The archive tablespace is backed up.
    Wednesday Run BACKUP DATABASE. The archive tablespace is backed up.
    Thursday Run BACKUP DATABASE. The archive tablespace is backed up. Tuesday backup.
    Friday Run BACKUP DATABASE. n/a Tuesday backup.
    Saturday Run BACKUP DATABASE. n/a Tuesday backup.
    Sunday Run DELETE OBSOLETE. The Tuesday backup is deleted.
    Monday Run BACKUP DATABASE. The archive tablespace is backed up. Wednesday backup.
    화요일, 수요일, 그리고 목요일의 백업은 아카이브 테이블 스페이스를 복사 해서
    3개의 백업이 반드시 존재 해야 한다는 조건을 충촉 시킨다. (1+Redundancy)
    금요일과 토요일에는 백업 최적화 조건에 의해서 아카이브 테이블 스페이스를
    복사하지 않게 된다.
    RMAN 은 일요일에는 유효기간이 지난 백업 화일을 지우게 된다. 따라서 화요일에
    만든 백업은 삭제 된다. 월요일의 전체 백업은 3개의 백업이 존재 해야 한다는 조건
    때문에 아카이브 테이블 스페이스를 또 다시 백업하게 된다. 이런 방식으로 백업
    사이클이 진행 된다.
    3. RETENTION POLICY NONE vs. DEFAULT
    주의 사항:
    'CONFIGURE RETENTION POLICY TO NONE' 과 'CONFIGURE RETENTION
    POLICY TO DEFAULT' 는 그 의미가 같지 않다. 전자는 RETENTION POLICY
    자체가 존재 하지 않는다는 의미 이며 백업은 expire 되지 않으며 'DELETE
    OBSOLETE' 명령은 사용 할 수 없게 된다. 후자는 디폴트 RETENTION POLICY
    (REDUNDANCY 1) 를 사용하게 된다는 의미 이다.
    'DELETE OBSOLETE' 명령은 RETENTION POLICY 기준으로 expire 된 백업을
    제거 하라는 명령이다.
    보다 자세한 내용은 Oracle9i Recovery Manager User's Guide and
    Reference의 Backup Optimization 부분을 참고 하시기 바랍니다.
    --------------THE END----------------------------------------------

    Hi,
    Backup optimisation = +- do not copy empty space.
    So, when you issue your BACKUP statement, it backs up the datafile. dot. nothing more.
    In order to achieve what you're testing, look into TFM for BACKUP INCREMENTAL LEVEL x .
    Regards,
    Yoann.

  • Save For Web - saves original file name not new name

    Hello, when I use Save for Web with slice(s) the original file name (appended with the slice number) gets saved even though I have changed the file name in the save dialog. This only happens about 50% of the time. Sometimes it saves as expected - with the new file name. I am using the default settings in the save dialog all the time.
    Stranger is that if I am saving (for Web) say 10 slices some will be named with the original file name and some will be saved with the name I gave it in the save dialog.
    This was happening on my Windows XP sp2 system when I was saving to an Ubuntu server (local network). So when I switched to a new computer running windows 7 and saving to a new server (windows 7 pro) I thought it might fix the problem - but it has not. So there must be a setting I am missing - though that does not account for the intermittency of the problem. I have changed settings under "custom" in the save dialog and things do change except the original file name is persistent not the new name I have given it.
    The PSD files come from a designer using a Mac.
    My system:
    PS 10.01
    Windows 7
    AMD x2 duo 250
    4 gig Ram
    Thank you for any help you may provide
    jim

    I made an action to save large batches to a designated "pics" folder. Then when I'm done with a big batch, I just move them to the original folder and let the OS overwrite them. May seem like a lot of work, but I can do a batch of 500 gallery thumbnails in about four minutes and it takes about 30 seconds to move them and replace the originals.

  • Set Document Name

    Hi guys
    I'm using VS + C# for my Add-on
    I create my new document by this code:
    Document myDocument = myVisioApplication.Documents.Add("MyTemplateFile.vst");
    and it create new document for me but the default name of this document is Drawing1.vsdx , Drawing2.vsdx , ....
    How can I set another name for that without saving?
    Regards
    Danesh

    You can't, the document name is a read-only attribute, it is set by saving the file.
    Paul Herber, Sandrila Ltd. Engineering and software shapes for Visio
    Sandrila Ltd

  • Java mapping - Setting the name of the file dinamically

    Hi all,
    Problem: I know how to set the name of the file in an Idoc to file interface if I'm using a message mapping, but not if I'm using a Java mapping.
    I'm using this code inside a user-defined function of the message mapping so that I can set the name of the file dinamically:
    public String GetFileName(String  inboundParameter,String IdocNumber,Container container){
    String filename;
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    filename = "cikk_" + dateformat.format( new java.util.Date() ) "_" IdocNumber + ".txt";
    DynamicConfiguration conf = (DynamicConfiguration) container
           .getTransformationParameters()
           .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return inboundParameter;
    (See also: /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14)
    But how can I do that if I'm using a Java mapping??
    I don't have the class Container there. How can I retrieve the DynamicConfiguration object without that class?
    Thank you very much.

    Thank you Jin,
    I knew that it had to be related with the Map object got in setParameter, but in this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    you can't find the constant DYNAMIC_CONFIGURATION.
    I think it's not up to date.

  • Setting the name of streamed zip file

    Hi,
    I have a servlet which creates a zip file with documents retrieved from a database. To create the zip file I am using the ZipOutputStream class and adding the documents one at a time to this object. This is all working fine.
    The problem I have is pretty simple, in that I can't seem to find a way in which to set the name of the zip file. This must be possible! At the moment it appears to be setting the name of the zip file to the name of the class that created it. In this case my class is called DocumentPacker and what comes back from the servlet is a zip file called DocumentPacker.zip. This wouldn't be so bad, but if you're creating the zip file for a user that does not have cookies enabled, it appends the session id to the end of the zip file name which i don't want.
    I am creating my ZipOutputStream like this:
    ZipOutputStream out = new ZipOutputStream(new BufferedOutputStream(response.getOutputStream()));
    and then adding the documents one at a time using a BufferedInputStream.).
    Any help on how to set the name would be much appreciated
    Thanks
    Claire

    Your servlet must set some headers on the HTTP response (Content-Type as "application/zip", Content-Disposition as "attachment; filename=yourfilename.zip")
    Read the RFC1806 document.
    Content-Type: application/zip
    Content-Disposition: attachment; filename=genome.jpeg

  • Trouble moving file after rename; can't get the new name, what's missing?

    I know I'm missing a statement to redefine this_item after it has been renamed, but I'm too noobed to know how.
    Files I drop into my layersRenameFolder do get renamed, but then the script fails with error (simplified) "can't get <name of pre-renamed file>"
    So I'm struggling with how to reset the variable so finder knows the new name of the files to move them.
    Note, the code is compilations of other scripts and others corrections. I don't claim to be the original author of any of it. Just trying to piece it together.
    Script follows--------
    on idle
    set PathToDesktop to path to desktop as text
    set layersRenameFolder to (PathToDesktop & "On-Line Proofing1:1 Layout Proofs InDesign:LayoutRenameLAYERS:") as alias
    set outFolder to (PathToDesktop & "On-Line Proofing1:1 Layout Proofs InDesign:Out:") as alias
    tell application "Finder" to set these_items to (every file of layersRenameFolder whose kind contains "PDF")
    --Check to see if there are one or more PDF files in the LayersRename folder on the desktop
    if (count these_items) is greater than 0 then
    tell me to activate
    display dialog "Files located. Script starting!" buttons " " default button 1 giving up after 2
    --Go through all PDF files, one at a time
    repeat with PDFfile in these_items
    --rename PDFFile
    set this_item to contents of PDFfile
    set fileName to name of this_item
    set {TID, text item delimiters} to {text item delimiters, "-"}
    if fileName ends with "1.pdf" or fileName ends with "ALL.pdf" or fileName ends with "CAR.pdf" then set newFileName to (text items 1 thru 2 of fileName) & "1.pdf" as text
    set text item delimiters to TID
    end repeat
    end if
    -- move renamed pdfs to out
    tell application "Finder"
    set name of this_item to newFileName
    move this_item to outFolder with replacing
    end tell
    return 5
    end idle

    When you set the name of a file, the result is just the new name, not a full path. You can rebuild the file path by getting the containing folder and adding the resulting name, for example:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Finder"
    set theContainer to the container of this_item as text
    set name of this_item to newFileName
    move ((theContainer & the result) as alias) to outFolder with replacing
    end tell
    </pre>

  • How to set Workstation Name on Solaris 10?

    Hi.
    I have problems with setting workstation name.
    I tryed to do it with Management Console, but system crashed, because there was missmatch between the name in few files. So I installed Solaris 10 again.
    How to change workstation name?
    Thank you.

    Thank you.
    There are two /etc/hostname files, they are empty: hostname and hostname6.
    /etc/hosts has what I need to change.
    I was unable to find /etc/nodename.
    Will it work, if I'll change only /etc/hosts and make "hostname <new hostname>"?
    In previous time when my system crashed, I changed: /etc/hosts, but it didn't work.

  • Workflow creating new name when Publishing

    Hi team,
    I am having an issue with workflows really weird.
    I would edit the workflow to change a setting on the (for example, change who the workflow would send an email to) the workflow and publish it, the name of the workflow would change and add a parentheses to the workflow.
    For example, Email TEST would change to Email TEST (1), Email TEST (2), etc.
    Because of this, there are 4 workflows in progress. The old ones and the new ones and the users will get 4 emails from all 4 workflows. Granted, changes to the workflow would be made while the workflow was active.
    In designer, if I click on one of the Email TEST(1), it would open the original Email TEST. If you try to run the workflow manually, all the workflows appear as choices to select from. It’s like it creates a completely new workflow, however when you open
    it designer it still reverts to the original one.
    when we delete all workflows in Progress, and change who the email is being sent to, it still creates a new name of the workflow.
    In the test environment, we terminated all the workflows. Modified the Send email to user, and published it. It would change the name to Email ATAM (1), while the original workflow still had the same changes.
    Ideas??

    Hi,
    Whenever you publish a SPD workflow, it will add a new instance of the workflow with (n) added to the new instance.
    Usually, the old instance will not be active, if active you can still remove the instances on the same page you have attached.
    One suggestion is to remove all the previous instances of the workflow and publish the new workflow and assign it to the list / doc lib.
    While editing the workflow, it always edits the actual workflow that you have developed using SPD.
    I think its little confusion with Workflow instance that was assigned to the list and workflow that you are editing using SPD.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

Maybe you are looking for

  • Problem with repaint() in JPanel

    Hi, This is the problem: I cyclically call the repaint()-method but there is no effect of it. When does it appear: The problem occurs by calling the repaint()-method of a JPanel -class. This is what i am doing: The repaint() is called from a differen

  • SharePoint REST API and Asset Library Problem

    Hi dear friends, Im having an issue about posting videos via rest to asset library and i couldnt solve yet. My main task is to migrate a content(according to the scenario its video) from one farm to another.For that i've planned to use Rest API using

  • Export/import to clone database -- please advise

    Hi All, Need help especially from exports that are strong in export/import. can someone advise me how to use export/import to clone a database? I know how to clone database using cold backup and hot backup. But wish to know the full steps in using ex

  • How can I access my iPhone backup stored in iCloud?

    Hi, My iPhone was stolen a few months ago and I now have an Android phone. I have an iPad and it shows that my iPhone was backed up onto iCloud. How can I access this back up to retrieve my photos/notes etc? Thanks Jessica

  • How to apply condition for 3 countries out of 6 counties (in smartforms)

    Moved to correct forum hi friends, i have a requirement in SMARTFORMS... my requirement: i need to implement some logic which should effect only 3 countries out of 6 countries. now i implemented my logic but the thing is how to restric only for 3 cou