---
title: Charmhub | Deploy juju-backup-all using Charmhub - The Open Operator Collection
description: Deploy the latest version of juju-backup-all on any cloud.
url: https://charmhub.io/juju-backup-all/configurations
---

# juju-backup-all

[Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")

* [Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")

Platform:

24.04

22.04

20.04

stable 101

```
juju deploy juju-backup-all
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [accounts](https://charmhub.io/juju-backup-all/configurations#accounts)
* [backup-dir](https://charmhub.io/juju-backup-all/configurations#backup-dir)
* [backup-location-on-etcd](https://charmhub.io/juju-backup-all/configurations#backup-location-on-etcd)
* [backup-location-on-mysql](https://charmhub.io/juju-backup-all/configurations#backup-location-on-mysql)
* [backup-location-on-postgresql](https://charmhub.io/juju-backup-all/configurations#backup-location-on-postgresql)
* [backup-retention-period](https://charmhub.io/juju-backup-all/configurations#backup-retention-period)
* [controller-names](https://charmhub.io/juju-backup-all/configurations#controller-names)
* [controllers](https://charmhub.io/juju-backup-all/configurations#controllers)
* [crontab](https://charmhub.io/juju-backup-all/configurations#crontab)
* [exclude-charms](https://charmhub.io/juju-backup-all/configurations#exclude-charms)
* [exclude-controller-backup](https://charmhub.io/juju-backup-all/configurations#exclude-controller-backup)
* [exclude-juju-client-config-backup](https://charmhub.io/juju-backup-all/configurations#exclude-juju-client-config-backup)
* [exclude-models](https://charmhub.io/juju-backup-all/configurations#exclude-models)
* [exporter-channel](https://charmhub.io/juju-backup-all/configurations#exporter-channel)
* [exporter-port](https://charmhub.io/juju-backup-all/configurations#exporter-port)
* [nagios\_context](https://charmhub.io/juju-backup-all/configurations#nagios_context)
* [timeout](https://charmhub.io/juju-backup-all/configurations#timeout)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* 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.
