From 67ff6f28cb0e4971013fe859d8271f9d30bbb0b6 Mon Sep 17 00:00:00 2001 From: TheRealOrco <141460691+TheRealOrco@users.noreply.github.com> Date: Sun, 20 Oct 2024 21:22:56 +0300 Subject: [PATCH] Update selfhosted-guide.mdx Updated the backup docker-compose commands --- src/pages/selfhosted/selfhosted-guide.mdx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/selfhosted/selfhosted-guide.mdx b/src/pages/selfhosted/selfhosted-guide.mdx index a4b9e643..fdd30eb3 100644 --- a/src/pages/selfhosted/selfhosted-guide.mdx +++ b/src/pages/selfhosted/selfhosted-guide.mdx @@ -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/" ```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