Commit Graph

2852 Commits

Author SHA1 Message Date
TW d020c6f776 Merge pull request #1414 from ThomasWaldmann/configurable-files-cache-ttl
implement BORG_FILES_CACHE_TTL, update FAQ
2016-07-31 13:37:38 +02:00
enkore 2cfe940ebf Merge pull request #1415 from ThomasWaldmann/update-faq-with-lock
add hint about borg with-lock to FAQ, fixes #1353
2016-07-31 11:59:57 +02:00
Lee Bousfield b86b5d952a
Filesystem feature detection and test skipping 2016-07-31 01:19:31 -04:00
Thomas Waldmann ad38f794e0 add hint about borg with-lock to FAQ, fixes #1353 2016-07-31 02:04:56 +02:00
Thomas Waldmann 5f7b466969 implement BORG_FILES_CACHE_TTL, update FAQ
raise default ttl to 20 (previously: 10).
2016-07-31 01:33:46 +02:00
enkore 2e969a7418 Merge pull request #1408 from ThomasWaldmann/fix-remote-repo-teardown
RemoteRepository init: always call close on exceptions, fixes #1370
2016-07-31 00:25:13 +02:00
Thomas Waldmann 9865509105 docs: remove borg list example, be more specific about compression heuristics 2016-07-30 21:21:45 +02:00
TW 473b1d03ee Merge pull request #1409 from ThomasWaldmann/fix-pkg-config-name
OS X: install pkg-config to build with FUSE support, fixes #1400
2016-07-30 21:09:31 +02:00
Thomas Waldmann 4e737cb64b OS X: install pkg-config to build with FUSE support 2016-07-30 21:08:20 +02:00
Thomas Waldmann 5a83f74418 RemoteRepository init: always call close on exceptions, fixes #1370
This fixes the cosmetic issue that the cleanup happened in __del__ and caused an AssertionError there.
2016-07-30 19:42:25 +02:00
TW 02e229b255 Merge pull request #1377 from enkore/issue/1060
Use atomic file writing and updating for configuration and key files
2016-07-30 16:06:01 +02:00
enkore e09a059ce8 Merge pull request #1336 from enkore/issue/1272
Check free space before committing
2016-07-30 16:04:59 +02:00
TW 1ccadd4ab8 Merge pull request #1403 from ThomasWaldmann/fix-1125
FUSE: always create a root dir, fixes #1125
2016-07-30 15:43:05 +02:00
TW 2cb9533ccc Merge pull request #1402 from ThomasWaldmann/fix-1351
Fix 1351
2016-07-30 15:28:29 +02:00
Marian Beermann e9a73b808f Check for sufficient free space before committing 2016-07-30 00:04:27 +02:00
Marian Beermann 389503db60 Repository.compact_segments: always save_space 2016-07-30 00:03:31 +02:00
enkore 63daa5449d Merge pull request #1335 from enkore/f/document-platforms
Platform feature matrix
2016-07-30 00:02:42 +02:00
Marian Beermann ba23265559 docs, development: link to appveyor 2016-07-30 00:01:19 +02:00
Marian Beermann 4e3bfabebf docs, platform/features: linux has BSD flag emulation 2016-07-30 00:01:05 +02:00
TW 3bdfe2a564 Merge pull request #1217 from ThomasWaldmann/in-file-checkpoints
in-file checkpoints
2016-07-29 21:03:05 +02:00
Thomas Waldmann 32320c2f9f FUSE: always create a root dir, fixes #1125
also: refactor / deduplicate directory creation
2016-07-29 00:24:18 +02:00
TW e06b89abb3 Merge pull request #1401 from PlasmaPower/fuse-cache-partially-read
borg mount: cache partially read data chunks
2016-07-28 22:34:03 +02:00
Thomas Waldmann 97383e9e60 transform unpacker exception only at 1 place 2016-07-28 22:23:38 +02:00
Thomas Waldmann 852c583076 handle unpacker exception with tighter scope 2016-07-28 22:12:34 +02:00
Thomas Waldmann edea587f35 catch unpacker exceptions, resync, fixes #1351 2016-07-28 22:10:29 +02:00
Lee Bousfield d126265fe4
borg mount: cache partially read data chunks
Cherry-pick of bfb00df from master to 1.0-maint
2016-07-28 15:59:36 -04:00
TW 9f996da640 Merge pull request #1380 from jzacsh/document-envvars-pitfalls
doc: quickstart on shell pitfalls for env. vars
2016-07-28 20:18:32 +02:00
Jonathan Zacsh 1eaf1b7365
follow automation quickstart w/env. var pitfalls
Mostly commentary on proper `export` usage, pitfall w/sudo, and debugging tips.
2016-07-28 14:10:28 -04:00
Thomas Waldmann 999f0ae187 fix chunk refcounts considering part files 2016-07-28 19:39:29 +02:00
Thomas Waldmann 04ad1d1b0b use "part file", "part", etc. consistently
use .borg_part_N as filename to avoid collisions
2016-07-28 19:39:29 +02:00
Thomas Waldmann a7fca52f07 create part items rather than checkpoint items
checkpoint items: chunks abc, abcdef, abcdefghi, ....
part items: chunks abc, def, ghi

solves the "restore a big file over unstable connection issue" (not very comfortably, but
one can just extract one part after the other and concatenate them to get the full file)
2016-07-28 19:39:29 +02:00
Thomas Waldmann e5bd6cef20 add --consider-checkpoint-files option, update FAQ 2016-07-28 19:39:29 +02:00
Thomas Waldmann 0ea6745250 update faq: we have in-file checkpoints now
note: until there is some means to list and extract the (partial) checkpoint
items, we do not need to talk about them.
2016-07-28 19:39:29 +02:00
Thomas Waldmann 49233be25d filter out checkpoint files
do not:
- list them
- extract them
- diff them
- include them for recreate
2016-07-28 19:39:29 +02:00
Thomas Waldmann dd5f957e6f in-file checkpoints, fixes #1198, fixes #1093
also: unify code for stdin and on-disk file processing
2016-07-28 19:39:29 +02:00
Thomas Waldmann 75d91c4bd1 file chunking: refactor code a little
so it directly works with item.chunks list instead of a temporary list.
2016-07-28 19:39:28 +02:00
Thomas Waldmann bda50b5958 stdin chunking: get Item into usable state early 2016-07-28 19:39:28 +02:00
Thomas Waldmann 9226fc6f6f split stat_attrs into cheap and expensive part
we already have stat results in st, so computing stat_simple_attrs is
rather cheap (except the username/groupname lookup maybe) and gets the
most important stuff right in the Item, so it is brought early into a
good state.

after chunking, stat_ext_attrs is called to add the more expensive-to-get
attributes, like bsdflags, xattrs and ACLs.
2016-07-28 19:39:28 +02:00
enkore 0df4f1eb1f Merge pull request #1397 from enkore/issue/1395
Fix some issues in --verify-data
2016-07-28 19:13:28 +02:00
Marian Beermann 0ae48dafbb
ObjectNotFound: give ID as hex-string 2016-07-28 18:41:50 +02:00
Marian Beermann d0ec7e76bb Fix borg-check --verify-data failing with rebuilt objects
There are some instances where --repair would do something. In these
instances --verify-data would fail if --repair was not given also, since
the changes without --repair are only in the index, but not in the
repository.
2016-07-28 18:41:08 +02:00
Marian Beermann 1b6b0cfae6 Fix borg-check --verify-data tripping over ObjectNotFounds 2016-07-28 18:40:20 +02:00
TW 794296722f Merge pull request #1394 from PlasmaPower/trailing-whitespace
Remove trailing whitespace (master)
2016-07-28 16:37:59 +02:00
Lee Bousfield b652f4039c
Remove trailing whitespace 2016-07-28 10:35:41 -04:00
TW 6c1c83c1cd Merge pull request #1389 from enkore/merge/1.0-maint3
Merge branch '1.0-maint' into master
2016-07-28 14:36:48 +02:00
Marian Beermann 1bad3fc552
Merge branch '1.0-maint' into master 2016-07-28 09:48:58 +02:00
TW 10ecb1792d Merge pull request #1386 from PlasmaPower/init-append-only
Add --append-only to borg init (1.0-maint)
2016-07-28 01:15:32 +02:00
Marian Beermann ac8c8119a7
Merge branch '1.0-maint' into master 2016-07-28 00:29:43 +02:00
enkore f811624fab Merge pull request #1388 from enkore/f/document-platforms2
Platform feature matrix
2016-07-28 00:17:26 +02:00
Marian Beermann c5fffbefff Platform feature matrix 2016-07-27 23:54:15 +02:00