---
title: Charmhub | Deploy Aproxy Subordinate Charm using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of Aproxy Subordinate Charm on any cloud.
url: https://charmhub.io/aproxy/docs/back-up-restore
---

# Aproxy Subordinate Charm

[Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

* [Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

Platform:

26.04

24.04

22.04

20.04

stable 87

```
juju deploy aproxy
```

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

---

#### Contacts

##### Maintainers

+ [Launchpad Team](https://launchpad.net/~canonical-is-devops)

* [Submit a bug](https://github.com/canonical/aproxy-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# How to back up and restore

The aproxy subordinate charm does not maintain application data or databases of its own. Since the charm is stateless apart from configuration, there is no persistent data that needs a traditional backup/restore procedure.

## [Back up](https://charmhub.io/aproxy/docs/back-up-restore#p-39662-back-up)

To preserve the state of the deployment, back up the following:

1. **Charm configuration**

   Run:

   ```
   juju config aproxy
   ```

   Save the output, including:

   * `proxy-address`
   * `exclude-addresses-from-proxy`
   * `intercept-ports`
2. **System snapshot (optional)**

   If required for compliance, you can also back up system-level state:

   * List of installed snaps (`snap list`)
   * nftables configuration (`sudo nft list ruleset`)

## [Restore](https://charmhub.io/aproxy/docs/back-up-restore#p-39662-restore)

To restore the charm to its previous state:

1. **Redeploy the charm**

   ```
   juju deploy aproxy --config proxy-address=<saved-address> \
                      --config exclude-addresses-from-proxy=<saved-exclude-addresses-from-proxy> \
                      --config intercept-ports=<saved-ports>
   ```
2. **(Optional) Reapply system snapshot**

   * If you captured nftables or snap state for compliance, restore them with:

     ```
     sudo snap install aproxy --edge
     sudo nft -f <saved-ruleset-file>
     ```

In most cases, reapplying the saved Juju configuration is sufficient. The charm will automatically reinstall the snap and regenerate nftables rules.

---
