matt-FFFFFF / hassio-addon-postgres

MIT License
2 stars 0 forks source link

Export data from db #4

Open edoardop13 opened 1 year ago

edoardop13 commented 1 year ago

Hi, how can export data from postgres db?

I found this command: pg_dump -C -h localhost -U localuser dbname but I don't know where to run it

matt-FFFFFF commented 1 year ago

If you configure the Postgres extension and expose the port, then restart the database, you'll be able to connect to it remotely using pgadmin or other tools.