anastasis-dbinit.1.rst (1559B)
1 anastasis-dbinit(1) 2 ################### 3 4 .. only:: html 5 6 Name 7 ==== 8 9 **anastasis-dbinit** - initialize Anastasis database 10 11 12 Synopsis 13 ======== 14 15 **anastasis-dbinit** 16 [**-c** *FILENAME* | **--config=**\ \ *FILENAME*] 17 [**-g** | **--gc**] 18 [**-h** | **--help**] 19 [**-L** *LOGLEVEL* | **--loglevel=**\ \ *LOGLEVEL*] 20 [**-l** *FILENAME* | **--logfile=**\ \ *FILENAME*] 21 [**-r** | **--reset**] 22 [**-v** | **--version**] 23 24 Description 25 =========== 26 27 **anastasis-dbinit** is a command-line tool to initialize the GNU 28 Anastasis database. It creates the necessary tables and indices for 29 an Anastasis server to operate. 30 31 Its options are as follows: 32 33 **-c** *FILENAME* \| **--config=**\ \ *FILENAME* 34 Use the configuration and other resources for the exchange to operate 35 from *FILENAME*. 36 37 **-g** \| **--gc** 38 Garbage collect database. Deletes all unnecessary data in the 39 database. 40 41 **-h** \| **--help** 42 Print short help on options. 43 44 **-L** *LOGLEVEL* \| **--loglevel=**\ \ *LOGLEVEL* 45 Specifies the log level to use. Accepted values are: ``DEBUG``, ``INFO``, 46 ``WARNING``, ``ERROR``. 47 48 **-l** *FILENAME* \| **--logfile=**\ \ *FILENAME* 49 Send logging output to *FILENAME*. 50 51 **-r** \| **--reset** 52 Drop tables. Dangerous, will delete all existing data in the database 53 before creating the tables. 54 55 **-v** \| **–version** 56 Print version information. 57 58 See Also 59 ======== 60 61 anastasis-httpd(1), anastasis.conf(5). 62 63 Bugs 64 ==== 65 66 Report bugs by using https://bugs.taler.net or by sending electronic 67 mail to <taler@gnu.org>.