Axel Burri
bdc1f5caba
change version to 0.32.2; update Changelog
2022-06-25 18:52:11 +02:00
Axel Burri
054146ac00
btrbk: keep quotes intact when removing comments in config
2022-06-06 22:00:46 +02:00
Axel Burri
9d21785778
btrbk: fix parsing of quoted "target" config line
...
Quotes were removed before passing value to parse_config_line,
resulting in failuer of parsing target url if quoted.
2022-06-06 21:59:11 +02:00
Axel Burri
fb13848faf
btrbk: tidy function prototype
2022-06-06 21:02:13 +02:00
Axel Burri
f169456613
btrbk: tidy logging
2022-06-06 18:31:45 +02:00
Axel Burri
a062f42344
documentation: allow multiple gpg_recipient
2022-05-29 21:44:11 +02:00
Axel Burri
a70248376f
btrbk: use no-default-recipient on gpg encrypt
...
In case the user has set a default recipient in his gpg config file,
ignore it.
2022-05-29 21:34:43 +02:00
Steven Brudenell
b824d62449
btrbk: support multiple gpg recipients
2022-05-29 21:34:43 +02:00
Asbjørn Apeland
b618c2dd90
contrib: bash: completion.bash: complete options without =
...
Currently, option arguments are only completed after =. For example:
$ btrbk --loglevel=<TAB>
debug error info trace warn
$ btrbk --loglevel <TAB>
archive diff extents ls prune run
stats clean dryrun list origin resume
snapshot usage
This commit makes it so that both option styles are recognized:
$ btrbk --loglevel=<TAB>
debug error info trace warn
$ btrbk --loglevel <TAB>
debug error info trace warn
This was the intention all along, but it was implemented incorrectly.
2022-05-29 18:03:36 +02:00
Merlin Büge
a8a5051f79
documentation: README.md: replace "resume" with "robust recovery"
...
There was some confusion about it, see the discussion in
https://github.com/digint/btrbk/issues/196
2022-05-29 17:45:10 +02:00
Merlin Büge
1d4a502ee3
documentation: fix small typos and rephrase some parts
2022-05-29 17:21:29 +02:00
Axel Burri
0b41942251
github: add FUNDING.yml
2022-05-29 16:21:38 +02:00
Axel Burri
9e32df5f90
documentaion: README.md: rephrase donate section
2022-05-29 16:02:00 +02:00
Axel Burri
eadeb89232
btrbk: check results of btrfs filesystem usage
2022-05-29 14:32:27 +02:00
Axel Burri
691885e6b8
documentation: add compat=ignore_receive_errors option
2022-05-29 13:53:56 +02:00
Axel Burri
b8464119f6
btrbk: add compat=ignore_receive_errors option
2022-05-29 12:29:19 +02:00
Axel Burri
023d75f7a5
documentation: cosmetics
2022-05-29 12:29:16 +02:00
Axel Burri
619403c9ad
documentation: fix action "config print"
2022-05-29 12:29:13 +02:00
Axel Burri
527d1bf74f
btrbk: improve action "config print"
...
- honor overrides
- print unset lines as comments
- skip lines on forbidden context
- fix values "no" and "<unset>"
2022-05-29 12:26:37 +02:00
Axel Burri
f187d6f6ee
btrbk: tidy formatting
2022-05-29 12:26:37 +02:00
Axel Burri
321f3783d5
btrbk: use split in ssh_cipher_spec config definition
2022-05-29 12:21:39 +02:00
Axel Burri
ce2afb427d
btrbk: split all config values with same regex
2022-05-28 21:28:42 +02:00
Axel Burri
ba3ee70d38
btrbk: tidy config options definition
2022-05-28 21:28:39 +02:00
Axel Burri
823419d510
btrbk: tidy config options parser
...
- handle regex within accept list
- handle numeric as regex
- split before checking accept
2022-05-28 21:27:39 +02:00
Axel Burri
90c5d119f6
documentation: clarify btrfs_commit_delete
2022-05-27 20:14:02 +02:00
Axel Burri
267cbcacdc
documentation: clarify filter statement match multiple times
2022-05-27 19:31:48 +02:00
Axel Burri
04e0695429
btrbk: tidy logging
2022-05-27 19:31:48 +02:00
Axel Burri
12f608d828
btrbk: fix regression: clear realpath cache on mkdir
...
On btrbk archive, after creating a directory without dry-run, the
archive target is skipped with "Failed to fetch subvolume detail" due
to caching of realpath.
Regression in btrbk-0.32.0:
eb69bc883e
btrbk: refactor mountinfo
2022-05-27 19:31:48 +02:00
Axel Burri
4fcbbad802
btrbk: print version and help to stdout
2022-03-25 15:20:20 +01:00
Axel Burri
be07f1908a
btrbk: print shorter error help message
2022-03-25 15:20:14 +01:00
Axel Burri
fc49abbbf8
btrbk: bump version to 0.32.2-dev
2022-03-25 15:19:59 +01:00
Axel Burri
593fa6b254
change version to 0.32.1; update Changelog
2022-02-26 18:35:09 +01:00
Axel Burri
d9b9f20899
bump copyright year
2022-02-26 18:35:02 +01:00
Axel Burri
795418ebe1
btrbk.conf.example: remove timestamp_format
...
Now that timestamp_format defaults to "long", it seems no longer
needed to even mention it here. Setting to "short" or "long-iso" is
only required in rather special use cases.
2022-02-26 18:11:09 +01:00
Axel Burri
671df969a1
documentation: rephrase timestamp_format notes on preserve_hour_of_day
2022-02-26 18:11:09 +01:00
Axel Burri
047d3a1a65
btrbk: allow directory traversal for subvol_args
2022-02-26 18:11:09 +01:00
Axel Burri
a25486336b
btrbk: fix regression: filter paths for action "ls"
...
regression from: eb69bc883e
btrbk: refactor mountinfo
2022-02-26 18:11:09 +01:00
Axel Burri
ff0a887c32
btrbk: call filesystem usage from mount point
2022-02-22 20:28:23 +01:00
Axel Burri
e9fe2cb5f5
btrbk: display all source subvolumes in btrbk usage
2022-02-22 20:28:17 +01:00
Axel Burri
31ce14e4c2
btrbk: handle errors from btrfs filesystem usage
...
Fix `btrbk usage` unhandled error case if usage data cannot be
retrieved, e.g.:
ERROR: Failed to fetch btrfs filesystem usage for: example.com:/mnt/btr_pool
ERROR: ... sh: ssh -i 'XXX' btrbk@example.com 'btrfs-filesystem-usage '\''/mnt/btr_pool'\'''
ERROR: ... cannot access '/mnt/btr_pool': Permission denied
2022-02-22 20:28:01 +01:00
Axel Burri
0388cf4b2d
documentation: add backend btrbk-progs-doas
2022-02-08 01:20:24 +01:00
Axel Burri
177f8547e3
btrbk: add backend btrfs-progs-doas
2022-02-08 01:06:04 +01:00
Axel Burri
d3b7540b87
btrbk: tidy backend command map
2022-02-08 01:05:59 +01:00
Axel Burri
db7082b4bc
btrbk: add config_key_lru comfort function
2022-02-06 17:44:30 +01:00
Axel Burri
68d5fe3f55
btrbk: add match argument in config_key
2022-02-06 17:44:30 +01:00
Axel Burri
e6ed21343c
btrbk: remove dead code
2022-02-06 16:05:12 +01:00
Axel Burri
0172e4a240
btrbk: fix mountinfo tree root detection
...
Set node as tree root if mount_id == parent_id. For some reasons this
is never the case on my (mostly gentoo) systems.
Regression from: eb69bc88
btrbk: refactor mountinfo
2022-02-06 12:35:57 +01:00
Axel Burri
ed8142ed9d
btrbk: bump version to 0.32.1-dev
2022-02-06 12:35:53 +01:00
Axel Burri
8676191d45
change version to 0.32.0; update Changelog
2022-02-05 19:34:54 +01:00
Axel Burri
8cc74fecc1
btrbk: default timestamp_format=long
...
This is a relict of early days of btrbk, and I have already hesitated
for too long to change the default from legacy "short" to sane "long"
format.
Tests show that the scheduling behaves in a sane/expected way if this
change is applied unattended. I suppose everybody who has
preserve_hour_of_day set is already using timestamp_format=long.
2022-02-05 18:47:49 +01:00