Skip to content
Jérôme Quéré edited this page Aug 13, 2015 · 4 revisions

What is a task ?

Tasks are one of the core concept of the application. A task is a way to backup some data. It can be by creating a tarball, using the mysqldump program or any other method that fits your specific needs.

How to create a task ?

All the tasks are declared in the configuration file.
Each task MUST have at least:

  • A name: The name of the task must be unique and must be a valid bash token name [a-zA-Z][a-ZA-Z0-9_-]*
  • A type: The type of the task
  • A storage: The name of the storage you want to store the result of this backup to (see Storages)
Minimalist task
IB_TASK_name_TYPE="tarball"
IB_TASK_name_STORAGE="my-storage"

Notice that the name of the task is used in the variable name.
Don't forget to add the task name in the IB_TASKS variable See Configuration.

Built-in task types

Clone this wiki locally