diff options
author | ng0 <ng0@n0.is> | 2019-04-20 12:27:30 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-04-20 12:27:30 +0000 |
commit | 61783669cfeefe52cf2243b76c6ac929471efed1 (patch) | |
tree | 96e3628a23ba51a73584a3220ddeee903d517ce8 /doc/man | |
parent | 215f36b6e3cb845cd4035f3c9a449d2360c6bcc2 (diff) | |
download | gnunet-61783669cfeefe52cf2243b76c6ac929471efed1.tar.gz gnunet-61783669cfeefe52cf2243b76c6ac929471efed1.zip |
gnunet-datastore.1
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/gnunet-datastore.1 | 124 |
1 files changed, 65 insertions, 59 deletions
diff --git a/doc/man/gnunet-datastore.1 b/doc/man/gnunet-datastore.1 index 5dd8cec52..0f43cc016 100644 --- a/doc/man/gnunet-datastore.1 +++ b/doc/man/gnunet-datastore.1 | |||
@@ -1,63 +1,69 @@ | |||
1 | .TH GNUNET-DATASTORE "1" "April 13, 2017" "GNUnet" | 1 | .Dd April 13, 2017 |
2 | .SH NAME | 2 | .Dt GNUNET-DATASTORE 1 |
3 | gnunet\-datastore \- dump or insert (restore) GNUnet datastore databases | 3 | .Os |
4 | .SH SYNOPSIS | 4 | .Sh NAME |
5 | .B gnunet\-datastore | 5 | .Nm gnunet-datastore |
6 | [\fIOPTIONS\fR] | 6 | .Nd |
7 | .SH DESCRIPTION | 7 | dump or insert (restore) GNUnet datastore databases |
8 | gnunet\-datastore can be used to backup and restore or merge GNUnet | 8 | .Sh SYNOPSIS |
9 | datastores. | 9 | .Nm |
10 | This is useful if a datastore is to be migrated between SQL databases, | 10 | .Op Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME |
11 | i.e. from sqlite to postgres or vice versa. | 11 | .Op Fl d | \-dump |
12 | gnunet\-datastore will dump the entire contents of the database or | 12 | .Op Fl f Ar FILENAME | Fl \-file= Ns Ar FILENAME |
13 | insert a dump file into the database. | 13 | .Op Fl h | \-help |
14 | .TP | 14 | .Op Fl i | \-insert |
15 | \fB\-c \fIFILENAME\fR, \fB\-\-config=FILENAME\fR | 15 | .Op Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL |
16 | configuration file to use | 16 | .Op Fl l Ar FILENAME | Fl \-logfile= Ns Ar FILENAME |
17 | .TP | 17 | .Op Fl v | \-version |
18 | \fB\-d\fR, \fB\-\-dump\fR | 18 | .Sh DESCRIPTION |
19 | dump all records to a file | 19 | .Nm |
20 | .TP | 20 | can be used to backup and restore or merge GNUnet datastores. |
21 | \fB\-f \fIFILENAME\fR, \fB\-\-file=FILENAME\fR | 21 | This is useful if a datastore is to be migrated between SQL databases, i.e. from sqlite to postgres or vice versa. |
22 | file to dump to or insert from. Otherwise stdin/stdout are used. | 22 | gnunet-datastore will dump the entire contents of the database or insert a dump file into the database. |
23 | .TP | 23 | .Bl -tag -width Ds |
24 | \fB\-h\fR, \fB\-\-help\fR | 24 | .It Fl c Ar FILENAME | Fl \-config= Ns Ar FILENAME |
25 | Configuration file to use | ||
26 | .It Fl d | \-dump | ||
27 | Dump all records to a file | ||
28 | .It Fl f Ar FILENAME | Fl \-file= Ns Ar FILENAME | ||
29 | File to dump to or insert from. | ||
30 | Otherwise stdin/stdout are used. | ||
31 | .It Fl h | \-help | ||
25 | print help page | 32 | print help page |
26 | .TP | 33 | .It Fl i | \-insert |
27 | \fB\-i\fR, \fB\-\-insert\fR | 34 | Insert from dump file. |
28 | insert from dump file | 35 | .It Fl L Ar LOGLEVEL | Fl \-loglevel= Ns Ar LOGLEVEL |
29 | .TP | 36 | Change the loglevel. |
30 | \fB\-L \fILOGLEVEL\fR, \fB\-\-loglevel=LOGLEVEL\fR | 37 | Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG. |
31 | Change the loglevel. Possible values for LOGLEVEL are ERROR, WARNING, INFO and DEBUG. | 38 | .It Fl l Ar FILENAME | Fl \-logfile= Ns Ar FILENAME |
32 | .TP | 39 | Configure logging to write logs to FILENAME |
33 | \fB\-l \fIFILENAME\fR, \fB\-\-logfile=FILENAME\fR | 40 | .It Fl v | \-version |
34 | configure logging to write logs to FILENAME | 41 | Print the version number |
35 | .TP | 42 | .El |
36 | \fB\-v\fR, \fB\-\-version\fR | 43 | .\".Sh EXAMPLES |
37 | print the version number | 44 | .Sh SEE ALSO |
38 | .SH BUGS | 45 | .Xr gnunet-publish 1 |
39 | Report bugs by using mantis <https://bugs.gnunet.org/> or by sending | 46 | .sp |
40 | electronic mail to <gnunet\-developers@gnu.org> | 47 | The full documentation for gnunet is maintained as a Texinfo manual. |
41 | .SH SEE ALSO | ||
42 | \fBgnunet\-publish\fP(1) | ||
43 | .PP | ||
44 | The full documentation for | ||
45 | .B gnunet | ||
46 | is maintained as a Texinfo manual. | ||
47 | If the | 48 | If the |
48 | .B info | 49 | .Xr info 1 |
49 | and | 50 | and gnunet programs are properly installed at your site, the command |
50 | .B gnunet | 51 | .Pp |
51 | programs are properly installed at your site, the command | 52 | .Dl info gnunet |
52 | .IP | 53 | .Pp |
53 | .B info gnunet | ||
54 | .PP | ||
55 | should give you access to the complete handbook, | 54 | should give you access to the complete handbook, |
56 | .IP | 55 | .Pp |
57 | .B info gnunet-c-tutorial | 56 | .Dl info gnunet-c-tutorial |
58 | .PP | 57 | .Pp |
59 | will give you access to a tutorial for developers. | 58 | will give you access to a tutorial for developers. |
60 | .PP | 59 | .sp |
61 | Depending on your installation, this information is also | 60 | Depending on your installation, this information is also available in |
62 | available in | 61 | .Xr gnunet 7 and |
63 | \fBgnunet\fP(7) and \fBgnunet-c-tutorial\fP(7). | 62 | .Xr gnunet-c-tutorial 7 . |
63 | .\".Sh HISTORY | ||
64 | .\".Sh AUTHORS | ||
65 | .Sh BUGS | ||
66 | Report bugs by using | ||
67 | .Lk https://bugs.gnunet.org | ||
68 | or by sending electronic mail to | ||
69 | .Aq Mt gnunet-developers@gnu.org . | ||