"-i" option not supported pgsql 10.xx (older, not sure) on this page: https://wiki.postgresql.org/wiki/Automated_Backup_on_Windows
bin\pg_dump -i -h <HostName> -p 5432 -U <UserName> -F c -b -v -f %BACKUP_FILE% DATABASENAME>
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.