Is a way to import from previous pritunl the authorities of a previous pritunl management.
Because we want to install a fresh pritunl zero and we d’ont want to redeploy the pritunl authorities on all server’s
I think about dump the collection from mongo and reimport on the new one.
The command mongodump --uri="mongodb://<username>:<password>@<host>:<port>/pritunl-zero" --collection=authorities --out=backup will export the authorities collection. Then the command mongorestore --uri="mongodb://<username>:<password>@<host>:<port>/pritunl-zero" --collection=authorities --nsInclude="pritunl-zero.authorities" backup/pritunl-zero/authorities.bson can be used to import the collection.