Error when trying to backup db

40 views
Skip to first unread message

Kirill K

unread,
Mar 9, 2020, 7:38:24 AM3/9/20
to dcm4che
Hi
When following the upgrade procedure, on step 
"docker exec dcm4chee-arc_db_1 dump > db_backup.sql"

got an error:
root@PacsRack:/volume1/pacs# docker exec dcm4chee-arc_db_1 dump > db_backup.sql
pg_dump: [archiver (db)] connection to database "pacsdb" failed: FATAL:  role "root" does not exist

Skipped this step for now. Do i need to specify a user or something?

Gunter Zeilinger

unread,
Mar 9, 2020, 8:23:14 AM3/9/20
to dcm...@googlegroups.com
$ docker exec dcm4cheearc_db_1 pg_dump -Upacs pcasdb > db_backup.sql

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages