mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 08:26:35 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user