aproxy

Aproxy Subordinate Charm

Channel Revision Published Runs on
latest/stable 35 16 Dec 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 11 16 Nov 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/stable 4 14 Oct 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 37 16 Dec 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 36 16 Dec 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
latest/edge 35 16 Dec 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04
juju deploy aproxy
Show information

Platform:

Ubuntu
24.04 22.04 20.04

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 2 months ago.