Recover a single file in Content Services

I've been asked to document how we would go about recovering a single file in Content Services. The Trash/Archive angle I'm clear on, but what about an extreme case. Lets say that someone created a file, trashed it, emptied the trash, and then it expired from the Archive before the user realized that they needed the file.
Is it possible, and if so how would one go about getting the file back assuming that there is a full db backup once a day?
Would enabling BFILE aging help? If so, how?
On a related note: If archive is set to expire content after 1 month, but BFILE aging is turned off, when does deleted content get purged from the Archive? It's not 1 month, as I have deleted files in the Archive going back to January.

Archive expiration and BFile aging are orthogonal. BFile pushes the LOBs of documents that are in the archive to bfile. Archive expiration deletes files from the archive after the configured time. If this is not the behaviour you are seeing please file a TAR and they can help check whether your system is configured correctly or if you are running into a bug.
regards,
-sancho

Similar Messages

  • How to recover a single file

    As far as we know there is no way to recover a single file out of a database (incremental or full) backup - full database recovery is no option.
    However, the recovery of single files used to be a common task of our user help desk.
    Any ideas how to achieve this with OCS?

    Oracle Files has a two level trash. When users delete a file it goes into their Trash folder - and they can recover such files themselves. If they empty their Trash folder the contents are moved to the Archive. The subscriber adminstrator can recover files from the Archive.
    The subscriber administrator can configure how long files stay in the Archive before they are deleted.
    hope that helps,
    -sancho

  • Http 401 error when uploading file to content services

    Hi,
    When i try to upload a document, the document is created in the folder with empty content and i have the 401 http error.
    Someone can help me to resolve thise problem.
    Thank's for advance.

    I found the response to the problem. I summarize the solution in the following point :
    1- when you connect to a standalone content services server via the webservices api, you get a single String as cookie and to upload a document to server you use the same single cookie.
    2- bu when you connect to cluster content services via the webservices api, you get an Array of String as cookies and to upload a document to server you need to transform the array of cookie into a single String cookie to be able to be authenticated by the http server, look to the following code
    String cookie="";
         for(int i=0;i < connection.getCookie().length;i++) {
              cookie = cookie + connection.getCookie() +";";

  • Retrieve -- not recover -- a single file

    Is there a way to retrieve an older version of a file from Time Machine, without replacing the current version? I'd like to have both. Thanks.

    Or, select the desired file and click the Restore button. Then Time Machine will put up this prompt:
    |
    |
    See #15 in [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html] (or use the link in *User Tips* at the top of this forum), for details.

  • How many situation will Aggregate Error occurs in Content Services?

    Hi
    while uploading files into content services its giving Aggregare error ?
    but no category, have the full access and no exceeds to library quota?
    how many situalltion will aggregate error occurs in content services while uploading?
    how can i resolve this problem in content services.
    Thanks in Advance

    Typically aggregate errors are thrown for Bulk operations. A bulk operation is one where you tend to operate on multiple items (Folder, Documents) at a time. FileManager.createDocuments() , FileManager.delete(list of docs) are examples of this.
    Ravikiran

  • Windows File Properties vs. Content Services Properties

    Hi.
    On behalf of a customer I am evaluating Windows file properties vs. CS file properties.
    Client Environment: Windows XP SP2, O-Drive.
    Rightclick a File stored on O (O-Drive, Content Services).
    a Props. Dialog shows up, the first tab is General*. It shows several file
    properties among others the following:
    - Last Access Date: This always shows Wed. 1 Jan 1986 00:00:00
    Does this correspond to any content services file property? If so, why
    is it always 1-jan-1986 00:00.00 and does not change? Is it a bug?
    - Checkboxes Write protected* / Archive* / Hidden*
    Do these correspond to any cs file property? Do these have any effect?
    (I tried write protected, but it did not work as expected, I was able
    to overwrite the file) Bug or Feature?
    If these checkboxes do not work, could these be disabled through O-Drive,
    otherwise users might get confused...
    Regards, Tom
    * (I don't know the exact english labels as I am working on a german client... so
    I translated the german labels - sorry)

    Hi. Sure, here's some collateral information:
    We are evaluating Content Services for several customer projects.
    During a presentation I held 2 weeks ago a customer asked exactly
    those questions and I had to admit I could not answer.
    So I retried on our test instance and checked the docu and still
    could not get a clue how windows attributes and cs attributes correspond.
    Then I asked MJS during last weeks workshop he did not know exactly either.
    Hence I am asking on the forum.
    Regards, Tom
    (PS. If you require further background information you may contact me via email
    or ask E. Neuwirth on Tom Gansor / OPITZ Consulting).

  • Sender File (FCC) - Content of File into single XML Tag

    Hi,
    Input file
    This is Line1
    This is Line2
    Expected Sender File adapter FCC into XML
    <Document>
    .<File>
    ..<Content> This is line 1 This is line2</content>
    .</File>
    </Document>
    FCC is giving the following output with the below config,
    File.fieldNames = Content
    File.fieldSeparator = '0x1A' (HexaDecimal rep for EndOfFile)
    <Document>
    .<File>
    ..<Content>This is line 1</content>
    ..<Content>This is line 2</content>
    .</File>
    </Document>
    How can i read the complete file into a single XML tag?
    I am aware of other options (AdapterModules or Javamapping). But i want to keep it simple to FileAdapter using FCC or using MessageTransformBean (if possible)
    -SM

    FCC donse't work here, So i wrote a simple Java map inside Execute method to convert the content to the required format.
      public void execute(InputStream in, OutputStream out)  throws StreamTransformationException{
    StringBuilder sb = new StringBuilder();
           try {
           BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"));
           while ((line = reader.readLine()) != null) {
               sb.append(line).append("\r\n");
           } finally {
           in.close();
    After i had the input string, i formatted it to get the required output as XML ...
    <Document>
    .<File>
    ..<Content> This is line 1 This is line2</content>
    .</File>
    </Document>

  • PDF files in Oracle Content Services?

    Is it possible to create PDF files in Oracle Content Services? is there a facility to convert protected documents to .pdf files

    We are currently working with Adobe on this requirement and have implemented a POC that allows you to submit a document to workflow in content DB (for example, during a check-in operation) and through a custom BPEL flow, submit to an Adobe LiveCycle server where the document gets turned into a PDF, has policy and digital signatures applied to it.
    The current POC does more than just convert to PDF. it does the following to the original document:
    1) Converts it to PDF
    2) Inserts signature fields, so the PDF can be digitally signed later
    3) Applies policy (applies E-DRM, e.g. the end user can view but not copy the text or print the PDF)
    4) Certifies the document (Server applies digital certificate to signature field)
    5) Reader extends the document (enables end user to digitally sign PDF and add comments with Adobe Reader)
    thanks,
    Matt.

  • Looking for un-zip/rar software that lets me see the contents of archive and extract single files

    I work with lots of rar and zip archives, and often times i need to view the contents with out extraction, and/or just extract a single file out of a larger archive.  Some archives can be upper of 5gb, extracting the entire archive for 1 10meg file gets tedious.
    I've tried unrarX and the unarchiaver both just instantly start extraction and don't allow me to see the contents of the file.
    WinRar on PC is what i'm trying to emulate, with no success so far.
    Any suggestions?

    http://macitbetter.com/
    http://www.eigenlogik.com/entropy/
    Can't find any free ones that will allow peeking.

  • Is there any way to recover lost files and folder? I shared my desktop and suddenly I lost every single file in it.

    Is there any way to recover lost files and folder? I shared my desktop and suddenly I lost every single file in it. I have a MacBook Air.
    Processor  1.8 GHz Intel Core i5.
    Memory  4 GB 1600 MHz DDR3

    From your backup

  • How can i export the contents of just one artboard, when there are many in a single file

    What's the best way to accomplish this?  I have four designs I want to show someone.  Also, if they're side by side and save the file as a pdf, will it just display single file?  Thanks.

    When performing a save as or export, enable the Range Radio Button, enter the pages you want.

  • Copy distribution list  to all content services user folders

    We have an Outlook distribution list PST file that current resides in a Windows file server. This gets pushed out the the personal folder of each user overnight.
    Going forward, we need to push this PST file to all the Content Services user personal folders (Users-A, Users-B ... Users-Z).
    I created a single superuser that has all administrative rights to all the users personal folders. And I can upload a file through the webdav http interface.
    with the "Upload" button while I'm "Switched to Administrative Mode" only.
    And I can't see the users personal folders while using the Oracle Drive nor
    thru a Network drive.
    Is there a way of pushing this to all the users' personal folders???

    Hi Juan,
    I tried that but it is not showing the shared distribution list for moving.
    I found 1 sap BC office document which stats that moving the distribution list form Private to public is not possible due to security reason.
    So, no options for me and to create manual shared distribution list.
    Thanks
    Anil

  • Content Services Configuration Assistant failde OCS 10.1.2

    When it gets to the Oracle Content Services Configuration Assistant, this one fails. Seeing the log file in "home/oracle/product/10.1.2/ocs_1/apps/content/log/ContentMTConfig.log" the problem seems to be in the UploadWorkflowProcessDefinition:
    *********************** Starting UploadWorkflowProcessDefinition ***********************
    The command log is hidden for security reasons
    Command returned an exit code of: 1
    Command output:
    wferr:
    - WFLDRS_FAIL
    - WFLDRSD_FAIL MODE=UPLOAD EFFDATE=<null>
    - WFLDRSD_PROT_CUST NAME=WFSTD/AND ENTITY=ACTIVITY
    Failed = oracle.ifs.utils.action.ActionFailedException: Oracle Workflow Definition Loader 2.6.3.5
    wferr:
    - WFLDRS_FAIL
    - WFLDRSD_FAIL MODE=UPLOAD EFFDATE=<null>
    - WFLDRSD_PROT_CUST NAME=WFSTD/AND ENTITY=ACTIVITY
    at oracle.ifs.admin.actions.OsCommandAction.processFinished(OsCommandAction.java:135)
    at oracle.ifs.admin.actions.ForkProcessAction.perform(ForkProcessAction.java:187)
    at oracle.ifs.utils.action.ActionQueue.performActions(ActionQueue.java:303)
    at oracle.ifs.utils.action.ActionQueue.run(ActionQueue.java:229)
    at java.lang.Thread.run(Thread.java:534)
    recording that configuration failed
    saving:/home/oracle/product/10.1.2/ocs_1/apps/content/settings/oracle/ifs/utils/common/Settings.properties
    iFS configuration failed; the following error occurred:
    Exception traces ---->
    oracle.ifs.utils.action.ActionFailedException: oracle.ifs.utils.action.ActionFailedException: Oracle Workflow Definition Loader 2.6.3.5
    Can someone help me.
    Thanks

    hi all,
    i've solved the problem by cleanly remove .profile under oracle login directory. not sure whether OUI refers this file during installation. in the new installation, i also use two UNIX users, one for infra tier, another for apps tier. this time, there is no single error reported.
    thanks for your attention.
    Rgds/

  • BPEL Custom Workflow (DocumentReviewWorkflow) with Content Services

    Hi All,
    Anybody working on BPEL Custom Workflows got Success in using the DocumentReviewWorkflow with the Content Services Development Kit 10.1.2.3.0
    Please update..
    Many Thanks in advance..!!!
    Prasant

    The DocumentReviewWorkflow that ships with the Content Services web services places the documents in the comments field.
    There are examples in the sample code - DocumentReviewWorkflowAction.java file demonstrates how to get the URLs from Oracle Content Services
    // Initialize the various Web Service Manager classes.
    StringBuffer sb = new StringBuffer(100);
    String endpoint = session.getServiceEndPoint();
    setUpManagers(session);
    try
    // Obtain the new/updated document items.
    Item[] documents = WorkflowUtils.getTargetDocuments(session,
    m_WorkflowId);
    int len = (documents == null) ? 0 : documents.length;
    for (int i = 0; i < len; i++)
    AttributeRequest[] pathar = WsUtil.newAttributeRequestArray(
    Attributes.URL);
    Item tmp =
    (Item) m_CommonManager.getItem(documents.getId(), pathar);
    String filepath = (String) WsUtil.getAttributesMap(
    tmp)
    .get(Attributes.URL);
    // Convert the String list to a single string for convenience.
    sb.append(filepath);
    sb.append("\n");
    finally
    session.logout();
    You can then add the document links as attachments by creating a list of attachments and then inserting the URLs for the documents in the URI - I've done it using a combination of Java and BPEL. Here is an excerpt
    <bpelx:exec name="countAttachments" language="Java" version="1.4"><![CDATA[/*Write your java code below e.g.
                   System.out.println("Hello, World");
              // Note that the documents come back as a list of
              // documents with a line break between them
              String filename = (String) getVariableData("filename");      
              String[] docnames = filename.split("\n");
    setVariableData("numberofdocuments", new Integer(docnames.length));
    ]]>
    </bpelx:exec>
    <assign name="initCounter">
    <copy>
    <from expression="0"/>
    <to variable="counter"/>
    </copy>
    <copy>
    <from>
    <attachment xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task">
    <name/>
    <URI/>
    <content/>
    </attachment>
    </from>
    <to variable="ParallelVar1" query="/task:task/task:attachment"/>
    </copy>
    </assign>
    <while name="While_1" condition="bpws:getVariableData('counter') &lt; (bpws:getVariableData('numberofdocuments') - 1)">
    <assign name="createAttachmentList">
    <bpelx:append>
    <bpelx:from>
    <attachment xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task">
    <name/>
    <URI/>
    <content/>
    </attachment>
    </bpelx:from>
    <bpelx:to variable="ParallelVar1" query="/task:task"/>
    </bpelx:append>
    <copy>
    <from expression="bpws:getVariableData('counter') + 1"/>
    <to variable="counter"/>
    </copy>
    </assign>
    </while>
    <bpelx:exec name="AddAttachmentsToList" language="Java" version="1.4"><![CDATA[/*Write your java code below e.g.
                   System.out.println("Hello, World");
              String filename = (String) getVariableData("filename");
              checkpoint();
              String[] docnames = filename.split("\n");
    for (int i = 0; i < docnames.length; i++) {
    int strlen = docnames[i].length();
    int slash = docnames[i].lastIndexOf('/');
    String filenameonly = docnames[i].substring(slash + 1, strlen);
    int item = i + 1;
    String varname = "/task:task/task:attachment[" + item + "]/task:name";
    String varuri = "/task:task/task:attachment[" + item + "]/task:URI";
    setVariableData("ParallelVar1", varname, filenameonly);
    setVariableData("ParallelVar1", varuri, docnames[i]);
    ]]>
    </bpelx:exec>
    This uses the fact that the document URLs are returned as a \n delimited string.

  • How to recover TNSNAMES.ORA file

    Hi, im using Oracle 8i 8.16 database running on win2k server. Im getting a an error whenever i try to connect to the databese using the DBA Studio program - the error was "ORA-12154:TNS:Could Not resolve service name". I noticed that the TNSNAMES.ORA file is blank in the home directory of Oracle8i, anyone knows how to recover the file?.
    Thanks
    regards
    Muraly

    Hi Friend,
    Thanks alot for ur reply, i tried the solution u gave in ur reply and i manage to get some parameters setting in my tnsnames.ora file - the content of it was
    as follows :
    # TNSNAMES.ORA Network Configuration File: C:\Oracle\Ora81\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    COGENT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cogent-w2ksvr)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = cogent)
    but then i keep getting the same error message.
    I notice that the Oracle service (undet the NT services) OracleOraHome81ManagementServer does not get started - when i try to manually start it up - NT return error saying its not startable due to windows error or application error.
    The following is my setting from net8 assistant.
    Service Naming
    ---- Service Identification ----
    Service name = cogent
    SID = ""
    connection type = Database Default
    Address Config
    Protocol = TCP/IP
    Hostname = cogent-w2ksvr
    Port Number = 1521
    My domain name is cogentconsulting.com
    My Full computer name is cogent-w2ksvr.cogentconsulting.com
    I really appreciate your help in this.
    thanks and regards
    Muraly
    null

Maybe you are looking for

  • Unable to change the name of events in iPoto 08

    Hi. I have iPhoto 08, and at first it was fine. But when I transferred my photos from my nikon d40 to my iPod, and then to my iMac from the iPod, i weren´t able too change the name of the events anymore. This is very anoying. Hope someone can help me

  • Question about infoset query with code

    Hi experts. I always appreciate your help. Today, I have some problem. I made infoset query using SQ01 and got some data. Those data include WBS no but some of them didn't. So I tried to put some code into the infoset query that any data has not WBS

  • ACE: URL redirect - not working

    Hi, I've to do url redirection from port 80 to port 443. I've following configured: rserver redirect url.test.com-rd   webhost-redirection https://url.test.com/   inservice serverfarm redirect url.test.com:80   description url.test.com - port 80 redi

  • Cookies and Javascript enabling

    Looking for instructions on enabling cookies and javascript on my IMAC. Can anyone please provide quick instruction ?

  • Annual maintenance contract in SAP

    hi sdn, how to bring Annual maintenance contract in SAP. regards, amit