Aproxy Subordinate Charm

Platform:

Ubuntu
26.04 24.04 22.04 20.04
Channel Revision Published Runs on
latest/stable 87 27 May 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 88 27 May 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 89 27 May 2026
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 300 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 299 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 298 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 297 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 296 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 295 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 294 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 293 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 292 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 291 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 290 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 289 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 288 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 287 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 286 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 285 Yesterday
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
juju deploy aproxy

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

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

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.


Help improve this document in the forum (guidelines). Last updated 10 months ago.