Backing up Pritunl

All data for Pritunl is stored in the MongoDB database, the only configuration data stored locally on a server is the MongoDB uri used to connect to the database. Information on MongoDB backup methods can be found in the MongoDB documentation. For Enterprise clusters the file /var/lib/pritunl/pritunl.uuid will store the ID used to identify the host in the cluster. This UUID can be found in the interface by holding shift and clicking the red Host label in the Hosts tab. It isn't necessary to backup this file but if it is not stored when restoring Pritunl the hosts will appear as new hosts and will only need to be re-attached to the vpn servers.