you're missing "mydb", i.e. the name of the db you want to dump.

On Tuesday, February 2, 2016 at 12:58:06 AM UTC+1, Alex Glaros wrote:
>
> anyone have example of pg_dump syntax for python anywhere? 
>
> PA's sample documentation looks like this:
>
> pg_dump --host=HOSTNAME --port=PORT --user=super --format=c --file=
> pgbackup`date +%F-%H%M`.dump mydb
>
> My attempts:
>
> 18:43 ~$ pg_dump host=alexglaros-97.postgres.pythonanywhere-services.com 
> --port=10097 --user=super --format=c --file=pg_alex_backup`date 
> +%F-%H%M`.dump
> pg_dump: [archiver (db)] connection to database "super" failed: FATAL: 
>  database "super" does not exist
>
>
> 20:36 ~$ pg_dump host=alexglaros-97.postgres.pythonanywhere-services.com 
> --port=10097 --user=postgres_es --format=c --file=pg_alex_backup`date 
> +%F-%H%M`.dump
> Password: 
> pg_dump: [archiver (db)] connection to database "postgres_es" failed: 
> FATAL:  password authentication failed for user "postgres_es"
>
> thanks,
>
> Alex Glaros
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to