Skip to main content

Tibero BackupSet.xml Example


Below is an example of a complete backupSet.xml file for Tibero Database Server.

For more information on how to complete a backupSet.xml file, please refer to the AhsayOBM Overview Guide for Linux (CLI).

Backup Set NameTibero_BSET
Temporary Working Directory/root/Temp
Remove temporary files after backupYes
Compression TypeSnappyDefaultCompression (Fast with optimization for local)
Backup SourceTibero Database Server
ExcludeNone
Daily ScheduleNone
DestinationAhsayCBS
DeduplicationYes

<?xml version="1.0" encoding="UTF-8"?>
<Setting>
  <!-- This is the backup set setting -->
  <Key name="Backup Set Setting" allowMultiple="Y">
    <!-- Backup set type (Read Only) -->
    <Value data="Tibero Database Server" name="Type" type="string" />
    <!-- Backup set name -->
    <Value data="Tibero_BSET" name="Name" type="string" />
    <!-- Temporary directory for storing backup files -->
    <Value data="/root/Temp" name="Temporary Working Directory" type="string" />
    <!-- Remove temporary files after backup -->
    <!-- Y: Yes -->
    <!-- N: No -->
    <Value data="Y" name="Delete temporary files after backup" type="boolean" />
    <!-- Select compression type -->
    <!-- GzipDefaultCompression : Normal -->
    <!-- GzipBestSpeedCompression: Fast (Compressed size larger than normal) -->
    <!-- SnappyDefaultCompression: Fast with optimization for local -->
    <!-- Leave the field blank for no compression -->
    <Value data="SnappyDefaultCompression" name="Compression Type" type="string" />
    <!-- This shows the Tibero Database Server setting -->
    <Key name="Tibero Database Server Setting">
      <!-- Tibero Database Home -->
      <Value data="/home/user/Tibero/tibero6" name="Database Home" type="string" />
      <!-- Tibero Login ID -->
      <Value data="SYS" name="Login ID" type="string" />
      <!-- Tibero Password -->
      <Value data="tibero" name="Password" type="string" />
      <!-- Tibero Host -->
      <Value data="127.0.0.1" name="Host" type="string" />
      <!-- Tibero Port -->
      <Value data="9808" name="Port" type="string" />
      <!-- Tibero SID -->
      <Value data="tiberoA998" name="SID" type="string" />
    </Key>
    <!-- This includes the database you want to backup -->
    <!-- Copy and paste the whole <Key> to add more selected sources -->
    <Key name="Selected Source" allowMultiple="Y">
      <!-- Please enter the path in the format of "Tibero Database Server/_YOUR_FILE_NAME_" -->
      <Value data="Tibero Database Server" name="Path" type="string" />
    </Key>
    <!-- This excludes the database from the included source -->
    <!-- Copy and paste the whole <Key> to add more deselected sources -->
    <Key name="Deselected Source" allowMultiple="Y">
      <!-- Please enter the path in the format of "Tibero Database Server/_YOUR_FILE_NAME_" -->
      <Value data="" name="Path" type="string" />
    </Key>
    <!-- Settings for your scheduled backups -->
    <Key name="Schedule Settings">
      <!-- Enable scheduled backup on this computer -->
      <!-- Y: Yes -->
      <!-- N: No -->
      <Value data="N" name="Enable" type="boolean" />
    </Key>
    <!-- This is the collection of destinations -->
    <Key name="Destination Settings">
      <Value data="1" name="concurrency-level" type="integer" />
      <!-- AhsayCBS destination is where the files are backup to server -->
      <Key name="AhsayCBS Destination Settings" allowMultiple="Y">
      </Key>
      <!-- Local destination means backup files are stored in your computer -->
      <!-- Copy and paste the whole <Key> to add more local destinations -->
      <Key name="Local Destination Settings" allowMultiple="Y">
        <!-- Name of your destination -->
        <Value data="Local Dest" name="Name" type="string" />
        <!-- Directory to store your backup files -->
        <!-- e.g. /tmp -->
        <Value data="/root/Tibero-Local-Dest" name="Local Path" type="string" />
      </Key>
    </Key>
    <!-- This shows the deduplication setting -->
    <Key name="Deduplication Setting">
      <!-- Enable deduplication -->
      <!-- Y: Yes -->
      <!-- N: No -->
      <Value data="Y" name="Enable" type="boolean" />
      <!-- Deduplication scope -->
      <!-- F: Same file path within the same backup set -->
      <!-- B: All files within the same backup set -->
      <Value data="B" name="Deduplication level" type="string" />
    </Key>
  </Key>
</Setting>