enkore
9ae1351bec
Merge pull request #1238 from ThomasWaldmann/double-sync
...
sync the containing directory also
2016-07-02 13:49:16 +02:00
Thomas Waldmann
99566a31c0
sync the containing directory also
2016-07-01 02:11:49 +02:00
enkore
74e5e758b8
Merge pull request #1237 from ThomasWaldmann/double-sync
...
make sure data hits disk before commit tag, fixes #1236
2016-07-01 01:56:02 +02:00
Thomas Waldmann
fde5a60549
make sure data hits disk before commit tag, fixes #1236
2016-07-01 01:11:12 +02:00
TW
02c72b9925
Merge pull request #1232 from PlasmaPower/serve-append-only
...
Add --append-only to borg serve (1.0-maint)
2016-07-01 00:30:15 +02:00
Marian Beermann
26bf500566
Add missing error handler in directory attr restore loop (2/2)
2016-07-01 00:14:32 +02:00
Marian Beermann
e365d64718
Add missing error handler in directory attr restore loop (1/2)
2016-07-01 00:14:17 +02:00
Marian Beermann
b241f95a4b
Implement fail-safe error handling for borg-extract
...
Note that this isn't nearly as critical as the other error handling bug,
since nothing is written. So it's "merely" misleading error reporting.
2016-07-01 00:14:10 +02:00
Marian Beermann
5e260fdfda
Rename input_io*() -> backup_io*()
2016-07-01 00:13:53 +02:00
TW
93b740adee
Merge pull request #1233 from PlasmaPower/git-ignore-eggs
...
Add .eggs to .gitignore
2016-07-01 00:06:14 +02:00
Lee Bousfield
58e42deaa0
Add .eggs to .gitignore
2016-06-30 18:00:39 -04:00
Lee Bousfield
c515d6018d
Add --append-only to borg serve
...
Fixes #1168
2016-06-30 17:58:36 -04:00
enkore
69f73b1752
Merge pull request #1227 from ThomasWaldmann/checkpoint-interval
...
increase checkpoint-interval default from 300 to 1800s, fixes #896
2016-06-30 17:09:56 +02:00
Thomas Waldmann
87d6755108
Merge branch '1.0-maint'
2016-06-29 18:28:33 +02:00
enkore
124265330f
Merge pull request #1216 from ThomasWaldmann/read-special-follow-symlink
...
in --read-special mode, follow symlinks, fixes #1215
2016-06-29 17:12:11 +02:00
enkore
67c69998d6
Merge pull request #1211 from enkore/issue/1138
...
Fix incorrect propagation of OSErrors in create code
2016-06-29 17:07:51 +02:00
enkore
b0eb1af6ea
Merge pull request #1218 from ThomasWaldmann/fix-vagrant-openbsd
...
Vagrantfile: use openbsd 5.9, fixes #716
2016-06-29 17:00:47 +02:00
enkore
523ea295d2
Merge pull request #1212 from ThomasWaldmann/prune-example
...
add prune visualization / example, fixes #723
2016-06-29 16:57:43 +02:00
Thomas Waldmann
e81fc4381c
Vagrantfile: use openbsd 5.9, fixes #716
...
machine already has python3.4.
rsync works now.
fuse does not work on openbsd (and breaks borg install, if tried).
2016-06-29 01:04:24 +02:00
Thomas Waldmann
c3073bacbb
in --read-special mode, follow symlinks, fixes #1215
2016-06-28 18:49:51 +02:00
Marian Beermann
e96905c6b1
Fix error swallowing of ignored responses in RPC code
2016-06-27 22:45:44 +02:00
Marian Beermann
431441f0d6
input_io_* tests
2016-06-27 22:00:24 +02:00
Thomas Waldmann
c773c882b9
add prune visualization / example, fixes #723
2016-06-27 21:20:35 +02:00
Marian Beermann
5b453856ec
Fix incorrect propagation of OSErrors in create code
2016-06-27 20:56:41 +02:00
Thomas Waldmann
c201654f45
increase checkpoint-interval default from 300 to 1800s, fixes #896
...
doing a checkpoint can be expensive, if the repo connection is slow and/or
accessed via a network filesystem and/or the repo is large.
thus: don't do it too often.
2016-06-27 20:05:20 +02:00
TW
49feacfab1
Merge pull request #1210 from ThomasWaldmann/build-binaries-with-3.5.2
...
use python 3.5.2 to build the binaries
2016-06-27 19:55:23 +02:00
Thomas Waldmann
c6a72bb16f
use python 3.5.2 to build the binaries
2016-06-27 18:42:12 +02:00
TW
6a5121a1d5
Merge pull request #1207 from ThomasWaldmann/issue-1205
...
use bytes type for ACL attributes, fixes #1205
2016-06-27 17:22:12 +02:00
Thomas Waldmann
5791b89c04
use bytes type for ACL attributes, fixes #1205
...
this saves some encoding / decoding dance compared to having a str interface.
2016-06-26 23:04:04 +02:00
Thomas Waldmann
323894d195
Merge branch '1.0-maint'
2016-06-26 20:46:12 +02:00
Thomas Waldmann
36b1863c44
use long long for AES block counter, fixes #1206
2016-06-26 20:45:22 +02:00
Thomas Waldmann
ed128e517b
Merge branch '1.0-maint'
2016-06-25 17:18:14 +02:00
TW
79c59bffa8
Merge pull request #1201 from ThomasWaldmann/doc-updates
...
Doc updates
2016-06-25 15:31:53 +02:00
Thomas Waldmann
b10025c6e5
document sshd settings, fixes #545
2016-06-24 23:30:27 +02:00
Thomas Waldmann
f54f159db8
more details about checkpoints, add split trick, fixes #1171
2016-06-24 22:32:38 +02:00
Thomas Waldmann
ad65c5ac16
support docs: add freenode web chat link, fixes #1175
2016-06-24 21:48:21 +02:00
TW
3ff6ac09a6
Merge pull request #1179 from Abogical/list-format
...
Apply --format when listing repository archives, fixes #1166
2016-06-24 18:29:03 +02:00
TW
c2eae540c3
Merge pull request #1199 from verygreen/bug1195
...
Ignore empty index file.
2016-06-24 17:53:54 +02:00
enkore
13b6f173ed
Merge pull request #1193 from ThomasWaldmann/openssl-1.0-1.1-compat
...
OpenSSL 1.0 and 1.1 compatibility
2016-06-24 17:20:07 +02:00
Oleg Drokin
f99792d31d
Ignore empty index file.
...
Empty index file is most likely a result from an unclean
shutdown in the middle of write, e.g. on ext4 with delayed
allocation enabled (default).
Ignoring such a file would get it recreated by other parts of code,
where as not ignoring it leads to an exception about
not being able to read enough bytes from the index.
this commit fixes #1195
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
2016-06-24 11:18:54 -04:00
enkore
5b34483310
Merge pull request #1194 from ThomasWaldmann/more-placeholders
...
add placeholder support at missing places, add missing help
2016-06-23 17:38:04 +02:00
Thomas Waldmann
12cb66b9f6
fix "patterns" help formatting, too
...
this way it renders nicely in html (via sphinx) and on console
2016-06-22 08:44:14 +02:00
Thomas Waldmann
5ae340998c
update docs about placeholders
2016-06-22 08:40:31 +02:00
Thomas Waldmann
6407742d78
support placeholders for --prefix (everywhere), fixes #1027
...
this fixes a ugly inconsistency: you could use placeholder for borg create's archivename.
but you could not use them for borg prune's prefix option.
2016-06-21 23:36:30 +02:00
Thomas Waldmann
b072e99394
fix invalid placeholder in unit test
2016-06-21 23:14:44 +02:00
Thomas Waldmann
b630ae9231
catch and format exceptions in arg parsing
2016-06-21 23:00:08 +02:00
Thomas Waldmann
ad1729401f
improve exception handling for placeholder replacement
...
do not ignore bad placeholders and just return empty string,
this could have bad consequences, e.g. with --prefix '{invalidplaceholder}':
a typo in the placeholder name would cause the prefix to be the empty string.
2016-06-21 22:58:56 +02:00
Thomas Waldmann
52007dbd43
add tests for format_line
2016-06-21 22:02:13 +02:00
Thomas Waldmann
0f7eb871fd
slightly refactor placeholder related code
...
- move from instance method to global function, so it can be used in other contexts also
- rename preformat_text -> replace_placeholders
2016-06-21 21:52:20 +02:00
Thomas Waldmann
b5362fa5c8
make borg build/work on OpenSSL 1.0 and 1.1, fixes #1187
...
in openssl 1.1, the cipher context is opaque, members can not
be accessed directly. we only used this for ctx.iv to determine
the current IV (counter value).
now, we just remember the original IV, count the AES blocks we
process and then compute iv = iv_orig + blocks.
that way, it works on OpenSSL 1.0.x and >= 1.1 in the same way.
2016-06-21 20:20:48 +02:00