[docs] Fixed documentation indentation mistake (#251)

* [docs] Fixed documentation indentation mistake

Someone made a mistake when editing the docs, thinking they added a comment. Fixed this as it looks weird on the actual ui.

* [docs] Added compose to the cp command

Docker cannot detect the container if it's not using the compose file. Hence re-adding the compose for the copy command.

---------

Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
This commit is contained in:
Stefano
2024-11-22 18:40:13 +01:00
committed by GitHub
parent a19076b13a
commit f74b56cf24

View File

@@ -211,12 +211,12 @@ cd netbird/infrastructure_files/artifacts/
mkdir backup
cp docker-compose.yml turnserver.conf management.json backup/
```
To save the Management service databases, you need to stop the Management service and copy the files from the store directory using a docker compose command as follows:
# These command doesn't work, docker compose should be "docker-compose" and for the container volume copy it should be "docker cp -a management:/var/lib/netbird/ backup/"
```bash
docker-compose stop management
docker cp -a management:/var/lib/netbird/ backup/
docker-compose start management
docker compose stop management
docker compose cp -a management:/var/lib/netbird/ backup/
docker compose start management
```
## Upgrade