Add documentation for restoring backup in Ubuntu

Quentin Dupont committed Jan 24, 2023 at 16:29 UTC ab5c1f8f559f7ab69116b38660a0a3e2a5543736
1 file changed +8
docs/docs/install/install2.md
+8
@@ -914,6 +914,14 @@ sudo chmod 755 –R /opt/meshcentral/meshcentral-data/letsencrypt
914
915 This will allow the server to get and periodically update its Let’s Encrypt certificate. If this is not done, the server will generate an `ACCES: permission denied` exception.
916
917 +### Restore backup in Ubuntu
918 +
919 +- Stop Meshcentral service `sudo systemctl stop meshcentral.service`
920 +- In your old server, get your backup : meshcentral-data folder, and mongodump-xxxx.archive
921 +- In the new server, replace the actual meshcentral-data with your backup (it will handle your LestEncrypt cert also)
922 +- Restore mongodb : mongorestore --archive=mongodump-xxxx.archive
923 +- Restart meshcentral.service `sudo systemctl start meshcentral.service`
924 +
925 ## Microsoft Azure
926
927 In this section, we will look installing MeshCentral on Microsoft Azure. Microsoft Azure offers many operating system options and we will be selecting `Ubuntu Server` as our choice. From the Azure portal, we select `Virtual machines` on the left and `Add`.