Commit graph

612 commits

Author SHA1 Message Date
Marian Beermann
4e6a771ee7 BORG_PASSCOMMAND: use same cmd-string splitting as BORG_RSH 2017-05-31 19:41:17 +02:00
enkore
349a4ade7c Merge pull request #2568 from enkore/issue/1101.integration.cache
1101.integration.cache
2017-05-31 19:34:43 +02:00
TuXicc
578b76af3a Added BORG_PASSCOMMAND environment variable (#2573) 2017-05-31 19:25:21 +02:00
Marian Beermann
9032aa062b testsuite: simplify ArchiverCorruptionTestCase 2017-05-31 18:08:20 +02:00
Marian Beermann
0a5d9b6f7c cache sync: close archive chunks file before renaming 2017-05-31 18:06:28 +02:00
Marian Beermann
d35d388d9c cache integrity: handle interference from old versions 2017-05-25 17:44:01 +02:00
Marian Beermann
50ac9d914d testsuite: add ArchiverCorruptionTestCase 2017-05-25 17:44:01 +02:00
Marian Beermann
83bca02a4e file_integrity: hash_part: mix length into state 2017-05-25 17:44:01 +02:00
Marian Beermann
d463dd89aa hashindex: read/write: use hash_part for HashHeader 2017-05-25 17:44:01 +02:00
Marian Beermann
f59affe585 cache: fix possible printf issue with archive names in sync 2017-05-25 17:44:01 +02:00
Marian Beermann
addd7addfe cache: chunks.archive.d: autofix corruption 2017-05-25 17:44:01 +02:00
Marian Beermann
1dfe693003 cache: integrity checking in archive.chunks.d 2017-05-25 16:28:46 +02:00
Marian Beermann
2b518b7188 cache: add integrity checking of chunks and files caches 2017-05-25 16:28:46 +02:00
Marian Beermann
06cf15cc6d hashindex: read/write: accept file-like objects for path 2017-05-25 14:04:41 +02:00
Marian Beermann
39051ac5f1 file_integrity: split in IntegrityCheckedFile + Detached variant 2017-05-25 14:04:41 +02:00
Marian Beermann
38ed9a20af key file names: limit to 100 characters (not bytes) 2017-05-25 12:36:45 +02:00
Marian Beermann
4b8a04b5e7 key file names: remove colons from host name 2017-05-25 12:32:42 +02:00
enkore
2dcbe02e5a Merge pull request #2528 from ThomasWaldmann/follow-symlinks
document follow_symlinks requirements, check libc, fixes #2507
2017-05-25 09:26:09 +02:00
Marian Beermann
573d728f7a init: don't allow creating nested repositories 2017-05-25 00:36:50 +02:00
TW
9d82db1851 Merge pull request #2539 from RonnyPfannschmidt/avoid-repacakaging-pitfall
fail in borg package if version metadata is completely broken
2017-05-23 15:19:57 +02:00
Ronny Pfannschmidt
53d0f1fd02 fail in borg package if version metadata is completely broken
this helps to fail early when people do badly done scm based repackaging
2017-05-23 14:36:40 +02:00
Thomas Waldmann
0d406e7baf use _host to store host/ipv4/ipv6
for ipv6, it includes the outer square brackets.

the host property strips any outer square brackets.
2017-05-23 03:09:57 +02:00
Benedikt Neuffer
d99aff1276 ipv6 address support
also: Location: more informative exception when parsing fails
2017-05-23 02:08:44 +02:00
Thomas Waldmann
6f81d24324 remove unused no_lchflags_because 2017-05-22 17:54:43 +02:00
Thomas Waldmann
efec00b39c use stat with follow_symlinks=False
should be equivalent to using os.lstat() before.
2017-05-22 17:54:42 +02:00
Thomas Waldmann
094376a8ad require and use chown with follow_symlinks=False
should be equivalent to using os.lchown() before.
2017-05-22 17:54:42 +02:00
Thomas Waldmann
b484c79bc2 document follow_symlinks requirements, check libc, fixes #2507 2017-05-22 17:54:42 +02:00
enkore
58791583d9 Merge pull request #2530 from enkore/f/compact-revisit@2
Repository compaction docs
2017-05-22 13:55:04 +02:00
Marian Beermann
869ab1a47b mount: do pre-mount checks before opening repository 2017-05-22 13:29:38 +02:00
Marian Beermann
8e24ddae06 increase DEFAULT_SEGMENTS_PER_DIR to 2000 2017-05-22 12:31:52 +02:00
enkore
dc02c79e97 Merge pull request #2546 from enkore/issue/2543
docs: add systemd warning regarding placeholders
2017-05-21 17:45:34 +02:00
Marian Beermann
384d7635a4 docs: add systemd warning regarding placeholders 2017-05-21 17:22:29 +02:00
edgimar
ed14181cc1 add test for preserved intermediate folder permissions (#2477)
This tests whether the permissions metadata is preserved when a folder is excluded but still recursed into to find a matching file in a subfolder.
2017-05-21 17:18:56 +02:00
Marian Beermann
e689d8f2f6 mount: check llfuse is installed before asking for passphrase 2017-05-21 11:24:09 +02:00
Marian Beermann
85aabeb9c7 testsuite: call setup_logging after destroying logging config 2017-05-20 22:55:17 +02:00
Marian Beermann
58edbe15f4 xattr: document API 2017-05-20 18:50:10 +02:00
Marian Beermann
c6309b148b fuse: fix crash if empty (None) xattr is read 2017-05-20 18:50:10 +02:00
enkore
5db667881a Merge pull request #2500 from enkore/issue/2487
Verify most operations against securitymanager
2017-05-20 16:00:49 +02:00
Marian Beermann
c23e1e28c6 use assert_secure for all commands that use the manifest
This already excludes the debug commands that we wouldn't want this on.
2017-05-20 14:58:17 +02:00
Marian Beermann
482b65eaea cache: extract CacheConfig class 2017-05-20 14:58:17 +02:00
Marian Beermann
97e9603531 implement --debug-topic for remote servers 2017-05-20 12:55:03 +02:00
Marian Beermann
b3b555395c remote: clarify remote log handling comments 2017-05-20 12:55:03 +02:00
Marian Beermann
5f4d97ff2b remote: restore "Remote:" prefix (as used in 1.0.x) 2017-05-20 12:54:57 +02:00
Marian Beermann
18a2902c9c rpc negotiate: enable v3 log protocol only for supported clients
avoid seeing JSON log output when a 1.1.0b<5 client talks to a
1.1.0b>6 server.
2017-05-20 12:54:48 +02:00
Marian Beermann
fc105b49b1 fix --progress and logging in general for remote 2017-05-20 12:54:48 +02:00
Marian Beermann
9778c103ef serve: fix incorrect type of exception_short for Errors 2017-05-17 16:27:52 +02:00
Marian Beermann
042a4b960b export-tar: test strip-components and hardlinks for partial export 2017-05-17 11:04:20 +02:00
Marian Beermann
293324810b introduce popen_with_error_handling to handle common user errors
(without tracebacks)
2017-05-17 10:54:39 +02:00
enkore
52fab07b3b Merge pull request #2510 from enkore/issue/2473
Add --debug-profile option
2017-05-17 00:10:14 +02:00
enkore
5788219ff4 borg export-tar (#2519) 2017-05-17 00:09:41 +02:00