Skip to content

Commit

Permalink
[docs] Fixed documentation indentation mistake (#251)
Browse files Browse the repository at this point in the history
* [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 <[email protected]>
  • Loading branch information
Codixer and mlsmaycon authored Nov 22, 2024
1 parent a19076b commit f74b56c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/selfhosted/selfhosted-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f74b56c

Please sign in to comment.