MeshCentral
MeshCentral copied to clipboard
Export and Import DB
Hi Ylianst First I need to say thank you for your great job with meshcentral, is a super nice tool that I want to use 100 % of the time.
I am trying to export my DB from NeDB to mongo, doing the steps on your video and wiki
but for some reason when I start the server again after importing the DB and changing the config.json give me some errors.
When I list the databases at mongo shows me meshcentral with 0.000GB
Server Software (please complete the following information):
- OS: Ubuntu 20.04
- Virtualization: [HyperV]
- Network: LAN, ssl offload,
- Version: 1.0.43
- Node: [e.g. 18.4.0]
Client Device (please complete the following information):
- Device: Laptop
- OS: windows 11
- Network: Local to Meshcentral and Remote over WAN
- Browser: Google Chrome
Your config.json file*
"_$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
"__comment1__": "This is a simple configuration file, all values and sections that start with underscore (_) are ignored. Edit a section and remove the _ in front of the name. Refer to the user's guide for details.",
"__comment2__": "See node_modules/meshcentral/sample-config-advanced.json for a more advanced example.",
"settings": {
"mongodb": "mongodb://127.0.0.1:27017/meshcentral",
"mongodbcol": "meshcentral",
"cert": "meshcentral.americancare.net",
"WANonly": true,
"_LANonly": true,
"sessionKey": "MyReallySecretPassword1",
"port": 443,
"aliasPort": 443,
"redirPort": 80,
"redirAliasPort": 80
},
"domains": {
"": {
"title": "MeshCentral",
"title2": "American Care - IT Department",
"_minify": true,
"_newAccounts": true,
"_userNameIsEmail": true
}
},
"letsencrypt": {
"__comment__": "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before trying Let's Encrypt.",
"email": "[email protected]",
"names": "meshcentral.americancare.net",
"production": true
}
}