Skip to content

Commit

Permalink
Update selfhosted-guide.mdx
Browse files Browse the repository at this point in the history
Updated the backup docker-compose commands
  • Loading branch information
TheRealOrco authored Oct 20, 2024
1 parent b0189f1 commit 67ff6f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/selfhosted/selfhosted-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,11 @@ 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 doesnt work, docker compose should be "docker-compose" and for the container volume copy it should be "docker cp -a management:/var/lib/netbird/ backup/"

Check failure on line 215 in src/pages/selfhosted/selfhosted-guide.mdx

View workflow job for this annotation

GitHub Actions / codespell

doesnt ==> doesn't, does not
```bash
docker compose stop management
docker compose cp -a management:/var/lib/netbird/ backup/
docker compose start management
docker-compose stop management
docker cp -a management:/var/lib/netbird/ backup/
docker-compose start management
```

## Upgrade
Expand Down

0 comments on commit 67ff6f2

Please sign in to comment.