mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
describe how to backup the database (#314)
This commit is contained in:
parent
6b57993d9f
commit
188f8ad284
@ -15,6 +15,13 @@ npx directus-sync push \
|
|||||||
--directus-password admin123
|
--directus-password admin123
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Backup Database
|
||||||
|
Either keep a copy of the `/data/database` folder or run the following command to get an sql dump
|
||||||
|
|
||||||
|
```
|
||||||
|
docker exec -t utopia-map-database-1 pg_dumpall -c -U directus > dump.sql
|
||||||
|
```
|
||||||
|
|
||||||
## Access Data on local drive
|
## Access Data on local drive
|
||||||
|
|
||||||
In order to access the postgress data mounted to the local drive at `/data/database` you need to make it accessible (assuming you are not root):
|
In order to access the postgress data mounted to the local drive at `/data/database` you need to make it accessible (assuming you are not root):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user