summaryrefslogtreecommitdiff
path: root/manpages/sync-dbinit.1.rst
blob: 63cc7ce729fb9ac23387fc50e707781214bbd13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
sync-dbinit(1)
##############

.. only:: html

   Name
   ====

   **sync-dbinit** - initialize the Sync database


Synopsis
========

**sync-dbinit**
[**-c** *FILENAME* | **--config=**\ ‌\ *FILENAME*]
[**-g** | **--garbagecollect**]
[**-h** | **--help**]
[**-L** *LOGLEVEL* | **--log=**\ \ *LOGLEVEL*]
[**-l** *FILENAME* | **--logfile=**\ \ *FILENAME*]
[**-r** | **--reset**]
[**-v** | **--version**]


Description
===========

**sync-dbinit** is a command-line tool to initialize the Sync database.

Its options are as follows:

**-c** *FILENAME* \| **--config=**\ ‌\ *FILENAME*
   Use the configuration and other resources for the Sync commands
   to operate from *FILENAME*.

**-g** \| **--garbagecollect**
   Remove state data from database.

**-h** \| **--help**
   Print short help on options.

**-L** *LOGLEVEL* \| **--log=**\ \ *LOGLEVEL*
   Configure logging to use *LOGLEVEL*.

**-l** *FILENAME* \| **--logfile=**\ \ *FILENAME*
   Configure logging to write logs to *FILENAME*.

**-r** \| **--reset**
   Reset database.  (**DANGEROUS**: All existing data is lost!)

**-v** \| **–version**
   Print version information.


See Also
========

sync-config(1), sync-httpd(1), sync.conf(5).


Bugs
====

Report bugs by using https://bugs.taler.net or by sending electronic
mail to <taler@gnu.org>.