TW
187f00b44a
Merge pull request #2326 from ThomasWaldmann/update-1.0-changes
...
update CHANGES (1.0)
2017-03-25 16:39:58 +01:00
Thomas Waldmann
4e33f64eed
update CHANGES (1.0)
2017-03-22 02:32:48 +01:00
TW
6eca1ee6be
Merge pull request #2312 from ThomasWaldmann/fix-2304-1.0
...
clamp (nano)second values to unproblematic range, fixes #2304
2017-03-21 19:24:07 +01:00
Thomas Waldmann
07bcd29144
clamp (nano)second values to unproblematic range, fixes #2304
...
filesystem -> clamp -> archive (create)
(cherry picked from commit b7a17a6db7
)
2017-03-16 20:54:33 +01:00
TW
d1858ff845
Merge pull request #2303 from ThomasWaldmann/fix-caskroom-link-1.0
...
fix caskroom link, fixes #2299
2017-03-15 02:55:06 +01:00
Thomas Waldmann
6a89e4f0a5
fix caskroom link, fixes #2299
...
backport of #2302 .
2017-03-15 01:29:19 +01:00
enkore
5990b0ad9a
Merge pull request #2286 from ThomasWaldmann/no-keep-last
...
fix error msg, there is no --keep-last in borg 1.0.x, fixes #2282
2017-03-12 11:56:09 +01:00
enkore
13455ab9a2
Merge pull request #2284 from enkore/cp1
...
picked cherries for 1.0-maint
2017-03-11 14:43:22 +01:00
Thomas Waldmann
a55807e7be
fix error msg, there is no --keep-last in borg 1.0.x, fixes #2282
2017-03-10 23:47:26 +01:00
Thomas Waldmann
be1227fd1c
borg delete --force --force to delete severely corrupted archives, fixes #1975
...
(cherry picked from commit 4d81b186ec
)
2017-03-10 23:03:25 +01:00
Abdel-Rahman
bfc745237a
extract: warning RC for unextracted big extended attributes, followup ( #2258 )
...
* Set warning exit code when xattr is too big
* Warnings for more extended attributes errors (ENOTSUP, EACCES)
* Add tests for all xattr warnings
(cherry picked from commit 63b5cbfc99
)
2017-03-10 22:44:27 +01:00
Abdel-Rahman
b4c0dcfbdf
Add return code functions ( #2199 )
...
(cherry picked from commit 4b33c3fe14
)
2017-03-10 22:44:27 +01:00
Florent Hemmi
008c236aab
Docs: one link per distro in the installation page
2017-03-10 19:06:54 +01:00
TW
5efda261b3
Fix compression exceptions ( #2224 )
...
* trigger bug in --verify-data, see #2221
* raise decompression errors as DecompressionError, fixes #2221
this is a subclass of IntegrityError, so borg check --verify-data works correctly if
the decompressor stumbles over corrupted data before the plaintext gets verified
(in a unencrypted repository, otherwise the MAC check would fail first).
* fixup: fix exception docstring, add placeholder, change wording
2017-03-10 19:06:54 +01:00
Thomas Waldmann
391e302182
Location: accept //servername/share/path
2017-03-10 18:57:36 +01:00
Abogical
4543691c05
Add testsuite to test handling of too big xattr
2017-03-10 18:57:15 +01:00
Abogical
d11137dd37
Print a warning for too big extended attributes
2017-03-10 18:57:15 +01:00
Thomas Waldmann
c96cd1adc5
fix ChunkIndex.__contains__ assertion for big-endian archs
...
also: add some missing assertion messages
severity:
- no issue on little-endian platforms (== most, including x86/x64)
- harmless even on big-endian as long as refcount is below 0xfffbffff,
which is very likely always the case in practice anyway.
2017-03-10 18:56:18 +01:00
Marian Beermann
6e27c8b6cf
archive check: detect and fix missing all-zero replacement chunks, fixes #2180
...
# Conflicts:
# borg/archive.py
2017-03-10 18:54:01 +01:00
Marian Beermann
29613938d5
borg rpc: use limited msgpack.Unpacker, fixes #2139
...
we do not trust the remote, so we are careful unpacking its responses.
the remote could return manipulated msgpack data that announces e.g.
a huge array or map or string. the local would then need to allocate huge
amounts of RAM in expectation of that data (no matter whether really
that much is coming or not).
by using limits in the Unpacker, a ValueError will be raised if unexpected
amounts of data shall get unpacked. memory DoS will be avoided.
# Conflicts:
# borg/archiver.py
# src/borg/archive.py
# src/borg/remote.py
# src/borg/repository.py
2017-03-10 18:49:41 +01:00
Marian Beermann
26b4a3938b
create: handle BackupOSError on a per-path level in one spot
...
# Conflicts:
# borg/archiver.py
2017-03-10 18:42:06 +01:00
Marian Beermann
9cb4b9637c
new branching model
...
# Conflicts:
# docs/development.rst
2017-03-10 18:30:19 +01:00
Milkey Mouse
521217550d
Address SSH batch mode in docs ( fixes #2202 ) ( #2270 )
2017-03-09 21:31:04 +01:00
TW
d64985dea2
Merge pull request #2248 from ThomasWaldmann/hashtable-minor-fix
...
rebuild hashtable if we have too little empty buckets, fixes #2246
2017-03-04 17:36:45 +01:00
Thomas Waldmann
c5cd8828b1
hashindex: rebuild hashtable if we have too little empty buckets, fixes #2246
...
if there are too many deleted buckets (tombstones), hashtable performance goes down the drain.
in the worst case of 0 empty buckets and lots of tombstones, this results in full table scans for
new / unknown keys.
thus we make sure we always have a good amount of empty buckets.
2017-03-04 00:53:44 +01:00
TW
12c7afa894
Merge pull request #2193 from bebehei/borg-remote-path-docs
...
[docs] improve remote-path description
2017-03-01 01:58:16 +01:00
enkore
9a5bc514b3
Merge pull request #2231 from leo-b/1.0-maint-patterns
...
Fix for PR #1971
2017-02-28 20:08:05 +01:00
Alexander 'Leo' Bergolth
fefe59589e
--patterns-from was accessing args.roots instead of args.paths
...
add a test case that parses a command containing --patterns-from
2017-02-28 12:01:37 +01:00
enkore
8b5ad3819c
Merge pull request #2228 from ThomasWaldmann/update-files-cache-inodes-1.0-maint
...
files cache: update inode number, backport fix for #2226
2017-02-27 16:53:18 +01:00
Thomas Waldmann
12ebbf9038
files cache: update inode number, backport fix for #2226
2017-02-27 16:02:41 +01:00
TW
dd8df84fe5
Merge pull request #2223 from kmq/1.0-maint
...
document snapshot usage #2178
2017-02-27 00:09:31 +01:00
kmq
96ebb096e9
Document relative path usage #1868
2017-02-27 00:51:44 +02:00
kmq
9f07d13c4a
document snapshot usage #2178
2017-02-27 00:30:26 +02:00
Benedikt Heine
f068d4e421
[docs] improve remote-path description
2017-02-22 02:03:39 +01:00
enkore
17537be13c
Merge pull request #2170 from ThomasWaldmann/fuse-integer-blocks
...
fuse: fix st_blocks to be an integer (not float) value
2017-02-17 17:37:39 +01:00
Thomas Waldmann
81d3a4eb22
fuse: fix st_blocks to be an integer (not float) value
...
it's basically ceil(dsize / blocksize) now (without doing floating point ops).
2017-02-16 23:55:27 +01:00
enkore
3a3dfcbef5
Merge pull request #2149 from borgbackup/release-1.0.10
...
Release 1.0.10
2017-02-13 13:29:14 +01:00
Thomas Waldmann
e5f7121296
paperkey.html - decode as utf-8, fixes #2150
...
hardcoded the encoding for reading it. while utf-8 is the default
encoding on many systems, it does not work everywhere.
and when it tries to decode with the ascii decoder, it fails.
2017-02-13 04:12:12 +01:00
Marian Beermann
bb626034ee
add paperkey.html to pyinstaller spec
2017-02-13 00:54:54 +01:00
Marian Beermann
33aeb22092
docs/api: cleanup
2017-02-12 22:49:47 +01:00
Marian Beermann
e208d1150e
setup.py: build_api: sort file list for determinism
2017-02-12 22:41:35 +01:00
Marian Beermann
6304556779
ran build_usage
2017-02-12 22:33:12 +01:00
Marian Beermann
1cf58fb633
ran build_api
2017-02-12 22:33:08 +01:00
Marian Beermann
32acaff5c3
docs: changes: fix two rST warnings
2017-02-12 22:29:28 +01:00
Marian Beermann
0d20a0d6f0
key export: center QR code on the page
2017-02-12 22:26:10 +01:00
Marian Beermann
cf1f409871
add test for export key --qr-html
2017-02-12 22:26:06 +01:00
Marian Beermann
e635f219b3
update CHANGES (1.0.10)
2017-02-12 22:25:12 +01:00
enkore
d188886269
Merge pull request #1971 from leo-b/1.0-maint-patterns
...
new --pattern and --patterns-from options
2017-02-12 19:06:35 +01:00
enkore
c688b1be85
Merge pull request #2146 from bebehei/samefs-mountpoints-doc-maint
...
clearify doc for same filesystems
2017-02-12 18:40:46 +01:00
Benedikt Heine
d3a2f36b03
clearify doc for same filesystems
2017-02-12 17:18:08 +01:00