mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-07-24 09:26:13 +02:00
stop also netbox-housekeeping on DB maintenance
@ -69,7 +69,7 @@ Restore that database:
|
||||
|
||||
```bash
|
||||
# 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
|
||||
gunzip -c db_dump.sql.gz | docker-compose exec -T postgres sh -c 'psql -U $POSTGRES_USER $POSTGRES_DB'
|
||||
|
Reference in New Issue
Block a user