We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Error: Vesta user backup | pg_dump: invalid option -- 'i'
Error: Vesta user backup | pg_dump: invalid option -- 'i'
I get this error on Ubuntu 16.04 machine with NGINX/php-fpm server and mysql + postgreSQL Vesta setup.
Can't dump database admin_db
/usr/lib/postgresql/9.5/bin/pg_dump: invalid option -- 'i'
Try "pg_dump --help" for more information.
Any ideas why this happens?
How we can remove that option?
Cheers
Can't dump database admin_db
/usr/lib/postgresql/9.5/bin/pg_dump: invalid option -- 'i'
Try "pg_dump --help" for more information.
Any ideas why this happens?
How we can remove that option?
Cheers
-
- Posts: 139
- Joined: Thu Jan 07, 2016 12:01 am
Re: Error: Vesta user backup | pg_dump: invalid option -- 'i'
Read: viewtopic.php?t=11312.7thkey wrote:I get this error on Ubuntu 16.04 machine with NGINX/php-fpm server and mysql + postgreSQL Vesta setup.
Can't dump database admin_db
/usr/lib/postgresql/9.5/bin/pg_dump: invalid option -- 'i'
Try "pg_dump --help" for more information.
Any ideas why this happens?
How we can remove that option?
Cheers
-
- Posts: 139
- Joined: Thu Jan 07, 2016 12:01 am
Re: Error: Vesta user backup | pg_dump: invalid option -- 'i'
More specific:BBuchanan1013 wrote:Read: viewtopic.php?t=11312.7thkey wrote:I get this error on Ubuntu 16.04 machine with NGINX/php-fpm server and mysql + postgreSQL Vesta setup.
Can't dump database admin_db
/usr/lib/postgresql/9.5/bin/pg_dump: invalid option -- 'i'
Try "pg_dump --help" for more information.
Any ideas why this happens?
How we can remove that option?
Cheers
Code: Select all
in file func/db.sh, line 88 there is a command:
[quote]pg_dump -h $HOST -U $USER -c --inserts -O -x -i -f $1 $2 2>/tmp/e.psql[/quote]