Commit Graph

2669 Commits

Author SHA1 Message Date
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
TW 769f9d80ab Merge pull request #1387 from PlasmaPower/remove-trailing-whitespace
Remove trailing whitespace
2016-07-27 17:07:21 +02:00
Lee Bousfield 0a4a95eb17
Remove trailing whitespace 2016-07-27 10:05:51 -04:00
Lee Bousfield 88a4989c57 Add --append-only to borg init 2016-07-27 08:52:42 -04:00
TW e32dcc4c8a Merge pull request #1379 from PlasmaPower/stdio-broken-pipe
Ignore stdout/stderr broken pipe errors
2016-07-26 21:09:00 +02:00
Lee Bousfield 9fe4473ff2
Ignore stdout/stderr broken pipe errors 2016-07-26 14:24:51 -04:00
enkore 3c2d41898f Merge pull request #1368 from PlasmaPower/user-exists-value-error
Catch a ValueError when checking if a user exists
2016-07-23 23:45:16 +02:00
Lee Bousfield ff108ef24b Catch a ValueError when checking if a user exists 2016-07-23 15:03:22 -04:00
enkore 91a9c35bd3 Merge pull request #1367 from PlasmaPower/noatime-fix
Fixed noatime detection
2016-07-23 20:15:24 +02:00
Lee Bousfield 868586dd37 Fixed noatime detection 2016-07-23 13:05:35 -04:00
TW ffdd3a53f9 Merge pull request #1365 from PlasmaPower/testing-outside-vagrant
Allow running tests outside of Vagrant
2016-07-23 16:43:19 +02:00
Lee Bousfield 88bffab935
Allow running tests outside of Vagrant
Fixes #1361
2016-07-23 10:31:16 -04:00
TW c0615c78e9 Merge pull request #1358 from PlasmaPower/git-ignore-platform-c
Ignore generated platform C files
2016-07-23 16:18:10 +02:00
Lee Bousfield 2eef0fb894
Ignore generated platform C files 2016-07-23 09:15:16 -04:00
TW 43b075ee00 Merge pull request #1360 from PlasmaPower/git-ignore-coverage
gitignore .coverage.*
2016-07-23 10:40:40 +02:00
Lee Bousfield 477b374a28 gitignore .coverage.* 2016-07-22 18:55:14 -04:00
Thomas Waldmann b33f8b4ff1 update faq with new 30 mins checkpoint interval 2016-07-21 21:03:22 +02:00
enkore bc56cefde7 Merge pull request #1348 from LocutusOfBorg/reproducible-build-stable
Use an OrderedDict for helptext, making the build reproducible
2016-07-18 12:56:44 +02:00
Chris Lamb 69f8d3c3f7 Use an OrderedDict for helptext, making the build reproducible
Closes #1346
2016-07-18 12:18:03 +02:00
TW 95ce40b1a4 Merge pull request #1334 from enkore/issue/1333
faq: 'A' unchanged file; remove ambiguous entry age sentence.
2016-07-18 08:06:36 +02:00
TW a2ea1d743a Merge pull request #1344 from enkore/fix/merges
Fix some item subscripts that came from 1.0-maint
2016-07-18 07:56:50 +02:00
Marian Beermann 52a72cf73a Fix some item subscripts that came from 1.0-maint 2016-07-17 19:13:09 +02:00
enkore 7e6d6bf458 Merge pull request #1331 from pankajkgarg/1.0-maint
Fixed the issue of absense of vagrant user on xenial64
2016-07-15 22:28:21 +02:00
Pankaj Garg 5f713ec1c1 Fixed the issue of xenial64 box being unable to run because vagrant user is absent 2016-07-15 09:15:37 +05:30
Marian Beermann b9952efd68 faq: 'A' unchanged file; remove ambiguous entry age sentence. 2016-07-15 00:43:49 +02:00
TW 963bdd340c Merge pull request #1330 from enkore/issue/972
recreate: fix hogged signal handlers
2016-07-14 14:53:21 +02:00
TW 361bf32735 Merge pull request #1327 from enkore/issue/1324
Fix borg break-lock ignoring BORG_REPO env var
2016-07-14 14:41:30 +02:00
TW eddda72bb2 Merge pull request #1329 from enkore/merge/1.0-maint2
Merge branch '1.0-maint' into master
2016-07-14 14:37:52 +02:00
Marian Beermann fcb6930c53
recreate: fix hogged signal handlers 2016-07-14 02:11:13 +02:00