Documentation Center

Configuring the Archive Manager

The cd_archivemanager_conf.xml is the configuration file for the Archive Manager. Initial configuration requires that you specify which Web sites you want to archive and the database in which you want to store the content.

Procedure

  1. Access your Archive Manager installation media and navigate to the folder Content Delivery\resources\configurations\.
  2. Copy the file cd_archivemanager_conf_sample.xml to one of the following locations:
    • If your Content Deployer runs as a Java Web application, copy the file to WEB-INF/classes/.
    • If your Content Deployer runs as a .NET Web application, copy the file to lib\config\.
    • If your Content Deployer runs as a Windows service or a Java process, copy the file to the location where you stored your other configuration files.
  3. In the destination folder, rename the file to cd_archivemanager_conf.xml and open it for editing.
  4. In the <Publications> element, comment out all <Publication> child elements (including their InclusionRule children), then add a <Publication> child element for each Web site you want to archive. The <Publication> element requires the following attributes:
    • Id — is the item ID of the Publication for which you want all content that is published or unpublished from this publication to be archived.

    • BaseUrl — defines that start of a URL; any published page which contains this URL is archived. You can also set a BaseUrl on the Publications element to act as the default; if a <Publication> element does not have a BaseUrl, the default is used.

    For example:
    <Publications BaseUrl="http://www.mywebsite.com:8080"> 
      <Publication Id="37"/>
    		<Publication Id="20" BaseUrl="http://www.mywebsite.com:8082"/>
    </Publications>
  5. In the <Capture> element, specify the location in which temporary files are stored in the WorkFolder attribute. The value is a path pointing to an existing hard drive (note that the folder is created if it does not exist). For example:
    <Capture Class="com.tridion.archiving.http.HttpCapture" ProcessChildren="true"
    			 WorkFolder="d:/temp/ArchiveManager" RetryTime="1">
  6. Save and close the file.
  7. Restart Content Delivery for the changes to take effect.

What to do next