Hello, I am running a Postgre SQL database that I want to backup. I am using pgAdminIII to create a backup file. The problem is I keep getting an error,
/urs/bin/pg_dump -i -h -p 5432 -U postgres -F c -b -f "/home/02-20.backup" database
pg_dump: too many command-line arguments (first is "database")
Try "pg_dump -help" for more information.
Process returned exit code 1.
Now all i'm trying to do is make up a backup with the selections of a Compress format with blobs.
I've also tried to do it as a Plain format, data only but I get the same result, exactly the same error. I don't understand what is happening here, it seems that it's trying to do everything, not just what i'm telling it to do and is being confused by to many command.
I looked up the -help and it listed all the different commands but it didn't explain why this was happening.
Is this a bug with pgAdmin? I've been able to create backup's when running it in Windows, so I don't know why it would be so different here.