Commit Graph

2958 Commits

Author SHA1 Message Date
enkore 3451135536 Merge pull request #2457 from ThomasWaldmann/beyond-repair-1.0
be more clear that this is a "beyond repair" case, fixes #2427
2017-04-28 22:09:10 +02:00
Thomas Waldmann 5ed63479c1 be more clear that this is a "beyond repair" case, fixes #2427
(cherry picked from commit 697942cd01)
2017-04-28 21:30:16 +02:00
Thomas Waldmann dcaf997c28 document borg init behaviour via append-only borg serve, fixes #2440
(cherry picked from commit ba20d8d131)
2017-04-28 21:28:15 +02:00
Thomas Waldmann 0de22594a6 be clear about what buzhash is used for, fixes #2390
and want it is not used for (deduplication).

also say already in the readme that we use a cryptohash
for dedupe, so people don't worry.

(cherry picked from commit bf69b049e9)
2017-04-28 21:28:15 +02:00
Thomas Waldmann a87f35b0cc add hint about chunker params to borg upgrade docs, fixes #2421
(cherry picked from commit f0188449c3)
2017-04-28 19:37:28 +02:00
Thomas Waldmann c8c773bac3 clarify borg upgrade docs, fixes #2436
(cherry picked from commit ca6257dd48)
2017-04-28 19:34:58 +02:00
TW b60f42f8f3 Merge pull request #2452 from ThomasWaldmann/upgrade-osxfuse-1.0
upgrade FUSE for macOS to 3.5.8, fixes #2346
2017-04-28 06:01:22 +02:00
Thomas Waldmann 3e650e0aa3 upgrade FUSE for macOS to 3.5.8, fixes #2346 2017-04-28 04:59:36 +02:00
TW b1d8e98baa Merge pull request #2409 from ThomasWaldmann/update-changes-1.0
update CHANGES (1.0-maint)
2017-04-20 14:16:55 +02:00
Thomas Waldmann 7d69f8c685 update CHANGES (1.0-maint) 2017-04-09 21:34:07 +02:00
TW 1cf4740c59 Merge pull request #2400 from ThomasWaldmann/rename-with-placeholders-1.0
borg rename: expand placeholders, fixes #2386
2017-04-09 20:48:05 +02:00
TW 7a4e9e7a6f Merge pull request #2401 from ThomasWaldmann/patterns-style-default-1.0
support switching the pattern style default in patterns file
2017-04-09 20:47:51 +02:00
TW b007808706 Merge pull request #2402 from ThomasWaldmann/test-delete-force-1.0
add test for borg delete --force
2017-04-09 20:47:39 +02:00
TW cdc0f2172a Merge pull request #2403 from ThomasWaldmann/use-pyi321-1.0
use pyinstaller v3.2.1, fixes #2396
2017-04-08 19:28:19 +02:00
Thomas Waldmann 5deac22834 use pyinstaller v3.2.1, fixes #2396
this fixes that the prelink cronjob on some distros kills the
borg binary by stripping away parts of it.
2017-04-07 17:10:08 +02:00
Thomas Waldmann 8f86f2a732 add test for borg delete --force
(cherry picked from commit 2ad5f903fe)
2017-04-07 05:53:14 +02:00
Thomas Waldmann e653e1e273 support switching the pattern style default in patterns file
(cherry picked from commit 42371181fc)
2017-04-07 05:35:33 +02:00
Thomas Waldmann 11b974289a borg rename: expand placeholders, fixes #2386
(cherry picked from commit c7256abd84)
2017-04-07 05:24:19 +02:00
enkore bb7d4bac13 Merge pull request #2382 from ThomasWaldmann/backports2
1.0-maint backports
2017-04-04 19:39:57 +02:00
Marian Beermann 949871d463 serve: fix forced command lines containing BORG_ env vars
(cherry picked from commit 88dfb3e9c5)
2017-04-04 18:50:09 +02:00
Thomas Waldmann c07c911643 fix error msg, it is --keep-within, not --within
(cherry picked from commit 9957282315)
2017-04-03 22:47:09 +02:00
Thomas Waldmann 1e44ea8869 fix borg key/debug/benchmark crashing without subcommand, fixes #2240
(cherry picked from commit a38a7d0293)
2017-04-03 22:42:59 +02:00
TW eedb2b582b Merge pull request #2381 from ThomasWaldmann/backports
1.0-maint backports
2017-04-03 22:38:48 +02:00
Marian Beermann b1466f530b docs: kill api page
(cherry picked from commit 475d53d9ef)
2017-04-03 22:02:51 +02:00
Fredrik Mikker 8b2c9fd7db Added FAQ section about backing up root partition
Using borgbackup to backup the root partition works fine, just
remember to exclude non-essential directories.

Signed-off-by: Fredrik Mikker <fredrik@mikker.se>

(cherry picked from commit d01a8f54b6)

Plus typo-fix by @enkore.

(cherry picked from commit dfdf590445)
2017-04-03 21:38:53 +02:00
enkore f2b222b2c2 Archive: allocate zeros when needed (#2308)
fixes huge memory usage of mount (8 MiB × number of archives)
(cherry picked from commit 883a7eefb2)
2017-04-03 21:28:23 +02:00
enkore 50b4c9f2f9 Merge pull request #2358 from ThomasWaldmann/refactor-extract-1.0
extract: small bugfix and refactoring for parent dir creation
2017-04-01 20:49:36 +02:00
Thomas Waldmann f1bc2076a7 extract: remove duplicate code
anything at <path> gets nuked already a few lines above, if possible.
2017-04-01 20:14:15 +02:00
Thomas Waldmann ff4f04e5f1 extract: small bugfix and refactoring for parent dir creation
make_parent(path) helper to reduce code duplication.
also use it for directories although makedirs can also do it.

bugfix: also create parent dir for device files, if needed.

(cherry picked from commit d4e27e2952)
2017-04-01 20:14:15 +02:00
TW f3decf57fd Merge pull request #2373 from ThomasWaldmann/travis-1.0
enhance travis setuptools_scm situation
2017-04-01 20:13:07 +02:00
Ronny Pfannschmidt 57f7deb232 enhance travis setuptools_scm situation
* add setuptools_scm to the development requirements
* print the own version at install time
* unshallow the repo and fetch all tags
2017-04-01 19:50:54 +02:00
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