DOCS: Docker guides

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2025-10-29 20:33:32 +11:00
parent 61de63771b
commit 2148a7ffc5
3 changed files with 6 additions and 6 deletions

View File

@@ -122,7 +122,7 @@ For users running NetAlertX via Docker, you can back up or restore directly from
2. **Create a compressed archive** of your configuration and database volumes:
```bash
docker run --rm -v netalertx_config:/config -v netalertx_db:/db alpine tar -cz /config /db > netalertx-backup.tar.gz
docker run --rm -v local_path/config:/config -v local_path/db:/db alpine tar -cz /config /db > netalertx-backup.tar.gz
```
3. **Restart the container:**
@@ -142,7 +142,7 @@ For users running NetAlertX via Docker, you can back up or restore directly from
2. **Restore from your backup file:**
```bash
docker run --rm -i -v netalertx_config:/config -v netalertx_db:/db alpine tar -C / -xz < netalertx-backup.tar.gz
docker run --rm -i -v local_path/config:/config -v local_path/db:/db alpine tar -C / -xz < netalertx-backup.tar.gz
```
3. **Restart the container:**