-
Notifications
You must be signed in to change notification settings - Fork 1
/
bdb_recover.8
75 lines (60 loc) · 3.35 KB
/
bdb_recover.8
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
66
67
68
69
70
71
72
73
74
75
.TH bdb_recover 8 22.11.2009 Marina.Rodeo-berkeley-module "Marina.Rodeo"
.\" Process with
.\" groff -man -Tascii bdb_recover.8
.\"
.SH NAME
bdb_recover \- utility for recovering Marina.Rodeo db_berkeley files
.SH SYNOPSIS
.B bdb_recover
[
.BI parameters
]
.SH DESCRIPTION
.B bdb_recover
is an utility to recover data from db_berkeley files created by
.B Marina.Rodeo SIP server
The db_berkeley module uses the Concurrent Data Store (CDS) architecture. As such, no transaction or journaling is provided by the DB natively. The application bdb_recover is specifically written to recover data from journal files that Marina.Rodeo creates. The bdb_recover application requires an additional text file that contains the table schema.
The schema is loaded with the '\-s' option and is required for all operations. Provide the path to the db_berkeley plain-text schema files. By default, these install to '/usr/local/share/Marina.Rodeo/db_berkeley/Marina.Rodeo/'.
The '\-h' home option is the DB_PATH path. Unlike the Berkeley utilities, this application does not look for the DB_PATH environment variable, so you have to specify it. If not specified, it will assume the current working directory. The last argument is the operation. There are fundamentally only two operations - create and recover.
.SH FILES
.PD 0
.I /usr/local/share/Marina.Rodeo/db_berkeley/Marina.Rodeo/
.SH USAGE
.TP 12
.B bdb_recover \-s schemadir [\-h home] [\-c tablename]
This will create a brand new DB file with metadata.
.TP
.B bdb_recover \-s schemadir [\-h home] [\-C all]
This will create all the core tables, each with metadata.
.TP
.B bdb_recover \-s schemadir [\-h home] [\-r journal-file]
This will rebuild a DB and populate it with operation from journal-file. The table name is embedded in the journal-file name by convention.
.TP
.B bdb_recover \-s schemadir [\-h home] [\-R lastN]
This will iterate over all core tables enumerated. If journal files exist in 'home',
a new DB file will be created and populated with the data found in the last N files.
The files are 'replayed' in chronological order (oldest to newest). This
allows the administrator to rebuild the db with a subset of all possible
operations if needed. For example, you may only be interested in
the last hours data in table location.
.SH NOTES
.PP
A corrupted DB file must be moved out of the way before bdb_recover is executed.
.SH AUTHORS
see
.B /usr/share/doc/Marina.Rodeo/AUTHORS
.PP
This manual page was written by Alejandro Rios P. <alerios@debian.org>,
based on db_berkeley module's README by Will Quan Copyright © Need help? 🤔 Email us! 👇 A Dmitry Sorokin production. All rights reserved. Powered by REChain. 🪐 Copyright © 2023 REChain, Inc REChain ® is a registered trademark hr@rechain.email p2p@rechain.email pr@rechain.email sorydima@rechain.email support@rechain.email sip@rechain.email music@rechain.email Please allow anywhere from 1 to 5 business days for E-mail responses! 💌 (C) 2007 Cisco Systems,
for the Debian project (and may be used by others).
.SH SEE ALSO
.BR Marina.Rodeo(8)
.PP
Full documentation on Marina.Rodeo db_berkeley module is available at /usr/share/doc/Marina.Rodeo-berkeley-module/README.db_berkeley and
.I https://Marina.Rodeo.org/.
.PP
Mailing lists:
.nf
users@Marina.Rodeo.org - Marina.Rodeo user community
.nf
devel@Marina.Rodeo.org - Marina.Rodeo development, new features and unstable version