Commit Graph

5676 Commits

Author SHA1 Message Date
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
TW 6dd14914b3
Merge pull request #4515 from ThomasWaldmann/all-archives-stats-consider-part-files
fix "all archives" stats considering part files, fixes #4329
2019-04-20 23:34:08 +02:00
Thomas Waldmann 61b9283567 fix "all archives" stats considering part files, fixes #4329
archives with borg 1.2 metadata: quick, we have precomputed size data
in archive metadata and just need to sum up for all archives.

archives without borg 1.2 metadata: expensive, need to read all
archives' items metadata streams and sum up for all items.
2019-04-20 22:22:26 +02:00
TW 4f0ad3124d
Merge pull request #4514 from ThomasWaldmann/update-changes-master
Update CHANGES (master)
2019-04-20 19:14:13 +02:00
Thomas Waldmann e74f4adea1 update CHANGES (master) 2019-04-20 18:33:42 +02:00
TW 8c4cedc7f4
Merge pull request #4461 from user062/patch-2
give invalid repo error msg if repo config not found, fixes #4411
2019-04-20 18:24:02 +02:00
user062 a83739fda8 give invalid repo error msg if repo config not found, fixes #4411
if the repo config is not there, we definitely have a invalid repo.

for other problems (like permission issues), we'll just let it blow
up with a traceback, so the user can see what the precise problem is.
2019-04-20 17:36:30 +02:00
TW c0905579b7
Merge pull request #4513 from ThomasWaldmann/travis-py367-for-openssl11
travis: use py367 on macOS to get a python build with openssl1.1
2019-04-19 23:16:31 +02:00
Thomas Waldmann 8fb72365fa travis: use py367 on macOS to get a python build with openssl1.1 2019-04-19 20:46:37 +02:00
TW 4f084faea8
Merge pull request #4512 from ThomasWaldmann/delete-stats-consider-parts
delete / prune archive(s): consider part files correctly for stats
2019-04-19 20:36:30 +02:00
Thomas Waldmann 7081583f4d prune: consider part files correctly for stats, fixes #4507 2019-04-19 19:29:41 +02:00
Thomas Waldmann 502ebe63be delete archive: consider part files correctly for stats, see #4507 2019-04-19 19:29:30 +02:00
TW df5641ad27
Merge pull request #4497 from ThomasWaldmann/simple-stat-only-once
create: only run stat_simple_attrs() once
2019-04-16 20:16:28 +02:00
Thomas Waldmann cd4f6b41ca create: only run stat_simple_attrs() once
the second call was done in stat_attrs().

this increases backup with lots of unchanged files performance by ~ 5%.
2019-04-08 21:34:09 +02:00
Mike ef90cda43a Add "SSH Configuration" section (#4493)
Add "SSH Configuration" section

Add "SSH Configuration" section to "borg serve" documentation, to outline ssh/sshd configuration to prevent borg serve keeping a lock on a repo in the event the ssh connection is abnormally disconnected.

In response to issues #3988, #636 and #4485 (and probably others).
2019-04-08 21:10:26 +02:00
TW e83417ed05
Merge pull request #4499 from ThomasWaldmann/macosx-pyenv-openssl11
travis: use openssl 1.1 for borg, use python 3.5.3 for 1.1 compat
2019-04-07 15:41:06 +02:00
Thomas Waldmann f669d42443 travis: use openssl 1.1 for borg, use python 3.5.3 for 1.1 compat
pyenv recently gained the ability to use (and actually prefer) openssl
1.1 on mac OS.

we need to use python 3.5.3, older is not compatible with openssl 1.1.
with python 3.5.2, python was built without ssl support.

also, we need to set the right PKG_CONFIG_PATH, so borg also uses 1.1.
2019-04-07 02:03:31 +02:00
TW c1677ac246
pytest: -v and default XDISTN to 1 (#4481) 2019-04-03 17:12:06 +02:00
Thalian 8b6184f1b3 #4473 – Better document borg check --max-duration (#4478)
better document borg check --max-duration, fixes #4473
2019-03-31 18:36:18 +02:00
TW 85b010af5d
Merge pull request #4482 from fantasya-pbem/feature/4471_Sorted-commands-help-in-steps
sorted commands help in multiple steps, fixes #4471
2019-03-30 19:54:50 +01:00
Thalian 1d74783a02 [TASK] #4471 – borg help should print <command> list in sorted order: Step 15
Finally moved borg help and added a section comment.
2019-03-30 07:11:42 +01:00
Thalian 1e2fee8c1a [TASK] #4471 – borg help should print <command> list in sorted order: Step 14
Moved borg recreate.
2019-03-30 07:11:42 +01:00
Thalian 00793cba01 [TASK] #4471 – borg help should print <command> list in sorted order: Step 13
Moved borg prune.
2019-03-30 07:11:42 +01:00
Thalian b7af4b5f91 [TASK] #4471 – borg help should print <command> list in sorted order: Step 12
Moved borg init, key, list after info.
2019-03-30 07:11:42 +01:00
Thalian 2eebe13d01 [TASK] #4471 – borg help should print <command> list in sorted order: Step 11
Moved borg rename between mount and serve.
2019-03-30 07:11:42 +01:00
Thalian 9bee80ba12 [TASK] #4471 – borg help should print <command> list in sorted order: Step 10
Moved borg info.
2019-03-30 07:11:42 +01:00
Thalian aecd2f7fcb [TASK] #4471 – borg help should print <command> list in sorted order: Step 9
Moved borg extract.
2019-03-30 07:11:42 +01:00
Thalian 947b47a11a [TASK] #4471 – borg help should print <command> list in sorted order: Step 8
Moved borg export-tar.
2019-03-30 07:11:42 +01:00
Thalian 76380e9ccb [TASK] #4471 – borg help should print <command> list in sorted order: Step 7
Moved borg diff.
2019-03-30 07:11:42 +01:00
Thalian 28172553db [TASK] #4471 – borg help should print <command> list in sorted order: Step 6
Moved borg debug & delete.
2019-03-30 07:11:42 +01:00
Thalian e6b43ee5e9 [TASK] #4471 – borg help should print <command> list in sorted order: Step 5b
Moved borg create.
2019-03-30 07:11:28 +01:00
Thalian 74635f38d6 [TASK] #4471 – borg help should print <command> list in sorted order: Step 5a
Moved borg compact & config.
2019-03-30 07:04:23 +01:00
Thalian 55522b11fd [TASK] #4471 – borg help should print <command> list in sorted order: Step 4
Moved borg check after borg break-lock.
2019-03-29 18:44:44 +01:00
Thalian 737d17cc3f [TASK] #4471 – borg help should print <command> list in sorted order: Step 3
Moved borg benchmark and borg break-lock to the top.
2019-03-29 18:40:28 +01:00