Skip to content

Task: Tarball incremental

Jérôme Quéré edited this page Aug 14, 2015 · 3 revisions

Tarball-incremental

This task type create incremental tarball with specific files and/or directories using the --listed-incremental tar option. The first time this task is executed tar will create a complete backup call master ans create a list file. The second time tar will only backup updated and new files. You can configure the frequency of master backup you want to do.

options:

  • FOLDERS: (mandatory)
    A list of files and/or directories you want to be added in the archive.
  • LIST_FILE: (mandadory) The complete path of the list file that will be generated by tar
  • FILE_BASENAME: (optional) (default: "backup")
    The name of archive that will be generated. Be careful this basename can be altered by the storage engine you choose.
  • MASTER_FREQUENCY: (optional) (default: "weekly") The frequency of master backup creation can be either "weekly" or "monthly"
  • MASTER_FREQUENCY_VALUE: (optional) (default: 1) If MASTER_FREQUENCY is "weekly" MASTER_FREQUENCY_VALUE should be set between 1 (Monday) and 7 (Sunday).
    If MASTER_FREQUENCY is "monthly" MASTER_FREQUENCY_VALUE should be set between 1 and 31.

exemple:

IB_TASK_data_TYPE="tarball-incremental"
IB_TASK_data_FOLDERS="/home /etc '/root/My File.txt'"
IB_TASK_data_FILE_BASENAME="data"
IB_TASK_data_LIST_FILE="/root/data-backup.list"
IB_TASK_data_MASTER_FREQUENCY="weekly"
IB_TASK_data_MASTER_FREQUENCY="3"
IB_TASK_data_STORAGE="myStorage"

Clone this wiki locally