Back Up & Restore Cluster Config and Encryption Keys
Overview
After installing F5 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/helper.sh 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/helper.sh cluster-config load <filename>
This documentation applies to the following versions of NGINX Controller: 3.12, 3.13, 3.14, 3.15, 3.16.1, 3.17, 3.18, 3.18.1, 3.18.2 and 3.18.3.
This documentation applies to the following versions of NGINX Controller API Management module: 3.18, 3.18.1, 3.19, 3.19.1, 3.19.2, 3.19.3, 3.19.4 and 3.19.5.
This documentation applies to the following versions of NGINX Controller App Delivery module: 3.20, 3.20.1, 3.21, 3.22, 3.22.1, 3.22.2, 3.22.3, 3.22.4, 3.22.5, 3.22.6, 3.22.7 and 3.22.8.