enable

Bareos

Enable a job/client/schedule.

Synopsis

enable [job=<job>] [client=<client>] [schedule=<schedule>] [storage=<storage>]

Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.

Description

Switches a job, client or schedule back on that was switched off with disable. An enabled job is started by its schedule again, an enabled client is backed up again. Without an argument, or with job, client or schedule without a value, the Director offers the disabled resources of that kind; if there is exactly one it is selected automatically.

The change lives only in the memory of the running Director and is lost at the next reload or restart. A permanent setting requires the Enabled directive in the configuration. The catalog is not changed.

Arguments

ArgumentTypeValues / sourceDefaultFlagsDescription
job=resourcefrom .jobsJob name.
client=resourcefrom .clientsClient name.
schedule=resourcefrom .scheduleSchedule name.
storage=resourcefrom .storagesStorage name.

Examples

Let the scheduler start BackupClient1 again:

enable job=BackupClient1

Back up the client bareos-fd again:

enable client=bareos-fd

Reactivate a schedule:

enable schedule=WeeklyCycle

See also

Command reference