Method for copying a directory tree from production server to test server

I have DSEE 6.3 running on Solaris 10 (servers A, B & C are multi-mastered and replicating successfully) in production. I have the same arrangement on a test set of servers (D, E, F). Could someone explain what is the best method for zapping the entire directory tree on test servers D, E, F ... and creating a complete copy of the tree on production servers A, B, C ... and then loading that copy on test servers D, E, F?
Thanks very much!

Could someone explain what is the best method for zapping the entire directory tree on test servers D, E, F...dsadm delete
dsadm create
...and creating a complete copy of the tree on production servers A, B, C ... and then loading that copy on test servers D, E, F?dsconf export
dsconf import
[http://docs.sun.com/app/docs/doc/820-2767/dsadm-1m]
[http://docs.sun.com/app/docs/doc/820-2767/dsconf-1m]

Similar Messages

  • Automation prog for placing the file( Excel) From production server to unix

    Hi Experts,
    How to write a program to automate a file from production to unix server?
    Right now user is downloading the file from application server and sending the file thru mail. 
    Is it possible in ABAP or Do we need to write in Unix?
    Thanks In Advance.
    Regards,
    sridhar

    Please see old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=Shell+AND+Script+AND+FTP&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Script for copying or moving files from windows server to another remote windows server

    Copy below 2 line into notepad and save as movescript.vbs
    execute in command prompt
    c:\cscript movescript.vbs  (Press ENTER)
    Files will move to remote location.
    =========================================
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    objFSO.MoveFile "C:\scripts\*.txt","\\servername\c$\share"
    =========================================
    for copy files to remote location
    =========================================
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    objFSO.CopyFile "C:\scripts\*.txt","\\servername\c$\share"
    =========================================
    Lets us know if you face any error. reply back to me on [email protected]
    Thank you.....
    Regards Ravikiran MCITP

    What is your question?  Are you asking how to do this?  Can you post the errors?
    ¯\_(ツ)_/¯

  • Copying directory data from one server to another

    Hi friends,
    I maintain two directory server (ver. 5.2) with same domain (xxx.com) and i have to copy the entire data from one server.
    I tried to export from a one server and import it on another server, but it didn't get copied and it is getting object class violation error,
    Please give me some tips to copy the entire data along with password encryption, so the users should be able to login to the new server.
    Regards,
    Iqbal

    Before you copy the data, make sure the new server has all user-defned schema (objectclass, attribute) which reside on the first server. What you can do is to copy the schema over first. Then you can copy the data over.

  • I've just found the keyboard shortcut in Garageband for 'copy region' had changed from cmdC to ctrlC. I went to Preferences and clicked Restore Defaults for shortcuts. Now its altC . How can I get it back to the original commands.

    I've just found the keyboard shortcut in Garageband for 'copy region' had changed from cmdC to ctrlC. I went to Preferences and clicked Restore Defaults for shortcuts. Now its altC . How can I get it back to the original commands.

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • Production order number range after taking the back up from production serv

    Dear all,
    My client did a back up activity yesterday from production server to disaster recovery server.
    After completing this activity they shut down there production server to do the testing of this new server.
    Production guy converted the planned order to production order and he got a number say 2000064732, but the current number in number range is 2000080139.
    But same guy created order one day before in production server that time the order number in 2000080138.
    After 2 hours the system (by that time he has create more than 50 orders) started assigning the number as per the current number. Ex: 2000080140,141,142u2026
    As per my observation they have maintained buffer as 20. As per buffering logic system has to skip in forward direction not in reverse direction.
    But in our case the system skipped in back word that nearly 16000.
    So please help me to find out the reason why the system assigned those number and on what basis.
    Thanks for your help
    Regards
    Ramesh

    See SAP note 62077, your application server was shut down, the numbers that are left in the buffer (that is, that are not yet assigned) are lost. As a result, there are gaps in the number assignment.

  • Logical path for getting a Flat file from application server

    Hi All,
    We have loaded some .csv files to application server, what is the logical path we have to mention in the infopackage scheduler screen? please guide me how to give the path for getting a flat file from application server.
    Thanks,
    Sairam.

    Hi Sairam,
    I hope you know which location you have saved in the Application server.
    Now if you go to the Infopackage and click on the "External Data" tab, there you will see Radio Buttons for
    1) Client Workstation
    2) Application Server
    Choose the second radio button, then in the Field "Name of the File" you will be able to use the F4 help and browse AL11 transaction through this option. You can then choose the File.
    Hope this helps
    Regards,
    Praveen.

  • I have deleted one query from production server

    some one have deleted one query from production server. i would like to know who has deleted that query.
    pls let me ASAP.
    regards
    raja

    Hi,
    You can get the time stamp( when it was deleted) from table RSRDELREPORTS. Based on that time check with basis guys to get the more info.
    regards,
    raju

  • Best practice for designing a directory tree

    Hello all,
    I wanted to know what you all think about what is the best way to design a directory tree. Again it seems to me that experience makes the man perfect and I wanted to know what you all think about how to design directory tree model.
    Here is my view; I believe that keeping at least Users/ Employee information flat make more sense to me. I know it’s a good idea that one should consider an organizational hierarchy when designing a tree. But there seems to be some problem too. If employee moves from one department to another within the same organization then directory administrator has to change the location/department of the user. However, if all users are under the same namespace i.e. ou=Users, administrator does not have to change or move users location in the directory to another location.
    Also, while designing a directory there could be several hierarchy, one is organizational hierarchy another could be organizing user info based on job roles i.e. CEO->VPs-Managers->Consultant.... and so on so. So which one should consider. So by considering ou=Users namespace, we are avoiding risk on favoring one type of hierarchy.
    The trade-off in using ou=Users a flat namespace is that browsing of the directory looks less interesting.
    Anyway, this is my view, I would like to know your views too and hope this thread will help other in building their own directory Tree.
    Thanks
    Syed Suhail Ahmad

    Honestly it really depends on what you need your system to do and how you want to handle administration. I have read the argument about keeping things simple with using ou=USERS and seems like the best situation for administration purposes. Currently my client is wanting all identity management to be handled in OID so I am in the process of doing our hierarchy also. I still have to explore the abilities of OID to see how I can set things up.
    There are a few good books and websites that are good for referencing ldap. One book I use is LDAP Programming, Management, and Integration by Donley. For websites, just search on google or check out www.ldapguru.com or www.openldap.org(possibly).
    Hope this helps a little. I honestly can speak on the best way since I haven't implemented my own yet nor do I think one way will always be best for every situation.

  • Best method for copying database

    I am building a new production database and was mulling over the 'best' (read: easiest) way to move / copy the database onto the new production server. I have exports and full RMAN backups from the production database. TIA.

    Hi ,
    Use the full automated procedure procedure called 'Clone Database' via Enterprise Manager.
    Here is the overview of this tool:
    Clone Database uses RMAN to duplicate a database from:
    -- An open database in ARCHIVELOG mode, or
    -- An open database in NOARCHIVELOG mode (restart required), or
    -- A saved working directory from previous cloning
    Clone Database performs the following operations:
    -- Backup each database file and store it in a working directory
    -- Transfer each backup file from source to destination host
    -- Restore each backup file to existing destination Oracle Home
    -- Recover the cloned database with saved archived log files
    -- Open the cloned database with resetlogsRegards,
    Simon

  • How to copy master data backwards from production to QA

    Hello BI community,
    Our transactional QA system was refreshed with a database copy of production, and the BW landscape was not refreshed.  We cannot refresh the BW QA system because the production BW database is far too large to be duplicated.
    So I'm searching for a way to bring all of the MASTER DATA up to date in the BW QA environment, without performing manual reloads.
    Would it be possible to perform a copy of just the P,Q, X, Y, and T tables from production database to QA ?  I believe this would cause inconsistencies with the S tables.  But then, to copy the S tables backwards from production to QA would cause inconsistencies with the transational data providers.
    Is it possible to do a "client copy" in BW where only the master data is transferred ?  I think we'd be comfortable with reloading all new transactional data as necessary, just as long as the master data were brought back in its entirety from production to QA.
    Any thoughts our guidance will be greatly appreciated !
    Thanks,
    Keith

    big thanks to everyone who has replied, and especially for this suggestion!
    The reason why we don't load the data from BW production is simply a matter of volume.  It's a 7 TB data warehouse, and the master data sizes are huge.
    One other option I was thinking of, since I used to be a basis guy, is to copy the entire production database and then delete, delete, delete away the transactional data until it's all gone.  The only thing needed after that is a database real work to give the space back.  Of course, the basis guy see that as a last resort
    I'll try this suggestion above & then report back with the results... but I'm afraid the data sizes, again, will be prohibitive.  We'll see.

  • Copy queries and reports from production to qa

    Hi,
    One of our customers has up to now created their BEx queries and reports directly in production
    But from now on they are going to create them in dev and then transport to qa and prod.
    Is there any way to transport the already existing queries/reports from prod to qa?
    BR,
    Linda

    Hello,
    You have to set up the transport ( Your BASIS can prepare transport landscape )  to bring the query transported from Prod to test environment
    But you can copy Workbooks from Production to develpment.Open the workbook from Production ,disconnect from server,then save as new workbook or existing workbook..now log into Dev system and save workbook under required role.
    Regards,
    SRIKANTH

  • Dynamic pl/sql to fetch data from production server

    Hi,
    I need to create a dynamic pl/sql program to fetch all the packages from the production server and store them on my local machine in different files.
    Thanks in advance.

    Hi,
    I am running this procedure and not getting anything in the- 'Report_Out2.txt file....
    Have a look..
    create or replace
    PROCEDURE extract_file IS
    vclob CLOB;
    getClob CLOB;
    vstart NUMBER := 1;
    bytelen NUMBER := 32767;
    len NUMBER;
    my_vr RAW(32767);
    x NUMBER;
    l_output utl_file.file_type;
    BEGIN
    -- define output directory
    l_output := utl_file.fopen('LOG_FILES', 'Report_Out2.txt','wb', 32767);
    vstart := 1;
    bytelen := 32767;
    -- get length of clob
    for rec in (select owner, object_name, object_type
    from all_objects
    where object_type = 'PACKAGE'
    and owner = 'ABC')
    loop
    dbms_output.put_line('data entering');
    vclob := dbms_metadata.get_ddl(rec.object_type, rec.object_name, rec.owner);
    x := dbms_lob.getlength(vclob);
    dbms_output.put_line('data exiting');
    end loop;
    -- save clob length
    len := x;
    dbms_output.put_line('value assign');
    -- if small enough for a single write
    IF len < 32767 THEN
    dbms_output.put_line('data in if');
    utl_file.putf(l_output,substr(vclob,1,100));
    dbms_output.put_line('data in file');
    --utl_file.fflush(l_output);+
    -- write in pieces
    ELSE
    dbms_output.put_line('data in else');
    vstart := 1;
    WHILE vstart < len and bytelen > 0
    LOOP
    dbms_lob.read(vclob,bytelen,vstart,my_vr);
    utl_file.put_raw(l_output,my_vr);
    --utl_file.fflush(l_output);+
    -- set the start position for the next cut
    vstart := vstart bytelen;+
    -- set the end position if less than 32000 bytes
    x := x - bytelen;
    IF x < 32767 THEN
    bytelen := x;
    END IF;
    utl_file.fclose(l_output);
    END LOOP;
    END IF;
    EXCEPTION
    WHEN no_data_found then
    dbms_output.put_line('null data');
    WHEN others then
    dbms_output.put_line('Uncaught exception');
    END extract_file;
    The proc is compiling without any errors, but when im running it gives:
    Connecting to the database XYZ
    data entering
    data exiting
    value assign
    data in if
    Uncaught exception
    Process exited.
    Disconnecting from the database XYZ
    What could be the reason for the above condition??
    Edited by: user9963922 on May 29, 2009 2:58 AM

  • How to copy procedures and packages from one server to another?

    Hi,
    I have 439 packages and 178 procedures located in one server called MAXWELL.
    I need to copy these objects to another server called TITAN.
    The schema names is SPCBR in both servers.
    So both servers have an instance running with this schema SPCBR.
    SPCBR in TITAN server has their tables with table data which was generated by an export/import process from MAXWELL server.
    However, procedures and packages were not copied by the export/import because I used the clause 'tables'.
    Now, what can I do in order to equalize procedures and packages in both databases? I can't risk in damaging or duplicating data in my database located in TITAN server, ok?
    Thanks,

    Another simple alternative, according to AskTom (http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:454220160386)
    ---------------- getcode.sql ----------------------------
    set feedback off
    set heading off
    set termout off
    set linesize 1000
    set trimspool on
    set verify off
    spool &1..sql
    prompt set define off
    select decode( type||'-'||to_char(line,'fm99999'),
    'PACKAGE BODY-1', '/'||chr(10),
    null) ||
    decode(line,1,'create or replace ', '' ) ||
    text text
    from user_source
    where name = upper('&&1')
    order by type, line;
    prompt /
    prompt set define on
    spool off
    set feedback on
    set heading on
    set termout on
    set linesize 100
    ------------------- eof --------------------------------
    it extracts one procedure, function or package to a file. Thats it. If you
    wanted to get all of the procedures in a schema extracted to the current working
    directory, you would run a script:
    --------------- getallcode ---------------------------
    set termout off
    set heading off
    set feedback off
    set linesize 50
    spool xtmpx.sql
    select '@getcode ' || object_name
    from user_objects
    where object_type in ( 'PROCEDURE', 'FUNCTION', 'PACKAGE' )
    spool off
    spool getallcode_INSTALL.sql
    select '@' || object_name
    from user_objects
    where object_type in ( 'PROCEDURE', 'FUNCTION', 'PACKAGE' )
    spool off
    set heading on
    set feedback on
    set linesize 130
    set termout on
    @xtmpx.sql
    ---------------- eof ---------------------------------
    You can see how to filter on that one by adding to the where clause if you want.
    Just run @getallcode_INSTALL to run all of the scripts...

  • Insert into all tables on a Database on Test Server select from all tables on a database A from production server

     
    hi Friends ,i need a suggestion from  you on how to
    insert data to all tables on a Database  "A " on Test server
    Select data from all tables on  a Database  "A" on Production Server
    where id=123
    Database A is same with Structures on Test and Production also all Tables  will have  Id column in common.
    The purpose of this insert is ,as we all know Production has the latest data and i need to push to test server on request for particular ID only  ( may be weekly once or  twice a week )
    I  have a linked server setup name "LINQ" 
    Example for one table is below , like wise i need a script which does for 154 tables.
    Insert into ABC( id, name)---insert to test server
    Select Id, name  from  LINQ.ProdSerevrname.databasename.ABC where id = 123
    Please help me ..
    Thanks

    Why not use export import wizard for this if you've read access to production?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • How do I set up my Epson printer to print wirelessly from my Mac Pro

    How do I set up my Epson printer to print wirelessly from my Mac

  • How to install and configure a new printer

    What are the steps to install and configure a network printer HP Laserjet 4000 to use as standard printer for printing reports. Currently I use default noprint printer.

  • ITunes 9.1 causes Acrobat 9 Pro to crash

    Just installed iTunes 9.1 and excited to test out the Books functionality. Transferred over a PDF to iTunes, and double-clicked it. It started to open Acrobat Pro 9 (version 9.0.0) and then quit unexpectedly. Tried to open the application itself dire

  • Wrong Name Attached to Correct Email Address in Mail

    I use Apple's Mail program to receive email from a couple of gmail accounts. I also use iCal to coordinate those same gmail accounts, plus a few work calendars. One of the work calendars is one called "Holidays in Canada," (just a calendar showing fe

  • How to re-install my elements without a cd?

    recently, I bought a new pc; after carbonite restored all my files & folders I can't find my elements #5 that I upgraded online from my #3 so I don't have a cd for #5 (but still have my cd from #3)          How can I get my elements #5 re-installed?