---
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/bootstack-charmers-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")
* [Monitoring](https://charmhub.io/?filter=monitoring)

Platform:

22.04

20.04

18.04

stable 46

```
juju deploy bootstack-charmers-juju-backup-all
```

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

* [accounts](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#accounts)
* [backup-dir](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#backup-dir)
* [backup-retention-period](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#backup-retention-period)
* [controller-names](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#controller-names)
* [controllers](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#controllers)
* [crontab](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#crontab)
* [exclude-charms](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#exclude-charms)
* [exclude-controller-backup](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#exclude-controller-backup)
* [exclude-juju-client-config-backup](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#exclude-juju-client-config-backup)
* [exclude-models](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#exclude-models)
* [exporter-channel](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#exporter-channel)
* [exporter-port](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#exporter-port)
* [nagios\_context](https://charmhub.io/bootstack-charmers-juju-backup-all/configurations#nagios_context)
* [timeout](https://charmhub.io/bootstack-charmers-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-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.
