In the first line, replace portnumber with 5472 for the SEWHD database,
In the second line replace DefaultUser and DefaultPassword per the tables below, depending on your software version. Choose your own filepath and filename to create the location of the database dump file.
For example:
Restoring the dumped backup file
The exported dump in the above step can be imported into the same (after dropping) or a brand new database.
Note: If you installed an empty database as part of the software installation, you will need to drop the database and the database schema owner (ie: user) first. In this case, it is required because the pg dump already has the database user and schema defined within it.
Drop the existing postgres database, use the following commands:
Note: pg_restore.exe, createuser.exe and createdb.exe will be present in the $SOLID_EDGE_WIRING_AND_HARNESS_DESIGN_HOME inside the embeddeddb/bin folder.
Note: For database name, default username and password, see the example table below. SEWHD application expects a specific pattern for the database name. The pattern that should be followed is: electrical20[XX]
That is, the database name must be "electrical". By default it matches the version of the software as shown in the table above.
For more detailed information on PostgreSQL see the PostgreSQL documentation at: