Axel Burri
|
fd985d0245
|
btrbk: use less confusing *_subvol instead of *_path for table output headings; cleanup table formats
|
2015-10-19 20:46:00 +02:00 |
Axel Burri
|
4a1b6545f4
|
btrbk: add commands "resolve snapshots|targets|latest" (replacing "tree")
|
2015-10-19 20:45:10 +02:00 |
Axel Burri
|
f01784e2d0
|
btrbk: correct exit status for informational commands (also exit=10 if some aborted)
|
2015-10-14 16:53:46 +02:00 |
Axel Burri
|
2c46e52118
|
btrbk: cosmetics: duration is undef on dryrun; transaction log messages are prefixed with #; "finished" transaction prints status "partial" or "success"; print duration in transaction log
|
2015-10-14 14:33:53 +02:00 |
Axel Burri
|
1a536811ed
|
Merge branch 'enhance_output'
|
2015-10-13 20:11:03 +02:00 |
Axel Burri
|
bca413b7ca
|
documentation: add missing "config print" command; add predefined "list" filters; cosmetics; fix FAQ
|
2015-10-13 20:08:10 +02:00 |
Axel Burri
|
46c7841e93
|
btrbk: add transaction log (configuration option "transaction_log <file>"
|
2015-10-13 20:08:10 +02:00 |
Axel Burri
|
282668927d
|
btrbk: cosmetics on table format: no trailing whitespace
|
2015-10-13 20:08:10 +02:00 |
Axel Burri
|
fa382d5e6d
|
btrbk: add global table format definitions; bugfix on action_log table
|
2015-10-13 20:08:10 +02:00 |
Axel Burri
|
10a7f98579
|
btrbk: add vinfo_prefixed_keys() function, which resolves a vinfo into hash of prefixed (url,path,host,rsh) for formatted lists
|
2015-10-13 20:08:09 +02:00 |
Axel Burri
|
0a6599aa78
|
btrbk: globally use new ABORTED macro, which also adds an entry to the action_log
|
2015-10-13 20:08:09 +02:00 |
Axel Burri
|
5356f83dfc
|
btrbk: add action_log, a nice way to keep track and list the actions (snapshot/delete/send-receive)
|
2015-10-13 20:08:07 +02:00 |
Axel Burri
|
93249d1154
|
btrbk: show scheduling summary if -v is set on run/dryrun
|
2015-10-13 20:08:07 +02:00 |
Axel Burri
|
01b7ab0ebf
|
btrbk: add "-t, --table" command line option (shortcut for "--format=table")
|
2015-10-13 20:08:04 +02:00 |
Axel Burri
|
07f7bfe3a6
|
btrbk: fixed sort order in table format of run/dryrun actions
|
2015-10-13 20:08:04 +02:00 |
Axel Burri
|
1ac801c0a6
|
btrbk: add "list volume|source|target" actions (special output of configuration list)
|
2015-10-13 20:08:00 +02:00 |
Axel Burri
|
956b010143
|
documentation: add "--format=table|long|raw" command line option
|
2015-10-13 20:02:02 +02:00 |
Axel Burri
|
b65602f848
|
btrbk: bugfix/cleanup on formatting
|
2015-10-13 20:02:02 +02:00 |
Axel Burri
|
e5c629e218
|
btrbk: use formatted output on run/dryrun actions; cleanup
|
2015-10-13 20:02:02 +02:00 |
Axel Burri
|
b1188484f0
|
btrbk: use command line option "--format=table|raw" in action tree (needs cleanup)
|
2015-10-13 20:02:01 +02:00 |
Axel Burri
|
7bb7883be7
|
btrbk: changed command "config dump" to "list", with new --format=table|raw command line option (needs cleanup)
|
2015-10-13 20:02:01 +02:00 |
Axel Burri
|
03db6883c7
|
btrbk: add framework for printing formatted output (tabular or key="value"...)
|
2015-10-13 20:02:01 +02:00 |
Axel Burri
|
e87373b043
|
btrbk: add "config print" action: prints internal representation of config
|
2015-10-13 20:02:01 +02:00 |
Axel Burri
|
d445dd0b12
|
btrbk: print "Dryrun: YES" in backup summary header if dryrun is set
|
2015-10-13 20:02:01 +02:00 |
Axel Burri
|
1905d80969
|
btrbk: return exit status 10 instead of 0 if one or more backup tasks aborted, and exit status 2 on parse errors
|
2015-09-30 14:00:39 +02:00 |
Axel Burri
|
e177ae1c87
|
Merge branch 'target_raw'
|
2015-09-29 21:57:17 +02:00 |
Axel Burri
|
92159d862a
|
btrbk: additional test for non-zero target file after raw backup, as failure is not detected by exit code
|
2015-09-29 21:49:23 +02:00 |
Axel Burri
|
bed00cdb8a
|
documentation: added "target raw" and "timestamp short|long" documentation to btrbk.conf(5), as well as an example for raw targets in README.md
|
2015-09-29 21:48:56 +02:00 |
Axel Burri
|
31e91e8bcd
|
btrbk: enforce preserve of all raw incremental images with new FORCE_PRESERVE tag; changed raw target names; added "timestamp_format short|long" configuration option (YYYYMMDD or YYYYMMDD<T>HHMM)
|
2015-09-29 21:48:47 +02:00 |
Axel Burri
|
370f435297
|
btrbk: bugfix: correctly handle "incremental no" option
|
2015-09-29 14:10:13 +02:00 |
Axel Burri
|
c06bca17bd
|
btrbk: new target_type "raw": send subvolume to file rather than receiving it, with compression and encryption support; added configuration options "raw_target_compress", "raw_target_encrypt", "gpg_keyring", "gpg_recipient"; skip deletion of raw targets for now;
|
2015-09-26 14:02:55 +02:00 |
Axel Burri
|
d73e3f184b
|
btrbk: added "config dump" command (tagged as experimental): dump filtered btrbk config, useful for scripting
|
2015-09-24 16:00:35 +02:00 |
Axel Burri
|
b3d8c1f15f
|
btrbk: allow filtering by "<target-directory>/<snapshot-name>", which makes it possible to pinpoint a single target
|
2015-09-24 14:56:22 +02:00 |
Axel Burri
|
8059fa28db
|
documentation: added documentation for ---raw-output command line option
|
2015-09-24 01:02:42 +02:00 |
Axel Burri
|
a1467fa629
|
btrbk: added command-line option "--raw-output", affects commands "run", "dryrun" and "tree"
|
2015-09-23 14:10:13 +02:00 |
Axel Burri
|
06bfe2a004
|
btrbk: bugfix: sort snapshots by cgen instead of PATH in action "tree"
|
2015-09-23 11:10:42 +02:00 |
Felix Eckhofer
|
0e24738d65
|
documentation: cron examples: silence output on successful runs in cron
|
2015-09-20 19:38:01 +02:00 |
Felix Eckhofer
|
c29f552119
|
documentation: cron examples: replace shell by btrbk
There's no point of having the shell process around while the backup is
running.
|
2015-09-20 19:01:39 +02:00 |
Felix Eckhofer
|
411165dd39
|
documentation: cron examples: use system's default shell
|
2015-09-20 19:00:53 +02:00 |
Axel Burri
|
dd6104339e
|
btrbk: added "ssh_cipher_spec" configuration option, overriding default SSH ciphers (ssh -c option)
|
2015-09-20 18:32:19 +02:00 |
Axel Burri
|
4115941478
|
ChangeLog: added changes since v0.20.0 to btrbk-current
|
2015-09-20 17:51:32 +02:00 |
Axel Burri
|
269b3611ac
|
documentation: added "FILTER STATEMENT" section in btrbk(1), and "group" configuration option in btrbk.conf(5)
|
2015-09-20 17:47:46 +02:00 |
Axel Burri
|
d64aea9cc9
|
btrbk: allow targets for subvolume/group command-line argument
|
2015-09-20 17:39:47 +02:00 |
Axel Burri
|
e7c6e37bd0
|
btrbk: implemented "group" configuration option and filtering for volume/subvolume
|
2015-09-20 17:39:17 +02:00 |
Axel Burri
|
8bc1acc672
|
documentation: FAQ: added item "How can I backup from non-btrfs hosts?"
|
2015-09-10 15:03:35 +02:00 |
Axel Burri
|
8ba2d6e6b1
|
documentation: README: updated example usage of ssh_filter_btrbk.sh, added hints on chroot and sudo options
|
2015-09-10 14:02:51 +02:00 |
Axel Burri
|
f01304df35
|
ssh_filter_btrbk: refactoring/hardening:
- switched to bash interpreter
- enable fine-grained (--source, --target, ...) capabilities by command-line options
- added "--restrict_path" command-line option
- added sudo flag
- added man-page
- print SSH_ORIGINAL_COMMAND in error message
|
2015-09-10 14:02:32 +02:00 |
Axel Burri
|
28abe96747
|
btrbk: added "prefix/postfix" options to config_key() function, simplifying snapdir handling
|
2015-09-10 12:11:54 +02:00 |
Axel Burri
|
38a8c1c9eb
|
documentation: btrbk(1): added missing command line options in synopsis section
|
2015-09-03 18:13:09 +02:00 |
Axel Burri
|
bed9fe1f66
|
documentation: disable hyphenation and justification in man-pages; use .PP and .RS 4 instead of .TP, which creates more predictable output
|
2015-09-03 18:02:19 +02:00 |