mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 07:26:35 +00:00
Updated the backup docker-compose commands
This commit is contained in:
@@ -212,10 +212,11 @@ mkdir backup
|
|||||||
cp docker-compose.yml turnserver.conf management.json 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:
|
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/"
|
||||||
```bash
|
```bash
|
||||||
docker compose stop management
|
docker-compose stop management
|
||||||
docker compose cp -a management:/var/lib/netbird/ backup/
|
docker cp -a management:/var/lib/netbird/ backup/
|
||||||
docker compose start management
|
docker-compose start management
|
||||||
```
|
```
|
||||||
|
|
||||||
## Upgrade
|
## Upgrade
|
||||||
|
|||||||
Reference in New Issue
Block a user