Back Up & Restore Cluster Config and Encryption Keys


After installing NGINX Controller, you should back up the cluster config and encryption keys. You’ll need these if you ever need to restore the NGINX config database on top of a new NGINX Controller installation.

  • To back up the NGINX Controller cluster configuration and encryption keys:

    /opt/nginx-controller/ cluster-config save

    The file is saved to /opt/nginx-controller/cluster-config.tgz.

  • To restore the cluster’s config and encryption keys, take the following steps:

    /opt/nginx-controller/ cluster-config load <filename>

This documentation applies to the following versions of NGINX Controller Documentation: 3.12, 3.13, 3.14, 3.15 and 3.16.