Commit Graph

5779 Commits

Author SHA1 Message Date
Thalian d0054f4482 [DOC] linked recommended restrictions to ssh public keys on borg servers in faq, #4946
fixes #4946
2020-04-08 03:02:50 +02:00
Thalian 25ab198d41
[DOCS] #4883 – Doc downplays severity of Nonce reuse issue (#5082)
docs: Borg documentation downplays severity of Nonce reuse issue, fixes #4883
2020-04-05 23:31:08 +02:00
TW 54df299604
Merge pull request #5034 from fantasya-pbem/docs/3428_Restore-after-corruption
docs: borg repo restore instructions needed, fixes #3428
2020-04-05 21:13:25 +02:00
TW b6dc9b833a
Merge pull request #5081 from ThomasWaldmann/update-changes-master
update CHANGES (master)
2020-04-05 21:06:03 +02:00
Thomas Waldmann 7dc2a58a93 update CHANGES (master) 2020-04-05 21:00:39 +02:00
TW 6e5abd924a
Merge pull request #5079 from ThomasWaldmann/msgpack10
support msgpack up to 1.0.0
2020-04-05 04:31:13 +02:00
Thomas Waldmann da6d1ac538 support msgpack 1.0.0, fixes #5065
our data structures need strict_map_key=False, which is not the
default of msgpack 1.0.0. i made it default in our wrapper API.

call our wrapper for performance profile creation/conversion also
to avoid msgpack compat issues.

remove encoding from wrapper api, we do not use it any more.

remove raw is True check, we need false for profiles

strict_map_key is only supported for msgpack >= 1.0.0.
2020-04-04 22:04:45 +02:00
lexa-a cf8dac55de
Fix FUSE low linear read speed on large files (#5032)
Fix FUSE low linear read speed on large files

This patch is a quick fix for an inefficient seek algorithm used in read() function:
1) On each read call chunk list for given file is regenerated. 
2) Finding needed chunk takes a lot of time for large offsets.  

For 64 Gb files read speed drops to 16 MB/s, for 128 Gb - to 8 MB/s, and so on.

After applying this patch read speed becomes 270 MB/s, and does not depend on read position inside file.

Co-authored-by: Thomas Waldmann <tw@waldmann-edv.de>
2020-04-04 15:36:35 +02:00
TW c19647df38
Merge pull request #5076 from elho/auto-compressor-correct-ratio-calculation
correctly calculate compression ratio, taking header size into accoun…
2020-04-04 14:02:44 +02:00
Elmar Hoffmann 54ab8cd917 correctly calculate compression ratio, taking header size into account, too 2020-04-04 10:29:12 +02:00
Thalian 1d9dadd6b7 [DOCS] #4883 – Borg documentation downplays severity of Nonce reuse issue
Shorten the log info for deleting/keeping security info. Fix bad wording.
2020-04-03 17:40:30 +02:00
TW cd1f2b11be
Merge pull request #5073 from ThomasWaldmann/fix-birthtime-old-llfuse-master
require recent enough llfuse for birthtime support, fixes #5064
2020-04-02 21:15:53 +02:00
TW da80a6a37d
Merge pull request #4918 from mirobertod/master
Issue #4788 added consider checkpoints and relative test
2020-04-02 21:15:13 +02:00
Thomas Waldmann d1733b6fc0 require recent enough llfuse for birthtime support, fixes #5064
also:

add llfuse < 2.0 requirement also for python>=3.7.
maybe not really required because llfuse seems rather dead anyway,
but good for consistency.
2020-04-02 20:43:29 +02:00
TW bd9acb6ab3
Merge pull request #4987 from finefoot/patch-7
Adding comments and explanations to Travis config and install script, improving OS X builds
2020-04-01 23:06:19 +02:00
TW c8ce849b76
Merge pull request #5066 from ThomasWaldmann/finefoot-p4
Update prevalence of env vars to set config and cache paths
2020-04-01 21:36:11 +02:00
finefoot 60d976ede8 Comments, explanations and improvements for Travis CI builds 2020-04-01 20:12:26 +02:00
Thomas Waldmann 888949c641 Improve description of path variables
Original commit by @finefoot, re-applied due to merge conflict.
2020-04-01 18:54:45 +02:00
finefoot aa8923182c Update prevalence of env vars to set config and cache paths 2020-04-01 15:10:03 +02:00
Thalian 41ecd1ae30 [DOCS] #3428 – Borg repo restore instructions needed
Adapt FAQ to the new delete option.
2020-03-26 20:02:31 +01:00
Thalian 92b577e46f [FEATURE] Delete option to keep security info
When deleting a repository there is now an option --keep-security-info to leave the security info untouched.
It can be used afterwards with an older copy of the repo but current nonce to not breach security.
2020-03-26 20:02:10 +01:00
Thalian df67b9ea11 [DOCS] #3428 – Borg repo restore instructions needed
Add new FAQ: A repo is corrupt and must be replaced with an older repo.
2020-03-25 19:56:51 +01:00
TW 38580c9a98
Merge pull request #5046 from fantasya-pbem/feature/4489_Deprecate-nobsdflags
[FEATURE] #4489 – Deprecate --nobsdflags option
2020-03-25 14:08:45 +01:00
Thalian 08a7661e67 [FEATURE] #4489 – Deprecate --nobsdflags option
Replaced by --noflags. In internal data structure the key 'bsdflags' is kept for backwards compatibility.
2020-03-25 06:35:15 +01:00
TW e388fabd5b
Merge pull request #5057 from fantasya-pbem/docs/2929_Document-delete-data
[DOCS] #2929 – Document how to completely delete data
2020-03-22 22:01:50 +01:00
TW ab7c764e0d
Merge pull request #5059 from fantasya-pbem/docs/Fix-invalid-list-indent
Fix broken indent of a list item
2020-03-22 21:57:26 +01:00
Thalian abd81b2ebe Fix broken indent of a list item
This prevents Sphinx WARNING: Bullet list ends without a blank line; unexpected unindent.
2020-03-22 15:17:21 +01:00
Thalian a08b058fa0 [DOCS] #2929 – Document how to completely delete data
Add new FAQ entry that lists two ways how to really delete files from archives.

fixes #2929
2020-03-20 21:28:40 +01:00
TW d832c6447c
Merge pull request #5045 from fantasya-pbem/docs/5000_Add-rendering-changes
docs: add "rendering docs" to release todo, fixes #5000
2020-03-20 17:02:13 +01:00
TW 73412ee24a
Merge pull request #5051 from finefoot/patch-9
Fix typos
2020-03-20 16:57:15 +01:00
TW dfc4f1226b
Merge pull request #5030 from fantasya-pbem/docs/4587_Sphinx-warnings
docs: fix sphinx warnings, fixes #4587
2020-03-20 16:55:27 +01:00
Thalian 19563b968e [DOCS] #4587 – Make Sphinx warnings break docs build
Improve / clean up to trigger CI tests again.
2020-03-20 12:01:52 +01:00
finefoot a2a4d88524
Fix typos 2020-03-20 10:57:31 +01:00
Thalian a8ecec24c2 [DOCS] #5000 – Add rendering docs to release todo
Add a line regarding checking the markup.
2020-03-18 19:54:03 +01:00
TW 8577eea03b
Merge pull request #5042 from elho/drop-pointless-asserts
drop pointless asserts covered by other stricter asserts already
2020-03-18 00:11:21 +01:00
TW 1ae63f361d
Merge pull request #5043 from elho/optimize-compressor-instantiation
Optimize compressor instantiation
2020-03-18 00:08:40 +01:00
Elmar Hoffmann fccc72271d do not instantiate two new compressors on each instantiation of auto compressor 2020-03-17 18:14:02 +01:00
Elmar Hoffmann 4bc18c5ff4 drop pointless asserts covered by other stricter asserts already 2020-03-17 14:54:14 +01:00
Thalian 19aa9825a8 [DOCS] #4587 – Make Sphinx warnings break docs build
general.rst and man_intro.rst both included usage_general.rst.inc, which resulted in three Sphinx warning "WARNING: duplicate label".
To prevent this we move all sections of usage_general into own include files and add a second usage_general file without the three labels.
2020-03-16 19:22:59 +01:00
Thalian 62ace206d6 [DOCS] #4587 – Make Sphinx warnings break docs build
Add VS Code dir to ignores.
2020-03-16 19:06:00 +01:00
Thalian 54af1104ef [DOCS] #4587 – Make Sphinx warnings break docs build
Add width 100% to image.
2020-03-16 19:06:00 +01:00
Thalian 6990feadb6 [DOCS] #4587 – Make Sphinx warnings break docs build
Remove blank line at top of file.
2020-03-16 19:06:00 +01:00
Thalian 04a25ba108 [DOCS] #4587 – Make Sphinx warnings break docs build
Add blank line to prevent Sphinx warning "WARNING: Explicit markup ends without a blank line; unexpected unindent.".
2020-03-16 19:06:00 +01:00
Thalian 0359b97cce [DOCS] #4587 – Make Sphinx warnings break docs build
Prevent warnings of type "checking consistency... WARNING: document isn't included in any toctree" by using the :orphan: directive.
2020-03-16 19:06:00 +01:00
Thalian 07c89cd794
[DOCS] #4941 – FAQ Borg config dir (#5029)
[DOCS] #4941 – How important is Borg config?

Add one FAQ with for $HOME/.config/borg, describing its content and how to take care of it.

Change "Default to" to "Defaults to".
Move TMPDIR to "Directories and files" section.
Add link to new FAQ for Borg config directory.
Add link to cache internals.
2020-03-16 00:17:46 +01:00
TW 08496f8b95
Merge pull request #5033 from fantasya-pbem/docs/4073_JSON-logging
[DOCS] #4073 – PlaceholderError not printed as JSON
2020-03-15 20:48:12 +01:00
Thalian 0b5bb8dfec [DOCS] #4073 – PlaceholderError not printed as JSON
Add a warning for --log-json option that parsing errors will always be printed as plain text.
2020-03-15 20:37:28 +01:00
TW c140dc995f
Merge pull request #5025 from milkey-mouse/reflow-docs
Reflow some really long lines in the docs
2020-03-12 02:23:07 +01:00
Milkey Mouse f7f2493f75
docs: reflow some really long lines
I used `grep -Pnr '.{100}' *.rst` to find lines >100 characters long and
reflowed them where reasonable. Line length in the docs isn't too important (it
doesn't matter once they're compiled), but it's nice not to have super-long
lines in one's editor.
2020-03-11 16:27:57 -07:00
TW adf77e4f39
Merge pull request #5023 from milkey-mouse/fix-sphinx-warning
Suppress Sphinx lexer warnings in frontends.rst
2020-03-12 00:07:52 +01:00