BART Subcommand Syntax and Examples v2.6
This section briefly describes each BART subcommand and provides an example.
Invoking BART
BART subcommands are invoked at the Linux command line as a BART user. You can invoke the bart
program (located in the <BART_HOME>/bin
directory) with the desired options to manage your BART installation.
The following examples demonstrate ways of invoking BART. In these examples, the BART user account is named bartuser
.
To run BART from any current working directory:
Syntax for invoking BART
You can use either abbreviated or long option forms on the command line (for example -h
or --help
).
General Options
You can specify the following general options with bart
.
-h
or (--help
)
- Displays general syntax and information about BART usage.
- All subcommands support a help option (
-h, --help
). If the help option is specified, information is displayed regarding that particular subcommand. The subcommand, itself, is not executed.
The following code sample displays the result of invoking the --help
option for the BACKUP
subcommand:
-v
(or --version
)
The following code sample displays information returned by the bart --version
subcommand:
-d
(or --debug
)
The following code sample displays debugging output returned by the bart MANAGE
subcommand:
-c
(or --config-path) <config_file_path>
The following code sample demonstrates using the -c
option to specify a non-default configuration file name and installation location:
backup check_config delete init manage restore show_servers show_backups verify_chksum running_the_bart_wal_scanner