Daniel Kavan

migrate export in bash script

Discussion created by Daniel Kavan on Aug 26, 2016
Latest reply on Aug 29, 2016 by Daniel Kavan

Running into this, when running 'migrate export ....' in a bash script.   It works fine directly from command the command line.

RE: R80.00 GA  manager

 

I attached the output from the migration log.

I'm going to try adding the shared library to the PATH first.     Maybe it's a postgreSQL HBA issue for a local user, not sure yet.

 

Adding PGDIR, PATH and libraries worked and the backup worked fine.

 

Now, on the test restore, I'm getting psql.bin: FATAL: password authentication failed for user "postgres"

Attachments

Outcomes