Axel Burri
ba3c36c984
btrbk: fix duplicate cmdline option -l in lsbtr
2025-07-06 01:09:14 +02:00
Axel Burri
c69f70e1d0
btrbk: fix loglevel along with verbose
2025-07-06 00:56:29 +02:00
Axel Burri
18ddc65979
documentation: fix stream_compress_adapt
2023-08-28 19:14:35 +02:00
Axel Burri
225f60f565
btrbk: remove handling of deprecated options before v0.23
...
After 7 years and a lot of warnings we can drop this code. Note that
most of those refer to `upgrade_to_v0.23.0.md`, which was removed in
16364e2
.
2023-08-28 18:55:47 +02:00
Axel Burri
f7e1265e7a
documentation: remove upgrade_to_v0.23.0.md from Makefile
...
Forgotten after removal in:
16364e2833
documentation: remove obsolete upgrade_to_v0.23.0.md
2023-08-28 18:42:42 +02:00
Axel Burri
a4d4dff0d1
btrbk_restore_raw.py: fix spelling
2023-08-05 20:56:39 +02:00
Axel Burri
d819f17e44
kdf_pbkdf2.py: fix spelling
2023-08-05 20:56:39 +02:00
Axel Burri
1807ad5cee
btrbk-mail: fix spelling
2023-08-05 20:56:39 +02:00
Axel Burri
b139875e2b
btrbk: fix spelling
2023-08-05 20:56:39 +02:00
Axel Burri
f6bdab143b
documentation: fix spelling
2023-08-05 20:56:39 +02:00
Axel Burri
16364e2833
documentation: remove obsolete upgrade_to_v0.23.0.md
2023-08-05 20:56:34 +02:00
Axel Burri
efa4d13111
ChangeLog: fix spelling
2023-08-05 20:56:34 +02:00
Yaroslav Halchenko
dac6350b5d
github: actions: add codespell master on push and PRs
2023-08-05 20:28:41 +02:00
oldherl
a488096869
doc: README.md: fix typo
2023-07-14 19:40:18 +02:00
Sam James
9dfee7bc32
doc: allow asciidoc again
...
This effectively reverts 0e63843195
and
173319e7e1
.
asciidoc has been revived (for a while now) and doesn't require Python 2. We
still prefer asciidoctor and fallback to asciidoc/a2x if it's not available.
Comparing the asciidoc and asciidoctor man pages, everything looks OK.
Python tends to be available more readily in distribution build environments
rather than the Ruby stack. Also, the pregenerated man pages are gone as of
f132c94c65
.
Signed-off-by: Sam James <sam@gentoo.org>
2023-07-14 18:55:05 +02:00
Axel Burri
db45f0b09c
btrbk-mail: add example to enable all rsync
2023-07-07 01:53:15 +02:00
Axel Burri
fa704c3185
btrbk-mail: add missing declare
2023-07-07 01:45:32 +02:00
Axel Burri
b63609c298
btrbk-mail: declare associative arrays
2023-06-08 00:27:16 +02:00
Axel Burri
98580418e3
btrbk: fix displaying excluded in summary
...
- fix framework
- print source excluded by archive_exclude in summary
- fix exclude list in summary
2023-04-22 16:53:13 +02:00
Axel Burri
135edabc71
btrbk: rephrase warnings on unexpected (foreign) location
2023-04-22 16:51:32 +02:00
Axel Burri
4ba944e6a5
btrbk: fix exit status for action usage
2023-04-22 16:51:32 +02:00
Axel Burri
dd7149b111
btrbk: improve error message
2023-04-22 16:51:32 +02:00
Axel Burri
ed33db523c
btrbk: add reason text to filter statements
2023-04-22 16:51:32 +02:00
Axel Burri
15a6b98a08
btrbk: print "create" action in schedule
2023-04-22 16:51:32 +02:00
Axel Burri
eff9af34bc
btrbk: fix print schedule if deletion is skipped
...
If deletion is skipped, we don't have a schedule call on the target,
which is used for --print-schedule text. Add some (rather hacky) code
to be able to also use the schedule result of the backup process.
2023-04-22 16:51:32 +02:00
Axel Burri
468ca1eae5
btrbk: tidy logging
...
Especially corrects $svol->{PRINT} where not applicable.
2023-04-22 16:51:32 +02:00
Axel Burri
cca200707d
btrbk: set subvolume url to /dev/null on archive
...
This should not be printed anywhere. If it is, it's a bug.
2023-04-22 16:51:32 +02:00
Axel Burri
d4ab986245
btrbk: skip subvolume init on archive
2023-04-22 16:51:32 +02:00
Axel Burri
6f1145c279
btrbk: add archive related summary
...
Note that "no target action" for archive is replaced by "<no_action>",
for consistency with action run:
[-] /path/to/target/snapshot_basename.*
is now displayed as:
<no_action>
2023-04-22 16:51:32 +02:00
Axel Burri
6d047cbaec
btrbk: disable target_create_dir for user; fix dryrun
2023-04-22 16:51:32 +02:00
Axel Burri
e737927bd9
btrbk: tidy variable names
2023-04-22 16:51:32 +02:00
Axel Burri
053cd7a59c
btrbk: use parser function for assembling archive config
2023-04-22 16:51:32 +02:00
Axel Burri
443cb1891b
btrbk: action_archive: no strict_related parent search
...
strict_related parent search does not make much sense on archive: on
targets, parent_uuid chain is broken after first prune.
Ref: 318126b831
2023-04-22 16:51:32 +02:00
Axel Burri
ac0f7e3b91
btrbk: action_archive: honor archive_exclude_older in backup step
2023-04-22 16:51:32 +02:00
Axel Burri
d12241fcfc
btrbk: action_archive: use correct config_preserve_hash
2023-04-22 16:51:32 +02:00
Axel Burri
1465a1ecc2
btrbk: use same code for backup and archive
...
Note that some functionality breaks with this commit. Specific
adaptions are done in following commits.
2023-04-22 16:51:32 +02:00
Axel Burri
c385b0b731
btrbk: create dir if target_create_dir is set
2023-04-22 16:51:32 +02:00
Axel Burri
7aece45dbf
btrbk: add vinfo_mkdir
2023-04-22 16:51:32 +02:00
Axel Burri
2bdd5eb8fc
btrbk: use vinfo_realpath
2023-04-22 16:51:32 +02:00
Axel Burri
30b22d49d2
btrbk: add vinfo_realpath
2023-04-22 16:51:32 +02:00
Axel Burri
544d95e094
btrbk: add comment
2023-04-22 16:51:32 +02:00
Axel Burri
fe137bd19c
btrbk: honor --exclude on delete
2023-04-22 16:51:32 +02:00
Axel Burri
6d57aa4dbe
documentation: honor --exclude on backup candidates
2023-04-22 16:51:32 +02:00
Axel Burri
4c174c8f72
btrbk: honor --exclude on backup candidates
2023-04-22 16:51:32 +02:00
Axel Burri
c0da910276
btrbk: on resume, abort on unexpected if receive target is not present
...
A more sophisticated implementation would be to check this after
scheduling, only if the target really needs to be backuped.
We could as well automatically trigger a `btrfs snapshot -r` on target
in these cases, but this seems counter-intuitive.
2023-04-22 16:51:32 +02:00
Axel Burri
d498dbb5c3
btrbk: list unexpected archive targets when aborting
2023-04-22 16:51:32 +02:00
Axel Burri
61691abbfc
documentation: update deletion of raw targets
2023-04-22 16:51:32 +02:00
Axel Burri
c4bf7b0c5a
btrbk: use depends callback for raw depends
2023-04-22 16:51:32 +02:00
Axel Burri
6373e32875
btrbk: add depends callback to scheduler
2023-04-22 16:51:32 +02:00
Axel Burri
2a1a42e824
btrbk: related_nodes: add fatal option
2023-04-22 16:51:32 +02:00