B.3 Sample of a Full Configuration for ArkConfig.xml

The sys:\arkManager\arkConfig.xml file contains basic settings, default job settings, and individual job settings. Use the sys:\arkManager\arkConfig_sample_full.xml file as a guide for configuring jobs for your archive server.

For information about the elements and their usage, see Section A.0, XML Elements and Attributes for ArkConfig.


<!-- This is the sample file to configure jobs manually. Copy it 
     to sys:\arkManager\arkConfig.xml, and modify it accordingly. 
-->


<arkConfig> <!-- Root element -->


 <basic> <!-- Start Basic element -->


   <displayLog/>


   <authentication> <!-- Administrator and database authentication
                         information -->


     <eDirectory> <!-- eDirectory Administrator User information -->


       <user>admin.xyz_inc</user> <!-- Use the eDirectory Common Name.
                                  -->


       <password>pass_word</password>


       <tree>archive_tree</tree>


     </eDirectory>


     <database> <!-- ArkSQL Administrator User information -->


       <user>root</user>


       <password>pass_word</password>


       <portNumber>3306</portNumber>


     </database>


   </authentication>


   <!-- Location of the archive of versioned files -->


   <archivePath>archive_volume:</archivePath>


 </basic> <!-- End Basic element -->


 <defaults> <!-- Start Defaults element -->


   <source> <!-- Location of the data that you want to version -->


     <serverContext>xyz_inc</serverContext>


     <filter>


     <!-- By default, everything on the source volume is eligible for
          file versioning. This example filter includes everything on
           the volume (by default), except for the files with extension
          .tmp, or under \dir1\dir2 directory, or matches pattern
          .*[uU]2.* (such as 1U2.exe), or matches wildcard abc* 
          (such as abcd.c). 
     -->                    


       <exclude>


         <extension>.tmp</extension>


         <path>\dir1\dir2</path>


         <pattern>.*[uU]2.*</pattern>


         <wildcard>abc*</wildcard>


       </exclude>


     </filter>


   </source>


   <frequency> <!-- Schedule for versioning data -->


     <time>


       <start>


         <hour>12</hour>


         <minute>30</minute>


       </start>


       <daily>


         <saturday/>


       </daily>


     </time>


   </frequency>


 </defaults> <!-- End Defaults element -->


 <job> <!-- Begin a Job element -->


   <name>server1_volume1</name>


   <frequency>


     <interval unit="seconds">20</interval>


   </frequency>


   <source>


     <server>server1</server>


     <volume>volume1</volume>


     <snapshotPool>snapPool</snapshotPool> <!-- (Optional) Use NSS pool
                                                snapshots. -->


     <filter overrideDefault="true"> <!-- Override default filter. -->


     <!-- This filter excludes everything on the source volume, except
          for the files with no extension (such as README), or files
          with extension .doc, .wpd, .ppt. Then exclude any files in
          \temp directory, except for files under \temp\system
          directory, or named \temp\download.lst, or matches wildcard
          pattern \temp\import*.exe (such as \temp\import1.exe). 


     -->


       <exclude>


         <path>\</path>


       </exclude>


       <include>


         <extension>.</extension>       <!-- Path with no extension -->


         <extension>.doc</extension>


         <extension>.wpd</extension>


         <extension>.ppt</extension>


       </include>


       <exclude>


         <path>\temp</path>


       </exclude>


       <include>


         <path>\temp\system</path>


         <path>\temp\download.lst</path>


         <wildcard>\temp\import*.exe</wildcard>


       </include>


     </filter>


   </source>


 </job> <!-- End Job element for server1_volume1 -->


 <job> <!-- Begin another Job element for server2_volume2. -->


   <name>server2_volume2</name>


   <stopped/> <!-- The job is in a Stopped state. -->


   <frequency>


     <interval unit="minutes">15</interval>


   </frequency>


   <source>


     <server>server2</server>


     <!-- &, <, and > are special characters in XML, and must be            
          enclosed by CDATA. In this example, volume2& must be 
          enclosed in the CDATA command. 
     -->


     <volume><![CDATA[volume2&]]></volume>


   </source>


   <deletePolicy> <!-- How many and how long to keep versions in the
                       archive -->


     <interval unit="days">2</interval>


     <maxKeepVersions>2</maxKeepVersions>


     <maxKeepTime unit="days">90</maxKeepTime>


   </deletePolicy>


 </job>  <!-- End another Job element -->


 <!-- Add a Job element for every volume that has data you want to
      version. -->


</arkConfig> <!-- End Root element -->


<!-- End of arkConfig.xml -->