mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-06-20 01:48:45 +02:00
stop also netbox-housekeeping on DB maintenance
parent
1687c8830d
commit
617cc1f442
@ -69,7 +69,7 @@ Restore that database:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Stop all NetBox instances that access the db
|
# Stop all NetBox instances that access the db
|
||||||
docker-compose stop netbox netbox-worker
|
docker-compose stop netbox netbox-worker netbox-housekeeping
|
||||||
|
|
||||||
# Restore the DB dump
|
# Restore the DB dump
|
||||||
gunzip -c db_dump.sql.gz | docker-compose exec -T postgres sh -c 'psql -U $POSTGRES_USER $POSTGRES_DB'
|
gunzip -c db_dump.sql.gz | docker-compose exec -T postgres sh -c 'psql -U $POSTGRES_USER $POSTGRES_DB'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user