Hello, i created dump
pg_dump -h 192.168.0.11 -p 5432 --username postgres --no-password -d some -b -F c --file=my.dmp --no-owner --schema-only
Dump file size is 5Mb
I startup my integration test with next:
EmbeddedPostgres postgres = new EmbeddedPostgres(Version.Main.V9_6)
postgres.start()
url = postgres.start("localhost", 5432, "dbName", "userName", "password")
postgres.getProcess().get().restoreFromFile(new File("src/itest/resources/my.dmp"))
and restoreFromFile executed more 1 hour, after that, i kill process.
Help me, how i can fix it?