taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

sync-dbconfig.1.rst (1093B)


      1 sync-dbconfig(1)
      2 ################
      3 
      4 .. only:: html
      5 
      6    Name
      7    ====
      8 
      9    **sync-dbconfig** - configure sync database
     10 
     11 
     12 Synopsis
     13 ========
     14 
     15 **sync-dbconfig**
     16 [**-c** *FILENAME*]
     17 [**-h**]
     18 [**-n** *NAME*]
     19 [**-r**]
     20 [**-s**]
     21 [**-u** *USER*]
     22 
     23 Description
     24 ===========
     25 
     26 **sync-dbconfig** is a simple shell script that configures
     27 a Postgresql database for use by ``sync-httpd``.
     28 
     29 Its options are as follows:
     30 
     31 **-c** *FILENAME*
     32    Write the database configuration to FILENAME. The tool
     33    will append the required ``CONFIG`` option for the
     34    Postgresql access to the respective file.
     35 
     36 **-h**
     37    Print short help on options.
     38 
     39 **-n** *DBNAME*
     40    Use DBNAME for the name of the created database.
     41 
     42 **-r**
     43    Reset any existing database. Looses all existing data. DANGEROUS.
     44 
     45 **-s**
     46    Skip database initialization. Useful if you want to run
     47    ``sync-dbinit`` manually.
     48 
     49 **-u** *USER*
     50    Specifies the (main) sync user that will access the database.
     51 
     52 See Also
     53 ========
     54 
     55 sync-dbinit(1), sync.conf(5).
     56 
     57 Bugs
     58 ====
     59 
     60 Report bugs by using https://bugs.taler.net or by sending electronic
     61 mail to <taler@gnu.org>.