mirror of https://github.com/digint/btrbk
btrbk: add "-S" command line option (shortcut for --print-schedule)
parent
7a8df85f2e
commit
56ee8acf3b
|
@ -5,6 +5,7 @@ btrbk-0.27.0-dev
|
||||||
"readlink" and "cat /proc/self/mountinfo").
|
"readlink" and "cat /proc/self/mountinfo").
|
||||||
* Add "preserve_hour_of_day" configuration option (close #202).
|
* Add "preserve_hour_of_day" configuration option (close #202).
|
||||||
* Allow backup of filesystem root using "subvolume ." (close #240).
|
* Allow backup of filesystem root using "subvolume ." (close #240).
|
||||||
|
* Add "-S" command line option (shortcut for --print-schedule).
|
||||||
* Bugfix: correct scheduling of "first weekly backup in month/year"
|
* Bugfix: correct scheduling of "first weekly backup in month/year"
|
||||||
(close #217). Note that this change may result in (previously
|
(close #217). Note that this change may result in (previously
|
||||||
preserved) backups to be deleted!
|
preserved) backups to be deleted!
|
||||||
|
|
4
btrbk
4
btrbk
|
@ -321,7 +321,7 @@ options:
|
||||||
-l, --loglevel=LEVEL set logging level (warn, info, debug, trace)
|
-l, --loglevel=LEVEL set logging level (warn, info, debug, trace)
|
||||||
-t, --table change output to table format
|
-t, --table change output to table format
|
||||||
--format=FORMAT change output format, FORMAT=table|long|raw
|
--format=FORMAT change output format, FORMAT=table|long|raw
|
||||||
--print-schedule print scheduler details (for the "run" command)
|
-S, --print-schedule print scheduler details (for the "run" command)
|
||||||
--progress show progress bar on send-receive operation
|
--progress show progress bar on send-receive operation
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
|
@ -4451,7 +4451,7 @@ MAIN:
|
||||||
'progress' => \$show_progress,
|
'progress' => \$show_progress,
|
||||||
'table|t' => sub { $output_format = "table" },
|
'table|t' => sub { $output_format = "table" },
|
||||||
'format=s' => \$output_format,
|
'format=s' => \$output_format,
|
||||||
'print-schedule' => \$print_schedule,
|
'print-schedule|S' => \$print_schedule,
|
||||||
'lockfile=s' => \$lockfile_cmdline,
|
'lockfile=s' => \$lockfile_cmdline,
|
||||||
'override=s' => \@config_override_cmdline, # e.g. --override=incremental=no
|
'override=s' => \@config_override_cmdline, # e.g. --override=incremental=no
|
||||||
))
|
))
|
||||||
|
|
|
@ -21,7 +21,7 @@ btrbk [-h|--help] [--version]
|
||||||
[-p|--preserve] [--preserve-snapshots] [--preserve-backups]
|
[-p|--preserve] [--preserve-snapshots] [--preserve-backups]
|
||||||
[-v|--verbose] [-q|--quiet] [-l|--loglevel <level>]
|
[-v|--verbose] [-q|--quiet] [-l|--loglevel <level>]
|
||||||
[-t|--table] [--format <output-format>]
|
[-t|--table] [--format <output-format>]
|
||||||
[--progress] [--print-schedule]
|
[--progress] [-S|--print-schedule]
|
||||||
[--override <config_option>=<value>]
|
[--override <config_option>=<value>]
|
||||||
[--lockfile <file>]
|
[--lockfile <file>]
|
||||||
<command> [<args>]
|
<command> [<args>]
|
||||||
|
@ -125,7 +125,7 @@ OPTIONS
|
||||||
--progress::
|
--progress::
|
||||||
Show progress bar on send-receive operation.
|
Show progress bar on send-receive operation.
|
||||||
|
|
||||||
--print-schedule::
|
-S, --print-schedule::
|
||||||
Print detailed scheduler information on *run*, *snapshot*,
|
Print detailed scheduler information on *run*, *snapshot*,
|
||||||
*resume*, *prune* and *archive* commands. Use the '--format'
|
*resume*, *prune* and *archive* commands. Use the '--format'
|
||||||
command line option to switch between different output formats.
|
command line option to switch between different output formats.
|
||||||
|
|
|
@ -424,7 +424,7 @@ The reference time (which defines the beginning of a day, week, month
|
||||||
or year) for all date/time calculations is the local time of the host
|
or year) for all date/time calculations is the local time of the host
|
||||||
running btrbk.
|
running btrbk.
|
||||||
|
|
||||||
Hint: Run btrbk with the '--print-schedule' option to get a
|
Hint: Run btrbk with the '-S', '--print-schedule' option to get a
|
||||||
comprehensive output of the scheduler results.
|
comprehensive output of the scheduler results.
|
||||||
|
|
||||||
Caveats:
|
Caveats:
|
||||||
|
|
Loading…
Reference in New Issue