Configuring DCBackup

You can configure DCBackup by using the backup directory. Using the following steps you can specify the number of old backup folders to retain, the number of partial backup folders to retain, and how much additional free space to allot on the hard drive.

About this task

Configuration is accomplished in two basic steps:

  • Configuring the parameters in DCBackupCfg.xml. These parameters are described below.
  • Scheduling when to run DCBackup.

Procedure

  1. To Configure DCBackup, open DCBackupCfg.xml file located in the Tools directory in the Discover install directory.
  2. Modify the following configuration options:
    Option
    Description
    Backup Directory
    Specifies the name of the directory in which to store the Canister data files. This directory can be a remote host on the network. To specify the remote host, use the UNC path naming: \\BACKUPSERVER\directory.
    Note: The specified backup directory on the remote server must be shared. The user under which the backup process is scheduled to run must have permissions to write to the designated backup server.
    Remove Old DCBackup Directories
    When set to 1, this option removes old backup folders. The FullBackUpCount setting specifies the number of backup folders to keep. This option works by timestamp, so only the most recent backup folders are kept.
    FullBackUpCount
    Specifies the number of old backup folders to retain.
    BackupDaysToSave
    Specifies the number of partial backup folders to retain.
    FreeDiskSpace
    Specifies additional free space to allot on the hard drive beyond what is required by DCBackup.vbs.
  3. To run a single instance of DCBackup, open a command prompt.
  4. Navigate to the Tools directory inside the Discover install directory.
  5. Run DCBackup.exe:
    1. You can run this manually at the command line.
    2. You can also set up a Windows task to run the script automatically at a specified interval. To run the script, execute the following command:
      
      DCBackup.exe -Partial
      
      Note: For this process, you should perform a partial backup, which does perform a full backup of all canister data files that have not been previously archived.
  6. The following options are available through the command line or through the Windows Task Scheduler:
    Option
    Description
    Full
    Specifies to back up the base Canister. This includes the Master Session archive table (LSSN), Post Event/ Annotation table (PEVT), Report tables (RF*.DAT), Event and Category tables (NTYP, NCTG), corresponding CSV files, and Search Server registry files. See Full Backup.
    Partial
    Specifies to back up the incremental Canisters with the archive field value set. This backs up LSSN*.DAT and corresponding .IDX files, PEVT*.DAT and corresponding .IDX files. See Partial Backup.
    Cycleservices
    Specifies to stop and restart Discover services. Before stopping services, DCBackup verifies that sessions are drained from the Short Term Canister before proceeding with services shutdown. Upon services restart, DCBackup starts TLTMaint to perform an integrity check on the tables. Progress is logged to the console window. See Cycle All Services.