Commit graph

5324 commits

Author SHA1 Message Date
Thalian
5cb46f0a9d Add FAQs for SSH connection issues, fixes #3866
Backport from master.
2019-10-19 21:45:31 +02:00
TW
6428688fad
Merge pull request #4790 from fantasya-pbem/doc/4591_Backport_Improve-PW-FAQ
[DOC] #4591 - Improve password FAQ
2019-10-19 21:34:39 +02:00
Thalian
79da3d826b [DOC] #4591 - Improve password FAQ
Backport from master: Decrease pw length, add -w 0 option to base64 to prevent line wrap).
2019-10-19 21:28:23 +02:00
TW
3d012c1dd4
Merge pull request #4767 from lamyj/1.1-maint-missing_st_birthtime
Backport #4763 to 1.1-maint (FUSE mount missing st_birthtime)
2019-09-27 16:45:23 +02:00
Julien Lamy
3a89c26d74 Backport #4763 to 1.1-maint 2019-09-27 07:05:30 +02:00
TW
858a3de363
Merge pull request #4746 from adept/patch-2
Backport #4738 to 1.1-maint
2019-09-02 21:30:43 +02:00
Dmitry Astapov
dc5671469e Backport #4738 to 1.1-maint 2019-09-02 19:43:04 +01:00
TW
0c97d62b46
Merge pull request #4734 from ThomasWaldmann/update-changes-1.1
update CHANGES (1.1)
2019-08-27 21:24:33 +02:00
Thomas Waldmann
a18ba34db6 update CHANGES 2019-08-26 20:35:55 +02:00
TW
45f94a47c1
Merge pull request #4728 from ThomasWaldmann/fix-4725-1.1
fix partial extract for hardlinked contentless file types, fixes #4725
2019-08-25 20:04:20 +02:00
TW
cad525c771
Merge pull request #4729 from ThomasWaldmann/borg-workarounds-1.1
new BORG_WORKAROUNDS mechanism, basesyncfile, fixes #4710
2019-08-25 20:01:03 +02:00
Thomas Waldmann
beb948fc71 new BORG_WORKAROUNDS mechanism, basesyncfile, fixes #4710
remove WSL autodetection. if WSL still has this problem, you need to
set BORG_WORKAROUNDS=basesyncfile in the borg process environment to
work around it.
2019-08-24 09:38:26 +02:00
TW
87461a6fa4
add restore docs, fixes #4670 (#4723) (#4727)
add restore docs, fixes #4670
2019-08-23 01:36:34 +02:00
Thomas Waldmann
291d58efa1 fix partial extract for hardlinked contentless file types, fixes #4725
if the file is not a regular file, but a hardlink slave with a not
extracted hardlink master, chunks will be None and we must not call
preload(chunks).
2019-08-23 00:24:23 +02:00
TW
3045aec220
Merge pull request #4720 from ThomasWaldmann/changelog-1.1
update changelog, 1.1-maint
2019-08-11 14:37:28 +02:00
TW
68904270a8
Merge pull request #4719 from ThomasWaldmann/backports-1.1
1.1 backports
2019-08-11 14:31:26 +02:00
Thomas Waldmann
0593da68fb update CHANGES 2019-08-10 00:14:12 +02:00
Endareth
e2810663e6 Updated doc to cover use of temp directory on remote (#4545)
docs about remote temp directory usage

Updated doc to cover use of temp directory on remote, in particular how to handle changing the directory used for systems such as QNAP with tiny default /tmp directories.

fixup by tw: do not mention specific brands, specific amounts

this is not QNAP specific, but may happen as well on other limited
systems. the amount of tmp files can also vary widely.
2019-08-10 00:10:26 +02:00
ntova
ca87539e4f Fix various code blocks in the docs (#4708)
Fix various code blocks in the docs

- rst markup: put codeblock markup on separate line to make it better visible / separate it from normal text colons.

- borg help texts in archiver.py: put codeblock markup instead of colon - that way it looks like a single colon when using the cli help and also works as code block markup.
2019-08-09 23:35:01 +02:00
TW
1bdaa33564
Merge pull request #4714 from ThomasWaldmann/doc-updates-27-1.1
doc updates 27, 1.1-maint
2019-08-09 21:19:54 +02:00
Thomas Waldmann
070b205104 timestamps in the files cache are now usually ctime, fixes #4583 2019-08-09 21:11:44 +02:00
Thomas Waldmann
f2a39166d8 fix bad reference to borg compact (does not exist in 1.1), fixes #4660
introduced in 897b593ec4 .
2019-08-09 20:55:35 +02:00
TW
ffa8e89f99
Merge pull request #4705 from ThomasWaldmann/double-force-repair-as-warning
after double-force delete, warn about necessary repair, fixes #4704
2019-08-02 18:57:06 +02:00
Thomas Waldmann
389afcae9d after double-force delete, warn about necessary repair, fixes #4704
the borg check --repair is needed to clean up all the orphaned chunks.

if the message is emitted on INFO log level, people likely do not see
it if they use default WARNING log level (they did not give -v).
2019-08-02 17:13:04 +02:00
TW
08c3a6bd96
Merge pull request #4646 from ThomasWaldmann/fix-4614-1.1
SecurityManager.known(): check all files, fixes #4614
2019-08-02 14:33:27 +02:00
TW
be655be543
Merge pull request #4698 from ThomasWaldmann/fix-repo-open
Repository.open: use stat() to check for repo dir, fixes #4695
2019-08-02 14:30:59 +02:00
Thomas Waldmann
4911720faf Repository.check_can_create_repository: use stat() to check
similar issue as #4695.
2019-07-29 15:15:27 +02:00
Thomas Waldmann
ec3fad0f85 Repository.open: use stat() to check for repo dir, fixes #4695 2019-07-29 14:54:20 +02:00
TW
da2c06f215
Merge pull request #4687 from tgdnt/patch-1
Update documentation of borg create
2019-07-17 18:30:19 +02:00
Tiago Donato
bc2642a0cd
Update documentation of borg create
borg create examples within documentation mention 1.1 as a future version of borg.
2019-07-17 10:55:24 -05:00
TW
0538dbfd64
Merge pull request #4668 from ThomasWaldmann/backports-1.1
3 backports to 1.1
2019-07-07 14:40:06 +02:00
Thomas Waldmann
b324f46aa1 vagrant: add up-to-date openindiana box (py35, openssl10) 2019-07-02 23:01:57 +02:00
Thomas Waldmann
4b97d80f9b how to supply a passphrase, use crypto devices, fixes #4549 2019-07-02 22:54:22 +02:00
Thomas Waldmann
21a819ef4a extract: document limitation "needs empty destination", fixes #4598 2019-07-02 22:53:45 +02:00
TW
b29dc81fa8
Merge pull request #4659 from ThomasWaldmann/pytest-failsafe-1.1
cope with ANY error when importing pytest into borg.testsuite, #4652
2019-07-02 22:47:42 +02:00
Thomas Waldmann
9cfba91cc6 cope with ANY error when importing pytest into borg.testsuite, #4652
this happened because the user had pytest5 installed somehow,
although it is incompatible with python 3.4:

# python3 /usr/local/bin/borg --version
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/borg/archiver.py", line 81, in <module>
    from .selftest import selftest
  File "/usr/local/lib/python3.4/dist-packages/borg/selftest.py", line 21, in <module>
    from .testsuite.hashindex import HashIndexDataTestCase, HashIndexRefcountingTestCase, HashIndexTestCase
  File "/usr/local/lib/python3.4/dist-packages/borg/testsuite/__init__.py", line 29, in <module>
    from pytest import raises
  File "/usr/local/lib/python3.4/dist-packages/pytest.py", line 6, in <module>
    from _pytest.assertion import register_assert_rewrite
  File "/usr/local/lib/python3.4/dist-packages/_pytest/assertion/__init__.py", line 6, in <module>
    from _pytest.assertion import rewrite
  File "/usr/local/lib/python3.4/dist-packages/_pytest/assertion/rewrite.py", line 443, in <module>
    ast.MatMult: "@",
AttributeError: 'module' object has no attribute 'MatMult'
2019-07-01 21:26:04 +02:00
TW
737869449c
Merge pull request #4658 from emichael/1.1-maint
1.1-maint: Fix invalid archive error message
2019-07-01 19:54:55 +02:00
Ellis Michael
aac005d7b4
Fix invalid archive error message
Backporting b6a7a0806e to 1.1-maint
2019-07-01 10:18:53 -07:00
TW
22c9c19de2
Merge pull request #4653 from ThomasWaldmann/fix-positional-preload-1.1
fix preloading for old remote servers, fixes #4652
2019-06-30 23:39:42 +02:00
Thomas Waldmann
2574f4dac5 fix preloading for old remote servers, fixes #4652
if the remote server does not support the dict-based argument passing
yet (e.g. when accidentally using borg 0.29 on rsync.net), the GET rpc
call argument list failed to generate if the command currently being
processed was not a GET also.

note: rsync.net has a more recent borg as "borg1".
2019-06-28 21:10:58 +02:00
TW
e1b4c1d27b
Merge pull request #4650 from thiagomacieira/fiz-zlib-bad-assumption-1.1
Fix zlib bad assumption
2019-06-28 19:28:30 +02:00
Thiago Macieira
289b1279f9 Fix broken test that relied on improper zlib assumptions
This test assumed that zlib would always produce the same output for a
given input, and that assumption has proven incorrect. It rested on
zlib never improving. The zlib shipped in Clear Linux has algorithm
improvements, which caused this test to break.

This patch instead decompresses the expected value and compares that.

Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 575a348ce4)
2019-06-28 08:28:49 -07:00
Thomas Waldmann
c68cad9727 SecurityManager.known(): check all files, fixes #4614
Before this fix, because known() only checked the key-type file, the
location file could go missing without being automatically regenerated.

Now a save() is triggered if not all files are present.
2019-06-25 23:15:13 +02:00
TW
52c6b92598
Merge pull request #4637 from elho/second-archive-placeholder-maint
Enable placeholder usage in all extra archive arguments
2019-06-24 09:58:22 +02:00
TW
9cc680eda3
Merge pull request #4642 from russelldavis/fix-osxfuse-link-1.1-maint
Fix osxfuse github link in installation docs (1.1 backport)
2019-06-24 09:56:04 +02:00
Russell Davis
feff9dfa43 Fix osxfuse github link in installation docs
It was broken because there's already a different reference named
github in `docs/global.rst.inc`. Fixed by using an anonymous hyperlink
reference, per https://stackoverflow.com/a/14067756/278488
2019-06-24 00:47:57 -07:00
Elmar Hoffmann
1d1a2daaf9 enable placeholder usage in all extra archive arguments 2019-06-23 13:57:17 +02:00
TW
4ee7fb7595
Merge pull request #4633 from elho/docs-typofix-maint
Documentation spelling fix
2019-06-22 18:18:25 +02:00
Elmar Hoffmann
584367a119 fix spelling 2019-06-22 18:03:57 +02:00
TW
2f7f3b854f
Merge pull request #4617 from ThomasWaldmann/use-borg-repo-1.1
use borg_repo (1.1-maint backport)
2019-06-10 23:20:49 +02:00