Commit Graph

5559 Commits

Author SHA1 Message Date
Thomas Waldmann faae9c9d56 how to supply a passphrase, use crypto devices, fixes #4549 2019-06-10 22:31:29 +02:00
TW b989b66584
Merge pull request #4616 from ThomasWaldmann/fix-4607-extract-hl-crash-master
extract: fix KeyError for "partial" extraction, fixes #4607 (master fwd port)
2019-06-10 21:09:16 +02:00
Thomas Waldmann 71c7efd17c extract: fix KeyError for "partial" extraction, fixes #4607
note that "partial" even applied to giving an always matching condition.

"full" is only assumed if no conditions are given.
2019-06-10 20:18:44 +02:00
TW 0ecd4e19c0
Merge pull request #4612 from ThomasWaldmann/master-fixes
remove superfluous whitespace in docs
2019-06-09 14:45:56 +02:00
Thomas Waldmann dc8077acba remove superfluous whitespace in docs 2019-06-09 14:45:18 +02:00
TW 8a6463d7bc
Merge pull request #4605 from ThomasWaldmann/use-borg-repo
Use BORG_REPO
2019-06-04 23:37:27 +02:00
TW 8c29209195
Merge pull request #4602 from FelixSchwarz/unbundle-xxhash
ability to unbundle xxhash
2019-06-04 23:36:56 +02:00
TW 8f27861c74
Merge pull request #4603 from FelixSchwarz/fix-cython-setup
setup.py: fix detection of missing Cython
2019-06-04 23:17:51 +02:00
Felix Schwarz 2ff06c58f0 ability to use a system-provided version of "xxhash"
The build process can be controlled via environment variables
similar to other bundled libraries in borgbackup. The main difference
is probably that upstream does not provide a pkgconfig file for
xxhash.

Therefore borg will probably fail to detect the system-provided
version by default (tested on Fedora, seems like Debian and Ubuntu
do not ship a pkgconfig file either). I kept the pkgconfig lookup
code anyway to keep the code as similar as possible to
"setup_compress.py"/"setup_crypto.py".

Setting BORG_LIBXXHASH_PREFIX=/usr helps borg to detect xxhash
on my system (Fedora). You can force the use of the bundled
version of xxhash by setting BORG_USE_BUNDLED_XXHASH=1.
2019-06-04 21:59:26 +02:00
Felix Schwarz ce146c8b55 reference struct "XXH64_state_t" only via an opaque pointer
Upstream recommends this whenever xxhash is linked dynamically:
https://github.com/Cyan4973/xxHash/issues/63#issuecomment-218376237

This change is required to unbundle xxhash in the next commit.
2019-06-04 21:59:26 +02:00
Thomas Waldmann 42de5b9a79 location arg - should it be optional? fixes #4541.
compact / config: yes, should be optional (can get repo from BORG_REPO
environment variable)

some debug commands: rather not, have non-optional addtl. posargs
2019-06-04 19:36:20 +02:00
Thomas Waldmann c0804ff5a2 argparser: always use REPOSITORY in metavar
also: use more consistent help phrasing.
2019-06-04 19:36:10 +02:00
Felix Schwarz e6426d3386 setup.py: fix detection of missing Cython
v2: use a list comprehension instead map() (suggested by Thomas Waldmann)
2019-06-04 17:50:00 +02:00
TW 35373b8b93
Merge pull request #4600 from d7415/pattern_example
Add example of exclude-norecurse rule in help patterns
2019-06-02 22:06:54 +02:00
Martin Stone 883906939f
Add example of exclude-norecurse rule in help patterns 2019-06-02 18:46:03 +01:00
TW 0741093b54
Merge pull request #4593 from slokhorst/patch-1
docs: update macOS Brew link
2019-05-30 00:38:57 +02:00
Sebastiaan Lokhorst 8aafc622e7
docs: update macOS Brew link 2019-05-28 13:44:16 +02:00
TW 881f54a06a
Merge pull request #4585 from ThomasWaldmann/filter-selinux-xattrs
filter out selinux xattrs, fixes #4574
2019-05-21 22:36:00 +02:00
TW 537af85ace
Merge pull request #4586 from decentral1se/docsfix/point-to-related-software
Add note for software for automating backup docs
2019-05-21 22:25:58 +02:00
Luke Murphy 3f55841591
Add note for software for automating backup docs
Closes https://github.com/borgbackup/borg/issues/4581.
2019-05-21 12:48:03 +02:00
Thomas Waldmann 11bb4eb8fc filter out selinux xattrs, fixes #4574 2019-05-21 00:00:07 +02:00
TW 57c0103c32
Merge pull request #4570 from ThomasWaldmann/rename-fuse-based-test-master
rename test_mount_hardlinks to test_fuse_mount_hardlinks (master)
2019-05-16 05:30:06 +02:00
TW 5625b36c42
Merge pull request #4569 from ThomasWaldmann/filter-msgpack-warning-master
pure-py msgpack warning shall not make a lot of tests fail, fixes #4558
2019-05-16 02:10:32 +02:00
TW 92c9921468
Merge pull request #4568 from ThomasWaldmann/placeholder-in-comments-master
enable placeholder usage in --comment, fixes #4559
2019-05-16 01:40:16 +02:00
Thomas Waldmann 5e75c9ed86 rename test_mount_hardlinks to test_fuse_mount_hardlinks
so both can be excluded by "not test_fuse"

(fedora does this for testing)
2019-05-16 00:57:12 +02:00
Thomas Waldmann cb4e602b34 pure-py msgpack warning shall not make a lot of tests fail, fixes #4558
if the tests use a pure-python msgpack, 1 test which is specifically
made for that, will fail. esp. for linux distribution packages, this
will still point to the problem (that the msgpack package is not built
or installed correctly).
2019-05-16 00:51:07 +02:00
Thomas Waldmann eb16233a83 enable placeholder usage in --comment, fixes #4559 2019-05-16 00:40:31 +02:00
TW 6eabcda139
Merge pull request #4557 from atdt/patch-1
Fix reference in FAQ
2019-05-12 20:27:26 +02:00
Ori Livneh 92049f5405 Fix reference in FAQ 2019-05-12 13:35:31 -04:00
TW 320b935c97
Merge pull request #4528 from shawnl/back-port
2 forward ports
2019-05-12 19:09:44 +02:00
TW 2bc0b1e973
Merge pull request #4531 from ThomasWaldmann/whitelist-client-options
use whitelist approach for borg serve, fixes #4097
2019-05-11 23:42:47 +02:00
TW 839e92fc4b
Merge pull request #4539 from ThomasWaldmann/fix-extract-hardlinks
slave hardlinks extraction issue, see #4350 (master)
2019-05-11 22:14:40 +02:00
TW 70c049e5ae
Merge pull request #4551 from ThomasWaldmann/coverage-warning
get rid of confusing coverage warning, fixes #2069
2019-05-11 22:06:46 +02:00
TW 3a87e02fbb
Merge pull request #4548 from ThomasWaldmann/expand-glob-archives
enable placeholder usage in --glob-archives, fixes #4495
2019-05-11 21:29:36 +02:00
Thomas Waldmann bd37c22149 get rid of confusing coverage warning, fixes #2069 2019-05-11 21:20:10 +02:00
Thomas Waldmann cc41e36405 enable placeholder usage in --glob-archives, fixes #4495
they are supported for --prefix already, so it totally makes sense to
also support them for the more powerful/generic --glob-archives.
2019-05-09 20:28:41 +02:00
TW fe2e9d77e2
Merge pull request #4544 from ThomasWaldmann/improve-compact
small borg compact improvements, fixes #4522
2019-05-07 14:42:48 +02:00
Thomas Waldmann 3082b1f1eb compact: move --cleanup-commits description from examples to docs 2019-05-06 23:10:07 +02:00
Thomas Waldmann 4b1cbc8319 compact: improve docs
- say when it is useful
- point to --verbose and --progress
2019-05-06 23:00:45 +02:00
Thomas Waldmann 8b75dde0fa compact: log freed space at INFO level
note: correctness of value depends on correctness/completeness of
repository.compact datastructure.
2019-05-06 22:47:25 +02:00
Thomas Waldmann f33f318d81 preload chunks for hardlink slaves w/o preloaded master, fixes #4350
also split the hardlink extraction test into 2 tests.
2019-05-06 02:06:58 +02:00
Thomas Waldmann 633bd1152e use whitelist approach for borg serve, fixes #4097 2019-04-30 20:35:18 +02:00
Thomas Waldmann 742f978b89 README: new URL for funding options
This is a forward port of d9c5dfb55b
2019-04-27 09:22:31 -05:00
Thomas Waldmann d9a1761d0e do not check python/libc for borg serve, fixes #4483
This is a forward port of 24118459c6

the check checks whether follow_symlinks=False is supported, which
requires that the glibc is recent enough / python was compiled
for a recent enough glibc. follow_symlinks=False is only used for borg
create and extract, but not needed for borg serve.

thus, this makes it possible to run "borg serve" even on a bit older
servers. be careful, due to the presence of this check on the server
side until now, older server systems are not really much tested.
2019-04-27 09:22:26 -05:00
TW 8825bd961b
Merge pull request #4521 from ThomasWaldmann/rel120a6
release 1.2.0a6
2019-04-22 18:12:27 +02:00
Thomas Waldmann 78cb2b1de5 build_man 2019-04-22 18:00:56 +02:00
Thomas Waldmann 1f527464ab build_usage 2019-04-22 18:00:28 +02:00
Thomas Waldmann 0b65a79a79 update CHANGES (master) 2019-04-22 17:54:43 +02:00
TW 78228239c3
Merge pull request #4518 from ThomasWaldmann/vagrant-darwin-openssl11
vagrant: build python and borg with openssl 1.1
2019-04-21 21:01:54 +02:00
Thomas Waldmann 90ef4a82a2 vagrant: build python and borg with openssl 1.1
we need to use py 3.5.3 to support openssl 1.1.

we also would need at least 3.6.7 to have pyenv switch to openssl 1.1,
but as we also use the latest 3.6 (3.6.8 currently) for building the
binary, we just use that for tests also.
2019-04-21 20:23:18 +02:00