Channel Revision Published Runs on
latest/stable 101 08 Jan 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 100 08 Jan 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 84 08 Jan 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 101 20 Oct 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 100 20 Oct 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/candidate 84 17 Jul 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 118 27 Jan 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 117 27 Jan 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 116 27 Jan 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
juju deploy juju-backup-all
Show information

Platform:

Ubuntu
24.04 22.04 20.04

Learn about configurations >

  • accounts | string

    YAML defining the configuration for juju accounts, same syntax as used by the juju client configuration (~/.local/share/juju/accounts.yaml)

  • backup-dir | string

    Default: /opt/backups

    The directory to be used for the backups. Will be created if it does not exist.

  • backup-location-on-etcd | string

    Default: /home/ubuntu/etcd-snapshots

    The directory to be used by the postgresql charm to save the backups. The "backup-location-on-etcd" will be created if it does not exist. This config option is useful to workaround the issue that the disk on the charm is full, or the default backup path is not writable.

    Please do not be confused with "backup-dir" option which specify the output directory of the backups for charm-juju-backup-all.

  • backup-location-on-mysql | string

    Default: /var/backups/mysql

    The directory to be used by the postgresql charm to save the backups. The "backup-location-on-mysql" will be created if it does not exist. This config option is useful to workaround the issue that the disk on the charm is full, or the default backup path is not writable.

    Please do not be confused with "backup-dir" option which specify the output directory of the backups for charm-juju-backup-all.

  • backup-location-on-postgresql | string

    Default: /home/ubuntu

    The directory to be used by the postgresql charm to save the backups. The "backup-location-on-postgresql" will be created if it does not exist. This config option is useful to workaround the issue that the disk on the charm is full, or the default backup path is not writable.

    Please do not be confused with "backup-dir" option which specify the output directory of the backups for charm-juju-backup-all.

  • backup-retention-period | int

    Default: 30

    Retention period for backups in days. Backup files older than this will be purged during the next backup run.

  • controller-names | string

    A comma delimited list of controller names to be backed up. An empty list means that all configured controllers will backed up.

  • controllers | string

    YAML defining the configuration for controllers, same syntax as used by the juju client configuration (~/.local/share/juju/controllers.yaml)

  • crontab | string

    Default: 30 4 * * *

    Specifies when to run the backups. Uses standard crontab syntax.

  • exclude-charms | string

    A comma delimited list of charms to be excluded. An empty list means that all charms supported by juju-backup-all will be backed up. . Note that this setting uses the name of the charm and not the name of the application.

  • exclude-controller-backup | boolean

    Whether to backup the controller as part of the backup operations

  • exclude-juju-client-config-backup | boolean

    Whether to backup the juju client data (accounts, controllers, ssh keys) as part of the backup operations.

  • exclude-models | string

    Comma-delimited list of model names to omit during backup runs

  • exporter-channel | string

    Default: stable

    Install prometheus-juju-backup-all-exporter snap from "exporter-channel". Supported values are: "stable", "candidate", "beta" and "edge". Note that it will be superseded by local resources: "exporter-snap".

  • exporter-port | int

    Default: 10000

    Start the exporter at "exporter-port".

  • nagios_context | string

    Default: juju

    A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.

  • timeout | int

    Default: 60

    Timeout in seconds for long running commands. This setting is used for each task and not for the whole backup operation.