1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 09:47:58 +00:00
Commit graph

5854 commits

Author SHA1 Message Date
finefoot
842cfc8cdb
Fix tests of read-only repos for non-root users 2020-04-13 18:41:41 +02:00
Thalian
3537162568 [FEATURE] Borg commands accept absolute pathes, #4029
Fix the failing tests.
2020-04-13 08:44:38 +02:00
Thalian
6aab0bc4c9 [FEATURE] Borg commands accept absolute pathes, #4029
Remove all leading slashes in patterns of all sorts but re: style.
2020-04-13 08:44:38 +02:00
TW
0a47e3e160
Merge pull request #5108 from ThomasWaldmann/fuse-statfs-fix-namemax
fuse: set f_namemax in statfs result, fixes #2684
2020-04-12 22:11:22 +02:00
Thomas Waldmann
0ab987d5a9 fuse: set f_namemax in statfs result, fixes #2684
setting it to 255 for now (as seen on Linux / ext4),
better than the default 0.

the attribute is present since llfuse 1.3.0, which is
the minimum requirement currently anyway.
2020-04-12 21:05:38 +02:00
TW
27bf0220ac
Merge pull request #5107 from ThomasWaldmann/update-docs
update docs
2020-04-12 19:59:52 +02:00
Thomas Waldmann
6b3c7165aa build_man 2020-04-12 19:55:57 +02:00
Thomas Waldmann
56c599e6dc build_usage 2020-04-12 19:51:49 +02:00
TW
b6a31be8c3
Merge pull request #5106 from ThomasWaldmann/fuse-opts
FUSE micro opt, removal of unneeded code
2020-04-12 18:44:59 +02:00
Thomas Waldmann
cdb6334be4 fuse: remove more unneeded compat code
st_xtime_ns is there since long.
2020-04-12 17:55:24 +02:00
Thomas Waldmann
33519263ac fuse: remove unneeded version check and compat code
we require >= 1.3 now anyway, see setup.py.
2020-04-12 17:55:24 +02:00
Thomas Waldmann
392bc3e3b1 fuse: hot-spot micro-opt for versions view
this way it does not create/discard tons of lists
2020-04-12 00:22:07 +02:00
TW
c867ebfeb6
Merge pull request #5048 from finefoot/patch-8
Option to bypass locking to use sensible borg commands with read-only repositories
2020-04-11 22:18:37 +02:00
finefoot
e49a17143d Add option to bypass locking mechanism 2020-04-11 17:04:52 +02:00
Jürg Rast
8e855ecb8a Accept absolute paths on windows
Accept absolute repo paths on windows.
2020-04-11 17:01:29 +02:00
TW
cccee36a60
Merge pull request #5097 from fantasya-pbem/docs/2295_Orphaned-chunks
[DOC] Document one cause of orphaned chunks in check command, #2295
2020-04-11 16:38:23 +02:00
TW
9ac97e6d0b
Merge pull request #5100 from finefoot/patch-12
Allow message for Error base class
2020-04-11 15:58:53 +02:00
TW
59ae0fc336
Merge pull request #5102 from Gu1nness/5020-openindiana
Remove the flake8 test for Vagrant VMs
2020-04-11 15:57:42 +02:00
Thalian
ce27cf3d4b [DOC] Document one cause of orphaned chunks in check command, #2295
Clean up the whole check usage paragraph.
2020-04-11 14:58:47 +02:00
Rémi Oudin
dc22694e6d
Remove the flake8 test for Vagrant VMs
This is tested after each commit so this test is quite useless on the
Vagrant VMs.
2020-04-11 14:21:32 +02:00
finefoot
235b131015
Allow message for Error base class 2020-04-11 12:58:04 +02:00
TW
1746ce3fe6
Merge pull request #5096 from ThomasWaldmann/vagrant-fixes-master
vagrant fixes (fwd port to master)
2020-04-10 20:03:27 +02:00
Thomas Waldmann
f5097bc451 vagrant: macOS: avoid error if pkg is already installed 2020-04-10 18:51:36 +02:00
Thomas Waldmann
76697a6b93 vagrant: debianoid: don't interactively ask questions 2020-04-10 18:46:27 +02:00
TW
46c524ff98
Merge pull request #5087 from fantasya-pbem/docs/4946_SSH-restrictions
docs: linked recommended restrictions to ssh public keys on borg servers in faq, fixes #4946
2020-04-08 15:17:08 +02:00
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