mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-02-05 05:24:05 +00:00
netbox-housekeeping has been removed in the recent version of Netbox
parent
c0771d29a9
commit
cb2554023b
@ -69,8 +69,8 @@ docker compose exec -T postgres sh -c 'pg_dump -cU $POSTGRES_USER $POSTGRES_DB'
|
||||
Restore that database:
|
||||
|
||||
```bash
|
||||
# Stop all NetBox instances that access the db
|
||||
docker compose stop netbox netbox-worker netbox-housekeeping
|
||||
# Stop all NetBox instances that access the db
|
||||
docker compose stop netbox netbox-worker # additionally include "netbox-housekeeping" for older version of netbox-docker
|
||||
|
||||
# Restore the DB dump
|
||||
gunzip -c db_dump.sql.gz | docker compose exec -T postgres sh -c 'psql -U $POSTGRES_USER $POSTGRES_DB'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user