1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-10 22:24:13 +00:00
Commit graph

6972 commits

Author SHA1 Message Date
TW
7475e661bf
Merge pull request #6751 from ThomasWaldmann/update-changes-1.2
update CHANGES (1.2)
2022-06-05 18:36:37 +02:00
TW
eeb55c10c4
Merge pull request #6749 from fantasya-pbem/docs/4776_FAQ_swapped-targets_main
[DOCS] #4776 - FAQ: How to swap backup media
2022-06-05 18:33:50 +02:00
Thalian
cfcf99ccb5 [DOCS] #4776 - FAQ: How to swap backup media
Backport from master.
2022-06-05 18:22:23 +02:00
Thomas Waldmann
4ae08ee972 update CHANGES 2022-06-05 18:18:49 +02:00
TW
cfc623e250
Merge pull request #6748 from ThomasWaldmann/update-changes-rel1118-1.2
update CHANGES with 1.1.18 changelog
2022-06-05 18:08:52 +02:00
Thomas Waldmann
677db66e9d update CHANGES with 1.1.18 changelog 2022-06-05 17:45:48 +02:00
Thomas Waldmann
96c748c1d2 vagrant: add ubuntu "jammy" 22.04 box 2022-06-05 17:35:05 +02:00
TW
7ab36ceb76
Merge pull request #6742 from ThomasWaldmann/msgpack104-1.2
msgpack 1.0.4 / py 3.11 (1.2-maint)
2022-06-03 10:37:31 +02:00
Thomas Waldmann
6d024961aa add python 3.11 to pypi metadata 2022-06-03 10:05:56 +02:00
Thomas Waldmann
d1ef35b4f0 CI: also test on python 3.11-dev 2022-06-03 10:05:56 +02:00
Thomas Waldmann
de61d4953b allow msgpack 1.0.4, fixes #6716 2022-06-03 10:05:44 +02:00
TW
03827bc684
Merge pull request #6738 from ThomasWaldmann/vagrant-updates-1.2
Vagrant updates (1.2-maint)
2022-06-01 20:19:55 +02:00
Thomas Waldmann
354b014b19 vagrant/testing: upgrade development.lock.txt
esp. the Cython version upgrade to 0.29.30 is important for python 3.11.
2022-06-01 19:51:55 +02:00
Thomas Waldmann
6b9a66b5fa vagrant: use pyinstaller 4.10
when installed via pip, this automatically build the bootloader now.
2022-06-01 19:49:37 +02:00
Thomas Waldmann
6063c21bd9 vagrant: use python 3.9.13 for binary build 2022-06-01 19:48:10 +02:00
TW
8370eea9e0
Merge pull request #6731 from KN4CK3R/backport-6724-1.2
Backport make constants for files cache mode more clear (#6724, 1.2)
2022-05-30 16:02:53 +02:00
Elmar Hoffmann
bf31030d05 make constants for files cache mode more clear (#6724)
* make constants for files cache mode more clear

Traditionally, DEFAULT_FILES_CACHE_MODE_UI and DEFAULT_FILES_CACHE_MODE
were - as the naming scheme implies - the same setting, one being the UI
representation as given to the --files-cache command line option and the
other being the same default value in the internal representation.

It happended that the actual value used in borg create always comes from
DEFAULT_FILES_CACHE_MODE_UI (because that does have the --files-cache
option) whereas for all other commands (that do not use the files cache) it
comes from DEFAULT_FILES_CACHE_MODE.

PR #5777 then abused this fact to implement the optimisation to skip loading
of the files cache in those other commands by changing the value of
DEFAULT_FILES_CACHE_MODE to disabled.
This however also changes the meaning of that variable and thus redesignates
it to something not matching the original naming anymore.

Anyone not aware of this change and the intention behind it looking at the
code would have a hard time figuring this out and be easily mislead.

This does away with the confusion making the code more maintainable by
renaming DEFAULT_FILES_CACHE_MODE to FILES_CACHE_MODE_DISABLED, making the
new intention of that internal default clear.

* make constant for files cache mode UI default match naming scheme
2022-05-30 15:31:26 +02:00
TW
5679eb16df
Merge pull request #6722 from ThomasWaldmann/debug-get-chunk-1.2
borg debug dump-repo-objs --ghost: new --segment=S --offset=O options
2022-05-28 00:33:49 +02:00
Thomas Waldmann
49f191bc4c borg debug dump-repo-objs: new --segment=S --offset=O options
the new options limit processing to segment S (and, optionally, also
to offset O), so you do not need to dump your complete repo to only
look at 1 segment (or 1 object).

note: there is no rpc api for scan_low_level, so this only works locally.
2022-05-27 23:29:45 +02:00
TW
1b231e79e2
Merge pull request #6720 from ThomasWaldmann/update-changes-1.2
update CHANGES (1.2)
2022-05-27 21:54:23 +02:00
Thomas Waldmann
b55bb4694d update CHANGES 2022-05-27 17:12:56 +02:00
TW
7d14302b12
Merge pull request #6718 from fantasya-pbem/task/6407_document-pattern-changes-backport
#6407 - Document Borg 1.2 pattern behavior change
2022-05-27 15:41:51 +02:00
Thalian
2694652e37 #6407 - Document Borg 1.2 pattern behavior change
Backport from master: Make clear that absolute paths always go into the matcher as if they are relative (without leading slash). Adapt all examples accordingly.
2022-05-27 15:14:01 +02:00
TW
371bb06dd1
Merge pull request #6700 from KN4CK3R/backport-6688-1.2
Backport Fix typos (#6688)
2022-05-16 00:08:41 +02:00
Andrea Gelmini
f4d7c32058 Fix typos (#6688)
fix typos

Co-authored-by: Thomas Waldmann <tw@waldmann-edv.de>
2022-05-15 23:43:50 +02:00
TW
39708849a2
Merge pull request #6695 from ThomasWaldmann/versions-mount-1archive-error-1.2
mount -o versions: give clear error msg instead of crashing
2022-05-15 19:52:43 +02:00
Thomas Waldmann
99ccd4f792 mount -o versions: give clear error msg instead of crashing
it does not make sense to request versions view if you only
look at 1 archive, but the code shall not crash in that case
as it did, but give a clear error msg.
2022-05-15 00:40:53 +02:00
Christopher Klooz
c3bbb5e57a
docs: authentication primitives: improved security and performance infos (1.2) (#6692)
docs: authentication primitives: improved security and performance infos
2022-05-14 22:56:39 +02:00
TW
fd4503cd30
Merge pull request #6683 from ThomasWaldmann/fix-archive-progress-json-1.2
show_progress: add finished=true/false to archive_progress json
2022-05-08 19:45:53 +02:00
TW
247b3d9b55
Merge pull request #6686 from ThomasWaldmann/fix-create-filter-1.2
fix create_filter_process exception handler, fixes #6681
2022-05-08 19:15:59 +02:00
Thomas Waldmann
b846ae9659 fix create_filter_process exception handler, fixes #6681
if cmd was falsy (e.g. None), there is no proc.
then, if "yield stream" raises an exception, the exception handler crashed at "proc.kill()".
2022-05-08 18:46:42 +02:00
Thomas Waldmann
9dff959f16 show_progress: add finished=true/false to archive_progress json, fixes #6570
also:
- remove empty values from final json
- add test
2022-05-08 18:38:10 +02:00
TW
ae417cccf6
Merge pull request #6679 from KN4CK3R/backport-6670-1.2
Backport check that borg does not require pytest for normal usage (#6670, 1.2)
2022-05-07 19:59:22 +02:00
TW
d72eb3b1cf
Merge pull request #6678 from KN4CK3R/backport-6659-1.2
Backport mention BORG_FILES_CACHE_SUFFIX as alternative to BORG_FILES_CACHE_TTL (#6659)
2022-05-07 19:57:52 +02:00
Thomas Waldmann
c7390383a0 check that borg does not require pytest for normal usage, fixes #6563
also: move the note about this to the very top of the affected modules.
2022-05-07 18:56:36 +02:00
Thomas Waldmann
6d6711768e docs: mention BORG_FILES_CACHE_SUFFIX as alternative to BORG_FILES_CACHE_TTL, fixes #5602 2022-05-07 18:47:41 +02:00
TW
bcac974df7
Merge pull request #6648 from ThomasWaldmann/key-algo-error-msg-1.2
give a more helpful error msg for unsupported encrypted key format
2022-04-27 11:03:15 +02:00
Thomas Waldmann
25390de2c7 give a more helpful error msg for unsupported key format, fixes #6561 2022-04-24 22:03:28 +02:00
Thomas Waldmann
05d7ee9ed8 give a more helpful error msg for unsupported encrypted key format, fixes #6561 2022-04-24 21:55:41 +02:00
TW
1311a7d7a7
Merge pull request #6645 from hexagonrecursion/1.2-faq
[1.2] Add a troubleshooting note to the FAQ
2022-04-24 13:57:02 +02:00
Andrey Bienkowski
622ec1a181 Add a troubleshooting note to the FAQ 2022-04-24 11:27:37 +03:00
TW
65e371999d
Merge pull request #6636 from ThomasWaldmann/docs-files-cache-1.2
FAQ: add a hint about --debug-topic=files_cache
2022-04-20 13:01:56 +02:00
Thomas Waldmann
56262b57bd FAQ: add a hint about --debug-topic=files_cache 2022-04-20 13:00:34 +02:00
TW
26b46dd1f4
Merge pull request #6629 from ThomasWaldmann/fix-iec-1.2
fix --iec mode output for borg delete and prune
2022-04-19 23:39:26 +02:00
TW
b2d0af9487
Merge pull request #6632 from ThomasWaldmann/fix-info-authenticated-1.2
info: fix authenticated mode repo to show "Encrypted: No", fixes #6462
2022-04-19 23:38:54 +02:00
Thomas Waldmann
c5f3214d8a info: fix authenticated mode repo to show "Encrypted: No", fixes #6462 2022-04-19 22:10:44 +02:00
TW
890b627860
Merge pull request #6627 from ThomasWaldmann/fix-files-cache-6353-1.2
fix transaction rollback: use files cache filename as found in txn.active
2022-04-19 21:57:55 +02:00
Thomas Waldmann
cc04253afd prune: fix --stats --iec output to use binary units, see #6606 2022-04-19 21:51:55 +02:00
Thomas Waldmann
0ddb1fa194 delete: fix --stats --iec output to use binary units, see #6606 2022-04-19 21:50:26 +02:00
Thomas Waldmann
8d160b6a8e fix transaction rollback: use files cache filename as found in txn.active, fixes #6353 2022-04-19 21:17:50 +02:00