This comment may help you if you can change parameters of
The comments at your post indicates that you have issues with backup and restore big databases.
For huge databases i recommend you using the custom format of
pg_dump -Fc that are handled also for really huge databases by postgres well. (no issues with this up to 300GB)
pg_dump -Fc -U <user> -f <filename.dmp> <database>
pg_restore -Fc -j <jobs> -U <user> <filename.dmp>
The custom format allows you to import your dump into the dev system with more than one thread. That means at the index creation on the dev server you can with 4 jobs use up to 4 cores for
INDEX creation or
ALTER TABLE statements in parallel.
If you need more options, have a look at the documentation of pg_dump and pg_restore.
I hope my knowledge about DnR in this post can help you save a lot of time trying to import dumps.