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.

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,

  • Http 401 error when uploading file to content services

    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|] (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?

    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.

  • Windows File Properties vs. Content Services Properties

    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

    Input file
    This is Line1
    This is Line2
    Expected Sender File adapter FCC into XML
    ..<Content> This is line 1 This is line2</content>
    FCC is giving the following output with the below config,
    File.fieldNames = Content
    File.fieldSeparator = '0x1A' (HexaDecimal rep for EndOfFile)
    ..<Content>This is line 1</content>
    ..<Content>This is line 2</content>
    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)

    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) {
           } finally {
    After i had the input string, i formatted it to get the required output as XML ...
    ..<Content> This is line 1 This is line2</content>

  • 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)

  • 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?
    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.

  • 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:
    Failed = oracle.ifs.utils.action.ActionFailedException: Oracle Workflow Definition Loader
    at oracle.ifs.admin.actions.OsCommandAction.processFinished(
    at oracle.ifs.admin.actions.ForkProcessAction.perform(
    at oracle.ifs.utils.action.ActionQueue.performActions(
    recording that configuration failed
    iFS configuration failed; the following error occurred:
    Exception traces ---->
    oracle.ifs.utils.action.ActionFailedException: oracle.ifs.utils.action.ActionFailedException: Oracle Workflow Definition Loader
    Can someone help me.

    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.

  • 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
    Please update..
    Many Thanks in advance..!!!

    The DocumentReviewWorkflow that ships with the Content Services web services places the documents in the comments field.
    There are examples in the sample code - 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();
    // Obtain the new/updated document items.
    Item[] documents = WorkflowUtils.getTargetDocuments(session,
    int len = (documents == null) ? 0 : documents.length;
    for (int i = 0; i < len; i++)
    AttributeRequest[] pathar = WsUtil.newAttributeRequestArray(
    Item tmp =
    (Item) m_CommonManager.getItem(documents.getId(), pathar);
    String filepath = (String) WsUtil.getAttributesMap(
    // Convert the String list to a single string for convenience.
    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));
    <assign name="initCounter">
    <from expression="0"/>
    <to variable="counter"/>
    <attachment xmlns="">
    <to variable="ParallelVar1" query="/task:task/task:attachment"/>
    <while name="While_1" condition="bpws:getVariableData('counter') &lt; (bpws:getVariableData('numberofdocuments') - 1)">
    <assign name="createAttachmentList">
    <attachment xmlns="">
    <bpelx:to variable="ParallelVar1" query="/task:task"/>
    <from expression="bpws:getVariableData('counter') + 1"/>
    <to variable="counter"/>
    <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");
              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]);
    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?.

    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 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cogent-w2ksvr)(PORT = 1521))
    (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
    My Full computer name is
    I really appreciate your help in this.
    thanks and regards

Maybe you are looking for