Import authorities key's from another pritunl zero management

Hello Team

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.

What do you think ?

Thanks for your feedback

Vinz

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.

Thanks Zach for the feedback
I will try this migration plan

Best regards