1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 08:45:13 +00:00
Commit graph

6854 commits

Author SHA1 Message Date
TW
e577ccb094
Merge pull request #6755 from fantasya-pbem/docs/5960_FAQ-quota-size
[DOCS] #5960 - FAQ: Full quota / full disk
2022-06-29 14:42:11 +02:00
Thalian
036eb97f03 [DOCS] #5960 - FAQ: Full quota / full disk 2022-06-24 17:55:14 +02:00
TW
fdfce3d0a8
Merge pull request #6788 from ThomasWaldmann/chmod-optional-master
SaveFile: the chmod is optional, fixes #6786
2022-06-23 18:09:52 +02:00
Thomas Waldmann
4e4bfd27d0 SaveFile: the chmod is optional, fixes #6786
some filesystems do not support chmod, just ignore if it is failing.
2022-06-23 17:44:44 +02:00
TW
1576859ec0
Merge pull request #6780 from ThomasWaldmann/paths-from-normpath-master
create --paths-from-(stdin|command): normalize paths, fixes #6778
2022-06-22 00:20:34 +02:00
Thomas Waldmann
28b32e7a57 create --paths-from-(stdin|command): normalize paths, fixes #6778 2022-06-20 14:21:37 +02:00
TW
a3a1974c52
Merge pull request #6773 from wizeman/fix-obfuscate
fix test_obfuscate byte accounting
2022-06-14 15:43:30 +02:00
Ricardo M. Correia
18f70be0e3 fix test_obfuscate byte accounting 2022-06-14 14:55:02 +02:00
TW
9747ce459b
Merge pull request #6770 from ThomasWaldmann/safe-secure-erase-master
secure_erase: avoid collateral damage, fixes #6768
2022-06-13 19:41:23 +02:00
TW
e380136ae6
Merge pull request #6772 from sergeyklay/patch-1
Use license_files instead of license_file
2022-06-13 19:38:08 +02:00
Serghei Iakovlev
928d2925bb
Use license_files instead of license_file
Closes #6727

See: https://github.com/pypa/setuptools/pull/2620
2022-06-13 16:09:38 +02:00
Thomas Waldmann
ba1f8926cc secure_erase: avoid collateral damage, fixes #6768
if a hardlink copy of a repo was made and a new repo config
shall be saved, do NOT fill in random garbage before deleting
the previous repo config, because that would damage the hardlink
copy.
2022-06-13 15:57:01 +02:00
TW
a4fc8a29f4
Merge pull request #6764 from targhs/doc/correct-installation-shell-syntax
Correct shell syntax for installation using git
2022-06-12 17:20:48 +02:00
targhs
35c031ed2c Correct shell syntax for installation using git 2022-06-12 20:19:31 +05:30
TW
a55f3f7285
Merge pull request #6762 from Maltimore/docs_line_continuation
[DOCS] Remove unnecessary/dangerous line continuation
2022-06-11 20:17:55 +02:00
Maltimore
4902398554 [DOCS] Remove unnecessary/dangerous line continuation 2022-06-10 21:21:52 +03:00
TW
0e8c9941bb
Merge pull request #6747 from fantasya-pbem/docs/4776_FAW-swapped-targets
[DOCS] #4776 - FAQ: How to swap backup media
2022-06-05 18:20:36 +02:00
TW
eed5038922
Merge pull request #6750 from ThomasWaldmann/update-changes-rel1118-master
update CHANGES with 1.1.18 changelog
2022-06-05 18:09:03 +02:00
Thalian
c7c98ca0fd [DOCS] #4776 - FAQ: How to swap backup media
fixes #4776
2022-06-05 18:05:16 +02:00
Thomas Waldmann
7634426195 update CHANGES with 1.1.18 changelog 2022-06-05 17:47:41 +02:00
TW
4ff0a29209
Merge pull request #6741 from fantasya-pbem/docs/5310_overhaul-help-patterns
docs: overhaul borg help patterns, fixes #5310
2022-06-05 10:36:33 +02:00
Thalian
421a7ef52f [DOCS] #5310 - Overhaul borg help patterns
fixes #5310
2022-06-05 09:02:04 +02:00
TW
34bb4d904b
Merge pull request #6743 from ThomasWaldmann/msgpack104-master
msgpack 1.0.4 / py 3.11 (master)
2022-06-03 10:36:59 +02:00
Thomas Waldmann
c07afb26e4 add python 3.11 to pypi metadata 2022-06-03 10:05:04 +02:00
Thomas Waldmann
18a7debf75 CI: also test on python 3.11-dev 2022-06-03 10:05:04 +02:00
Thomas Waldmann
a970f000b0 allow msgpack 1.0.4, fixes #6716 2022-06-03 10:03:49 +02:00
TW
c4b05c18e0
Merge pull request #6739 from ThomasWaldmann/vagrant-updates-master
Vagrant updates (master)
2022-06-01 20:31:16 +02:00
Thomas Waldmann
de4b9198c3 vagrant: use python 3.9.13 for binary build 2022-06-01 19:56:52 +02:00
Thomas Waldmann
c00c48a27b vagrant: use pyinstaller 4.10
when installed via pip, this automatically build the bootloader now.
2022-06-01 19:54:48 +02:00
Thomas Waldmann
bd005c11a2 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:54:11 +02:00
Elmar Hoffmann
c2317c4cce
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 14:01:19 +02:00
TW
d064f63ad7
Merge pull request #6726 from elho/use-relative-imports
Use relative imports
2022-05-29 14:05:23 +02:00
Elmar Hoffmann
fd34fa2d02 use relative imports
Use relative imports where trivially possible for more consistency and to
avoid using the borg module name explicitly.
2022-05-29 09:36:52 +02:00
Elmar Hoffmann
c34df51e3e import IntegrityError used as base class with according name
This not only brings code style in line with the other helpers that do the
same thing this way, but also does away with an unnecessary absolute import
using the borg module name explicitly.
2022-05-28 16:07:20 +02:00
TW
e8046bc761
Merge pull request #6723 from KN4CK3R/forwardport-6722
Forwardport: borg debug dump-repo-objs --ghost (#6722)
2022-05-28 13:37:56 +02:00
TW
7b08222256 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 01:42:26 +02:00
TW
1614abd4b9
Merge pull request #6719 from fantasya-pbem/task/6407_document-pattern-changes
#6407 - Document Borg 1.2 pattern behavior change
2022-05-27 15:23:15 +02:00
Thalian
45fac2dc54 #6407 - Document Borg 1.2 pattern behavior change
Fix wrong root path that was accidently changed in last commit.
2022-05-27 15:17:43 +02:00
TW
b209fcce12
Merge pull request #6717 from fantasya-pbem/task/6407_document-pattern-changes
docs: document borg 1.2 pattern behaviour change, fixes #6407
2022-05-27 15:04:43 +02:00
Thalian
b4d3859b9e #6407 - Document Borg 1.2 pattern behavior change
Make clear that absolute paths always go into the matcher as if they are relative (without leading slash). Adapt all examples accordingly.

fixes #6407
2022-05-27 14:13:12 +02:00
TW
b10d661185
Merge pull request #6706 from ThomasWaldmann/revert-no-scp-in-master
Revert "Remove scp syntax for locations (#6697)"
2022-05-18 17:58:56 +02:00
Thomas Waldmann
61299d23db Revert "Remove scp syntax for locations (#6697)"
This reverts commit 1b4b84dfd8.
2022-05-18 17:31:10 +02:00
Emil M George
1b4b84dfd8
Remove scp syntax for locations (#6697)
remove scp syntax support from cli and from Location parser, add note about converting scp-style URLs to ssh-style, fixes #6691
2022-05-15 21:55:19 +02:00
Andrea Gelmini
c79fd61b5c
Fix typos (#6688)
fix typos

Co-authored-by: Thomas Waldmann <tw@waldmann-edv.de>
2022-05-15 21:23:48 +02:00
TW
ab4bef0372
Merge pull request #6694 from ThomasWaldmann/versions-mount-1archive-error-master
mount -o versions: give clear error msg instead of crashing
2022-05-15 19:52:32 +02:00
Thomas Waldmann
2bed467e92 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:37:45 +02:00
Christopher Klooz
594d83aad5
docs: authentication primitives: improved security and performance infos (master) (#6667)
docs: authentication primitives: improved security and performance infos
2022-05-14 22:57:22 +02:00
ReethuVinta
ac4666d7f4
documented workaround for getting help for sub-sub-commands (#6346)
docs: how to get help for sub-sub-commands
2022-05-13 18:29:43 +02:00
ReethuVinta
c85bcfd3ad
documented secret key usage against fingerprinting (#6345)
docs: secret key usage against fingerprinting

Co-authored-by: Thomas Waldmann <tw@waldmann-edv.de>
2022-05-10 21:18:40 +02:00
TW
0e3ff0ab70
Merge pull request #6682 from ThomasWaldmann/fix-archive-progress-json-master
show_progress: add finished=true/false to archive_progress json
2022-05-08 19:45:39 +02:00