Automatic archiving of OpenDirectory data

Hello,
I would like to be able to create a cron job to automate the archiving of the OpenDirectory data.
There is a command line tool to create an archive like the one created by the Server Admin tool? Or should I use slapcat and kdb5_util to dump the ldap data and the kerberos data, but so loose the esasy import features of Server Admin.
Thanks
Cristiano

I believe the command you are looking for is, "slapconfig -backupdb <path>."

Similar Messages

  • Oracle 11g automatic archival // maintaining historic data

    Hi Group,
    We are planning to get Oracle 11g.
    I want to know if Oracle 11g has the capability to do automatic archival?
    My requirement is,
    few of the tables in our application will have lot of records (data) and after some days/ months it might slog the performance cos of the table/db size, and also the old data will not be of much interest (but data cannot be purged/deleted until some years). Hence want to archive the old data (trigger conditions specified by the user) and will be needed to bring data back programatically whenever the user queries for the data belonging to that particular period(archived data).
    Is there a feature available in Oracle to just specify the data to be archive and bring it back by giving a date/time input.

    Hi,
    First, this looks like a job for Oracle partitioning.
    What is your motive for archiving? Improved performance? Cheaper media?
    I want to know if Oracle 11g has the capability to do automatic archival? Sure, but you would have to script it yourself. Many shops do time-based rollover archiving with partitioned tables:
    http://www.dba-oracle.com/t_partitioned_tablespace_archiving.htm
    it might slog the performance cos of the table/db sizeNo, not if you are properly indexed . . . However, table partitioning can speedup queries against large tables with "partition aware" SQL:
    http://www.dba-oracle.com/t_partition_sql_index_ss_hint.htm
    want to archive the old data (trigger conditions specified by the user) I would not use triggers, schedule a job instead:
    http://www.dba-oracle.com/t_archiving_data_in_file_structures.htm
    needed to bring data back Sorry, back from where? You are archving to disk, right?

  • How to enable automatic archiving?

    Hi!
    This is about Oracle 10.2.0.4 on Solaris.
    First the most important information.
    SQL>archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination ?/dbs/arch
    Oldest online log sequence 12
    Next log sequence to archive 12
    Current log sequence 17
    SQL> show parameter recov
    NAME TYPE VALUE
    db_recovery_file_dest string /data/MVS_P0/reco01
    db_recovery_file_dest_size big integer 98G
    recovery_parallelism integer 0
    SQL> show parameter archive
    NAME TYPE VALUE
    archive_lag_target integer 0
    log_archive_config string
    log_archive_dest string
    log_archive_dest_1 string
    log_archive_dest_10 string
    log_archive_dest_2 string
    log_archive_dest_3 string
    log_archive_dest_4 string
    log_archive_dest_5 string
    log_archive_dest_6 string
    log_archive_dest_7 string
    NAME TYPE VALUE
    log_archive_dest_8 string
    log_archive_dest_9 string
    log_archive_dest_state_1 string enable
    log_archive_dest_state_10 string enable
    log_archive_dest_state_2 string enable
    log_archive_dest_state_3 string enable
    log_archive_dest_state_4 string enable
    log_archive_dest_state_5 string enable
    log_archive_dest_state_6 string enable
    log_archive_dest_state_7 string enable
    log_archive_dest_state_8 string enable
    NAME TYPE VALUE
    log_archive_dest_state_9 string enable
    log_archive_duplex_dest string
    log_archive_format string %t_%s_%r.dbf
    log_archive_local_first boolean TRUE
    log_archive_max_processes integer 2
    log_archive_min_succeed_dest integer 1
    log_archive_start boolean FALSE
    log_archive_trace integer 0
    remote_archive_enable string true
    standby_archive_dest string ?/dbs/arch
    The problem
    When I do a 'alter system log switch' the lines below are shown in the alertlog:
    Errors in file /data/MVS_P0/admin/bdump/mvs_r1_arc0_12115.trc:
    ORA-16014: Message 16014 not found; No message file for product=RDBMS, facility=ORA; arguments: [6] [12]
    ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [6] [1] [data/MVS_P0/redo01/log06.rdo]
    SQL> select recid, completion_time, name from v$archived_log
    RECID COMPLETIO NAME
    1 23-JUL-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_07_23/o1_mf_1_1_48gf98jq_.arc
    2 23-JUL-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_07_23/o1_mf_1_2_48gfjvq1_.arc
    3 28-JUL-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_07_28/o1_mf_1_3_48vf0cns_.arc
    4 02-AUG-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_08_02/o1_mf_1_4_497pys3n_.arc
    5 06-AUG-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_08_06/o1_mf_1_5_49mfqbrb_.arc
    6 11-AUG-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_08_11/o1_mf_1_6_4b16ml0y_.arc
    7 17-AUG-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_08_17/o1_mf_1_7_4bhd48pc_.arc
    8 21-AUG-08 /data/MVS_P0/reco01/MVS_P0/archivelog/2008_08_21/o1_mf_1_8_4bvlck3b_.arc
    9 22-AUG-08 /data/MVS_P0/reco01/arch/1_9_660770425.dbf
    10 22-AUG-08 /data/MVS_P0/reco01/arch/1_10_660770425.dbf
    11 22-AUG-08 /data/MVS_P0/reco01/arch/1_11_660770425.dbf
    11 rows selected.
    It looks like the archives are not written, or I can not find them. I check $ORACLE_HOME/dbs/arch and /data/MVS_P0/reco01 but it is not there. It worked before, but the person who configured it is on holiday. I know that I did 'something' that created archives (check the last three lines above), but that is somehow not working anymore.
    Can someone help me by finding the archives?
    (I need to make a online copy to create a standby-database, that is quite hard without archives. ;-))

    The query above does not show errors:
    DESTINATION STATUS FAIL_DATE VALID_NOW ERROR
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    INACTIVE UNKNOWN
    9 rows selected.
    I have set the log_archive_dest_1 to location=/data/MVS_P0/reco01/arch reopen=5
    When I archive manually, the archives are written to /data/MVS_P0/reco01/arch

  • Automatic Archiving without losing the attached document ?

    Hi Experts,
    I wanted to go ahead with retention period so that documents will get auto archived after retention period.
    But since my last post (and your expert opinion), I understood that there is nothing like Retention period in DMS.
    If we want to achieve the mention functionality ...we need to do some developments.
    Now lets say I deletes the required documents with the help of program or CV04N...my next job is to archive the deleted (marked for deletion) documents....AUTOMATICALLY.
    2nd thing is after archival I should be able to see my attached document with DIR when I retrieve the archived DIR. 
    waiting for suggestions..
    Kind Regards,
    Sunil

    Archiving is in itself a separate engagement which needs planning.You can move the data to an external offline system bearing in mind the statutory data retention rules. You can also store the archived data on tapes or optical devices depending on the frequency of access.
    The below links illustrate techniques to archive and store data onto these external systems
    http://www.thespot4sap.com/articles/SAP_Data_Archiving_ADK_ArchiveLink.asp
    http://help.sap.com/saphelp_nw70/helpdata/en/ad/b594429d7c0631e10000000a1550b0/content.htm
    Regards,
    Pradeepkumar Haragoldavar

  • Automate Archive process

    Hello Experts:
    We are now in production system and I need to bakcup our data every week. I have been doing this manually through by Archiving production repository every week. 
    Do you know if there is a way to automate this process?
    Thank you very much for your help,
    Claudia Hardeman

    Hi Claudia,
    The command above will work, but I prefer to know what archives I have and not have to copy them away each day. so add the following to your command
    FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET CDATE=%%B
    FOR /F "TOKENS=1,2 eol=/ DELIMS=/ " %%A IN ('DATE/T') DO SET mm=%%B
    FOR /F "TOKENS=1,2 DELIMS=/ eol=/" %%A IN ('echo %CDATE%') DO SET dd=%%B
    FOR /F "TOKENS=2,3 DELIMS=/ " %%A IN ('echo %CDATE%') DO SET yyyy=%%B
    SET thedate=%yyyy% %mm%%dd%
    CLIX cpyArchive <Servername>:<Password> <Repository>:<DatabaseServerName>:s:<DBUsername> <REPUsername>:<REPPassword> -A <Archivename>_%thedate% -N
    This names the archive with the date that it was created,
    Robert

  • How can I stop Mail from automatically archiving every incoming and outgoing email?

    Mail is automatically archiving every incoming and outgoing message, and then synch'ing that with my iPhone -- thus sucking up all available memory.  I have never asked it to automatically archive everything, and can't figure out how to stop it.  Any ideas?

    Launch Mail.
    Mail > Preferences > Accounts > Advanced
    Uncheck the box beside "Include when automatically checking for new messages".
    Do it for all accounts if you want.
    Best.

  • Automatically add a current date at the end of the comments

    Hi,
    I have a form on a table with 5 fields... on one the field I am asking my users to enter comments...
    I am looking for a functionality to automatically add a current date at the end of the comments, only when they are updated or newly filled in...
    Please advice how can I do it... I am anticipating some sort of a trigger on column (when the data is modified)...
    Thanks

    automatically add a current date at the end of the comments, only when they are updated or newly filled inDo you want to add the date to the page item itself and hence show it to the end user as and when its changed, thn
    Assuming comments item is named '*P1_COMMENTS* , add the following to the "execute on load"
    $('P1_COMMENTS').change( function(){
      var d = new Date();
      $s('P1_COMMENTS', $v('P1_COMMENTS')+ d.toUTCString() );
    });If its to be done only when updating ie in the PLSQL block
    UPDATE <table name>
    SET <comments _column> = (  SELECT DECODE(  NVL(<comments _column>,'')
                                                                          ,NVL(:P1_COMMENTS,'')
                                                                          ,<comments _column>
                                                                          ,:P1_COMMENTS||TOCHAR(SYSDATE,'DD-MON-YYY')
                                                  FROM DUAL
    WHERE <condition>

  • Error in "Archive Enterprise Portal data" phase of system copy

    Hi
    We are facing an error in system copy export of our JAVA only system in 6th phase "Archive Enterprise Portal data" .
    ERROR      2011-11-02 09:00:15.080
               CJSlibModule::writeError_impl()
    MUT-03011  Execution of the command "/tmp/sapinst_exe.12534.1320217175/SAPCAR -c -v -i -C /usr/sap/NED/SYS/global -f /temp/NED/JAVA/APPS/KMC/GLOBAL.KMC.SAR config/cm" finished with return code 44. Output:
    a config/cm
    a config/cm/config ....................................................
    We have NETWEAVER 7.0, JAVA STACK.
    Please help with any clues.
    Regards
    Priyanka Kaul

    Hi
    Please find further logs:-
    TRACE      2011-11-02 15:09:42.832 [syxxcfile.cpp:123]
               CSyFileImpl::decideIfMoveCopyNode(const CopyMoveDestinationInfo & , ISyNode::CopyMoveMode_t 0x3, PSyNodeInt &) const 
               lib=syslib module=syslib
    Target node does not exist and (mode & ISyNode::MISSING) ==> I will copy/move.
    INFO       2011-11-02 15:09:42.846 [syuxcpath.cpp:471]
               CSyPath::createFile() lib=syslib module=syslib
    Creating file /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/EXP/CENTRAL/AS-JAVA/EXP/GLOBAL.log.
    INFO       2011-11-02 15:09:42.860
               CJSlibModule::writeInfo_impl()
    Output of /tmp/sapinst_exe.17133.1320239372/SAPCAR is written to the logfile GLOBAL.log.
    INFO       2011-11-02 15:17:45.369
               CJSlibModule::writeInfo_impl()
    Output of /tmp/sapinst_exe.17133.1320239372/SAPCAR -c -v -i -C /usr/sap/<SID>/SYS/global -f /temp/<SID>/SYSTEMCOPY/JAVA/APPS/KMC/GLOBAL.KMC.SAR config/cm:
    a config/cm
    a config/cm/config
    a config/cm/config/time.sys
    a config/cm/config/locks
    a config/cm/backups
    a config/cm/backups/backup-com.sap.portal.supportability.isolde-2010-02-22-13-03-08-863.zip
    a config/cm/backups/backup-bc.util.prjconfig-2010-02-22-13-03-18-87.zip
    a config/cm/backups/backup-kmc.util.core-2010-02-22-13-03-27-842.zip
    a config/cm/backups/backup-com.sapportals.portal.prt.service.soap-2010-02-22-13-03-37-369.zip
    a config/cm/backups/backup-bc.protocol.prjconfig-2010-02-22-13-03-46-356.zip
    a config/cm/backups/backup-bc.sf.prjconfig-2010-02-22-13-03-54-965.zip
    a config/cm/backups/backup-kmc.people.appl.presence-2010-02-22-13-04-03-709.zip
    a config/cm/backups/backup-bc.sf.service.prjconfig-2010-02-22-13-04-14-331.zip
    a config/cm/backups/backup-kmc.util.sor-2010-02-22-13-04-23-879.zip
    a config/cm/backups/backup-kmc.people.shared.cpr-2010-02-22-13-04-32-793.zip
    a config/cm/backups/backup-bc.rf.prjconfig-2010-02-22-13-04-42-322.zip
    a config/cm/backups/backup-sap.comcafkm.ep.repmanager-2010-02-22-13-04-51-426.zip
    a config/cm/backups/backup-bc.rf.repository.service.prjconfig-2010-02-22-13-05-00-577.zip
    1. We tried running the export with SIDADM user as well and followed the note 970518, but to end up with the same error.
    2. We are already using the lated Installtion master.
    3. Where should we check the OS logs?
    Regards
    Priyanka

  • Automatic update of HU data in Outbound delivery

    Hello all,
    I would like to create an ABAP program to automatically update the HU data in an outbound delivery. The purpose is to have an excel spreadsheet with the HUs per delivery and download them into the outbound delivery without the need to use manual actions.
    Does anybody know of a FUNCTION, BAPI, IDOC or anything else that may assist me in this task ?
    Thanks,
    Isaac

    Go To transaction BAPI, look at Logistics General -> Handling Unit Management -> Handling Unit
    If you want to create a delivery and know the materials and HUs just populate the delivery IDoc and process it.
    If you want to pack material by uploading this spreadsheet then look at LM* transactions as that is quickest way to find what you want.
    Mike

  • Automatic determination of billing date on order related billing

    Dear all,
    Some background:
    We are using resource related billing: create standing sales order with WBS as reference.
    Costs are posted to the WBS (serves as a bucket to collect costs).
    Whenever needed, the costs on the WBS are billed. This is done via transaction DP91, creating a billing request for the standing sales order which generates a new sales order which takes the amount from the WBS element. This sales order can then be billed.
    In other words: Each period, the standing sales order can be billed (based on the WBS element it contains) in a new sales order.
    Problem:
    The billing date is derived from the 'requested delivery date' on the sales order.
    We would like to have by default proposed by the system as billing date: the date when the (2nd) sales order and/or billing document is generated. So either date of billing should be the billing date or the requested delivery date (which will then automatically determine the billing date)
    How can this be achieved?
    What I tried:
    1). I have ticket the flag "Propose delivery date", but this doesn't seem to be the solution.
    2). Factory calender is only to be used in case a specific date should be used (e.g. last day of the week/month). I don't think we need this, as we could just go for "todays date" during (2nd) sales order/billing document creation.
    3). I checked the copy control properties, but this is not really an option I think.
    Many thanks!

    HI, Boiler 
    I suggest you to check the copy control again.
    As I known, there is a Routin setting for data transfer (Data VBRK/VBRP) in the item level. And you can use standard routin 11 means Bill. date= Today.
    Hope it can help you.
    Wink Young

  • How do I activate AUTOMATIC superscripting for numbers / dates; e.g. 1st, 2nd, 3rd, 4th, etc .... It used to do this in all PRE-5.0 versions of Pages; now, it is GONE from Pages 5.0, and I cannot find out where / how to activate it !!

    How do I activate AUTOMATIC superscripting for numbers / dates; e.g. 1st, 2nd, 3rd, 4th, etc .... It used to do this in all PRE-5.0 versions of Pages; now, it is GONE from Pages 5.0, and I cannot find out where / how to activate it !!

    Whilst I appreciate your responding - I do not think this helps with what I was enquiring (at least not without further explanations anyways).
    I am aware of, and do use, the function - System Preferences > Keyboard > Text - for various replacements like (tm), (c), etc .... and also for fractions like 1/2, 1/4, 1/3.
    However, my question was in relation to SUPERSCRIPTS for dates / numbers - namely, superscripting numerical suffixes for things like 1st, 2nd, 3rd, 4th,
    So - please help - HOW do I set this up ? If indeed it is possible without System Preferences > Keyboard > Text ???

  • Disable Outlook Integration-Automatic Archival Feature

    Greetings,
    I'm trying to find a way to disable Adobe X Standard/Professional's feature of Automatic Archival of e-mail in Outlook 2010.
    We have a no-archiving policy in our organization, and this feature permits users to very easily circumvent the policy (and locking outlook from making its own archive)
    I don't want to disable the entire Outlook toolbar (I've done this, and while it will work, it removes other adobe features in outlook that I would like to retain.)
    I have already looked in the Adobe Configuration Tool, and the AIM for Acrobat, and unfortunately, i cannot find reference to this feature and how to disable it/remove it from the toolbar.

    I'll clarify.
    The Adobe Customization Wizard X doesn't reveal any way to disable this part of the add-in installs (in my case Adobe X Standard)
    The feature also isn't listed in the Preferences Reference (AIM) available at:
    http://learn.adobe.com/wiki/download/attachments/46432650/AIM.air
    Here's a pic of the ribbon, and the button that I need to disable when deploying Acrobat X Standard to my users.
    (in some way other than simply removing it from the ribbon manually, user by user).
    Message was edited by: GovernmentGreg

  • Automatic reset of form data???

    I built a simple form that is emailed out. How do i get the data on the online form to not show what the previous person typed in and mailed if he happens to double click in the text field box???

    Hi Shankar,
    As far as i know there aare no docs available which describe this process in detail.
    Also you will have to use the import and export method to export the SLD objects for the first time. In my opinion Automatic forwarding of SLD data is only for the changes that have been to these objects once they have been imported for the first time. However i am not very sure about this. You may try refering to the Config Guide for XI and the How To CMS guide.
    Regards
    Sidharth
    Sidharth

  • How to send a mail automatically based on a date from ORACLE database

    Hi,
    I want to send a mail automatically based on a date from ORACLE database.
    Please help me.
    thanks
    --Sara                                                                                                                                                                                                                                   

    programs are available on net to send mail directly from oracle ie procedure s in oracle sending mails

  • Outlook: How to update folders in automatic archive function

    When using the automatic archive function (pdf maker, single portfolio of emails) in Outlook 2010 we have the following problem:
    Once set the email folders and subfolder structure of our archive remains at the status of its first setting. This means every time we rerun the archive function NEW folders/ subfolders (added after initial setup) will NOT be included!
    Is there any way to automatically update the subfolder structure (e.g. below a main project folder) every time we rerun the archive function???
    Otherwise this function is totally useless as any change in our Outlook folder structure is not reflected in the archiving functions, which means NEW folder and their contents are not archived!
    We have like 20 projects with different archive paths we now have to archive manually each time we backup.
    Thank you for your help!
    Jan

    RSA1
    Go to the "Modeling" tab
    Go to the "Source Systems" object type
    Find your Source System
    Right-Click on the source system
    Choose 'Transfer Exchange Rates'.
    Your BW Administrators team should have this function set up as a daily batch process.

Maybe you are looking for

  • Cannot mount external USB drive

    During a recent update I remember pacman asking about replacing some package with another package to handle disk mounting.  I think the added package was "gnome-volume-manager" or "gnome-disk-utility" (or both).  I didn't see any postings describing

  • Weird Characters on Web Pages

    I am suddenly seing weird "symbol" or "dingbat" characters on web pages instead of letters, and this is happening on all browsers I try (firefox, safari, explorer). How do I fix this?

  • Bridge for Mac 2.0 issues? xperia play

    I updated bridge for mac to 2.0 but it can not find my phone if in media transfer mode. it will find it in mass storage mode, and offers to update software. it then instructs me to disconnect and switch to media transfer mode. i do this, reconnect, b

  • Workspace Flex projects

    I have a  workspace with two projects. Project #1 references an external SWC library. Project #2 references SWC #1. Do I also need to referecence an external SWC library in projecct #2? Thanks

  • When is Adobe creating a Graphic OS workstation?

    So much of what Adobe develops is both efficient and functional( No I am not with the company) and of course designed beautifully. Along with this so much is appropriately integrated. Lately, at least to me, more devices\drivers than ever are being i