Score:0

pg_restore infinitely hanging and never even starting

br flag
$GetFileLocation = 'E:\9.5\bin\Postgresql\DBBackup.backup'   
Set-Location "E:\9.5\bin\"
    .\pg_restore.exe --clean --host=localhost --port=5432 --username=CIL_Masterspec --password=somethingHere --dbname=aDbName $GetFilelocation *>&1 | Tee-Object "~\Logs\pg_restore.log"

For some reason, this simple command is infinitely hanging and never even starting. I'm starting to think this function is somehow corrupted from our PostreSQL installation. Only ever posting this message with --verbose

It's running on our archive VM and I decided to test if it was actually doing something by leaving it in a running state all of last night for 9+ hours and yet it still isn't doing anything.

Can anyone tell me what I'm doing wrong?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.