forked from bareos/bareos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbscan.8
109 lines (107 loc) · 2.81 KB
/
bscan.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH BSCAN 8 "26 November 2009" "Kern Sibbald" "Backup Archiving REcovery Open Sourced"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
bscan \- Bareos's 'Scan tape'
.SH SYNOPSIS
.B bscan
.RI [ options ]
.I bareos-archive
.br
.SH DESCRIPTION
.LP
The purpose of bscan is to read (scan) a Bareos Volume and to recreate
or update the database contents with the information found on the Volume.
This is done in a non-destructive way. This permits restoring database
entries that have been lost by pruning, purging, deleting, or a database
corruption problem.
.LP
Normally, it should not be necessary to run the bscan command because
the database is self maintaining.
Logical inconsistencies in the Bareos database can be found by bareos-dbcheck.
In addition, if you have maintained bootstrap files during backups, you
should be able to recover all your data from the bootstrap file
without needed an up to date catalog.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invoke bold face and italics,
.\" respectively.
.SH OPTIONS
A summary of options is included below.
.TP
.B \-?
Show version and usage of program.
.TP
.BI \-B\ drivername
Specify the database driver name (default NULL) <postgresql|mysql|sqlite3>.
.TP
.BI \-b\ bootstrap
Specify a bootstrap file.
.TP
.BI \-c\ configfile
Specify storage daemon configuration file.
.TP
.BI \-d\ nn
Set debug level to \fInn\fP.
.TP
.BI \-dt
Print timestamp in debug output.
.TP
.BI \-D\ director
Specify a director name specified in the storage daemon configuration file for the Key Encryption Key selection.
.TP
.BI \-a\ directory
Specify the database backend directory
.TP
.B \-m
Update media info in database.
.TP
.BI \-n\ name
Specify the database name (default: \fIbareos\fP)
.TP
.BI \-u\ username
Specify database username (default: \fIbareos\fP)
.TP
.BI \-P\ password
Specify database password (default: \fInone\fP)
.TP
.BI \-h\ host
Specify database host (default: \fINULL\fP)
.TP
.BI \-t\ port
Specify database port (default: 0)
.TP
.B \-p
Proceed in spite of I/O errors.
.TP
.B \-r
List records.
.TP
.B \-s
Synchronize or store in database.
.TP
.B \-S
Show scan progress periodically.
.TP
.B \-v
Verbose output mode.
.TP
.BI \-V\ volume
Specify volume names (separated by '|')
.TP
.BI \-w\ directory
Specify working directory (default from configuration file)
.SH SEE ALSO
.BR bls (8),
.BR bextract (8),
.BR bareos-dbcheck (8).
.br
.SH AUTHOR
This manual page was written by Jose Luis Tallon
.nh
<jltallon@adv\-solutions.net>,
for the Debian GNU/Linux system (but may be used by others).