"Fossies" - the Fresh Open Source Software Archive

Member "bareos-Release-22.1.2/core/manpages/bscan.8" (21 Nov 2023, 3170 Bytes) of package /linux/misc/bareos-Release-22.1.2.tar.gz:

Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.




bscan − Bareos’s ’Scan volumes’


bscan [options] bareos-archive


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.

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.


A summary of options is included below.

Show version and usage of program.

−B,--dbdriver drivername

Specify the database driver name (default NULL) <postgresql|mysql|sqlite3>.

−b,--parse-bootstrap bootstrap

Specify a bootstrap file.

−c,--config path

Specify the Storage configuration file or directory to use.

−d,--debug-level nn

Set debug level to nn.


Print timestamp in debug output.

−D.--director director

Specify a director name specified in the storage daemon configuration file for the Key Encryption Key selection.

−a,--backend-directory directory

Specify the database backend directory


Update media info in database.

−n,--dbname name

Specify the database name (default: bareos)

−u,--dbuser username

Specify database username (default: bareos)

−P,--dbpassword password

Specify database password (default: none)

−o,--dbhost host

Specify database host (default: NULL)

−t,--dbport port

Specify database port (default: 0)


Proceed in spite of I/O errors.


List records.


Synchronize or store in database.


Show scan progress periodically.


Verbose output mode.

−V,--volumes volumes

Specify volume names (separated by ’|’)

−w,--working-directory directory

Specify working directory (default from configuration file)


bls(8), bextract(8), bareos-dbcheck(8).


This manual page was written by Jose Luis Tallon <jltallon@adv−solutions.net>, for the Debian GNU/Linux system (but may be used by others).