bfsync sql-export [-d <database>] [-u <user>] [-w <password>]
[-H <host>] [-p <port>] [-r]
Export a versioned list of files to postgres, in order to be able to browse the
repository contents using standard sql queries. The postgres connection arguments
(user/database/…) can be specified as commandline arguments, or in the config
file. See the "CONFIGURATION" section of bfsync(1) for the config
file entries that affect the sql-export command.
The export normally only adds the versions that are new since the last
sql-export run. If the -r option is used, all database tables are
cleared, and all versions from the beginning are exported.
Set postgres database name.
Set user for postgres database.
Set password for postgres database.
Set host for postgres database.
Set port for postgres database.