Tutorial: How to Back Up Access Server Configuration⁠

Overview⁠

Access Server stores configurations in SQLite database files. You can also migrate to a MySQL-type database, but the SQLite database files are the default setup.

This tutorial shows you how to create a backup of these database files.

Default configuration file locations⁠

These are the default configuration file locations:

  • Global server configuration: /usr/local/openvpn_as/etc/db/config.db

  • Server and client certificates: /usr/local/openvpn_as/etc/db/certs.db

  • User and group properties: /usr/local/openvpn_as/etc/db/userprop.db

  • Log database: /usr/local/openvpn_as/etc/db/log.db

  • Debug and low level settings: /usr/local/openvpn_as/etc/as.conf

  • Local server node configuration: /usr/local/openvpn_as/etc/db/config_local.db

  • Cluster configuration: /usr/local/openvpn_as/etc/db/cluster.db

  • Cluster notification system: /usr/local/openvpn_as/etc/db/notification.db

If you're running Access Server on a Docker container, refer to Tutorial: How to Back Up Access Server Configuration on Docker.