How to improve restoring the PostgreSQL database?
Something like:

psql -U postgres -d postgres -c "DROP DATABASE netcatalog_old"
psql -U postgres -d postgres -c "ALTER DATABASE netcatalog RENAME TO netcatalog_old"


You can redirect the info output of the restore like

pg_restore ... &gt; my_log_file.txt


If you add the "-v" flag you can get more details of what's happening, but probably too much.