Commit Graph

4822 Commits

Author SHA1 Message Date
Thomas Waldmann 747cfadf79 catch ENOTSUP for os.link, fixes #3107
(cherry picked from commit 203a5c8f19)
2017-10-11 00:34:05 +02:00
Thomas Waldmann a68d463041 don't crash in first part of truncate_and_unlink, fixes #3117
(cherry picked from commit 7a689b1295)
2017-10-11 00:16:51 +02:00
TW f407de07a8 Merge pull request #3106 from ThomasWaldmann/vagrant-own-fbsd-box
vagrant: use self-made FreeBSD 10.3 box, fixes #3022
2017-10-10 00:41:38 +02:00
Thomas Waldmann c995797640 vagrant: use self-made FreeBSD 10.3 box, fixes #3022 2017-10-09 04:58:44 +02:00
TW aae2b97c6d Merge pull request #3102 from borgbackup/rel110
Release 1.1.0
2017-10-08 01:38:11 +02:00
Thomas Waldmann 8685c24a95 build_man 2017-10-07 22:15:27 +02:00
Thomas Waldmann ce121246ca update CHANGES 2017-10-07 22:13:44 +02:00
TW 5ba34634da Merge pull request #3100 from ThomasWaldmann/compressed-not-larger-1.1
auto compression: make sure expensive compression is actually better
2017-10-07 16:31:44 +02:00
Thomas Waldmann 5e3758fc7a auto compression: make sure expensive compression is actually better
if it is not significantly better compressed, we just store lz4
compressed data (which we already have computed anyway), because
that at least decompressed super fast.

(cherry picked from commit 011e0fd3fa)
2017-10-07 16:21:09 +02:00
TW 3bc76a0a25 Merge pull request #3099 from ThomasWaldmann/manpage-issue-role-1.1
implement simple "issue" role for manpage generation, fixes #3075
2017-10-07 16:20:16 +02:00
Thomas Waldmann 355191ab0b implement simple "issue" role for manpage generation, fixes #3075
(cherry picked from commit bf3f8e5672)
2017-10-07 16:18:39 +02:00
TW ce1d3ec7e4 Merge pull request #3098 from ThomasWaldmann/fix-man-typo-1.1
manpage: fix typos, update homepage
2017-10-07 16:16:37 +02:00
Thomas Waldmann 164bb059ec manpage: fix typos, update homepage
(cherry picked from commit 62e0f7a64e)
2017-10-07 16:15:34 +02:00
TW e7a9ea2c09 Merge pull request #3092 from ThomasWaldmann/faq-eta-1.1
faq: we do not implement futile attempts of ETA / progress displays
2017-10-06 20:32:15 +02:00
Thomas Waldmann 1e370d4d23 faq: we do not implement futile attempts of ETA / progress displays
(cherry picked from commit fe08437337)
2017-10-06 20:31:12 +02:00
TW 41587c9be2 Merge pull request #3091 from ThomasWaldmann/fuse-version-comments-1.1
add some comments about recent fuse versions to setup.py
2017-10-06 20:27:25 +02:00
Thomas Waldmann bfdb6c4558 add some comments about recent fuse versions to setup.py 2017-10-06 19:51:49 +02:00
TW ed3abcfe6f Merge pull request #3079 from ThomasWaldmann/fix-subprocess-env-1.1
fix LDLP restoration for subprocesses, fixes #3077
2017-10-01 21:57:37 +02:00
Thomas Waldmann 7e4d6cac0f fix LDLP restoration for subprocesses, fixes #3077
(cherry picked from commit b5069770b7)
2017-10-01 20:58:18 +02:00
TW 4bbbcfc892 Merge pull request #3076 from borgbackup/rel110rc4
release 1.1.0rc4
2017-10-01 05:01:15 +02:00
Thomas Waldmann 180a37db46 build_man 2017-10-01 02:26:55 +02:00
Thomas Waldmann 0263c9dd8a build_usage 2017-10-01 02:24:54 +02:00
TW 6c04f6f1b6 Merge pull request #3065 from ThomasWaldmann/update-changes-1.1
update CHANGES (1.1-maint)
2017-10-01 02:12:09 +02:00
Thomas Waldmann 9723f38855 update CHANGES (1.1-maint) 2017-10-01 02:10:57 +02:00
TW f7fd14958d Merge pull request #3074 from ThomasWaldmann/files-cache-ctime-1.1
implement files cache mode control, fixes #911
2017-10-01 02:07:35 +02:00
Thomas Waldmann eab9f5a07b implement files cache mode control, fixes #911
You can now control the files cache mode using this option:

--files-cache={ctime,mtime,size,inode,rechunk,disabled}*

(only some combinations are supported)

Previously, only these modes were supported:
- mtime,size,inode (default of borg < 1.1.0rc4)
- mtime,size (by using --ignore-inode)
- disabled (by using --no-files-cache)

Now, you additionally get:
- ctime alternatively to mtime (more safe), e.g.:
  ctime,size,inode (this is the new default of borg >= 1.1.0rc4)
- rechunk (consider all files as changed, rechunk them)

Deprecated:
- --ignore-inodes (use modes without "inode")
- --no-files-cache (use "disabled" mode)

The tests needed some changes:
- previously, we use os.utime() to set a files mtime (atime) to specific
  values, but that does not work for ctime.
- now use time.sleep() to create the "latest file" that usually does
  not end up in the files cache (see FAQ)

(cherry picked from commit 5e2de8ba67)
2017-10-01 01:27:18 +02:00
TW f44e62636a Merge pull request #3070 from ThomasWaldmann/exclude-cython027-1.1
exclude Cython 0.27(.0) in requirements, fixes #3066
2017-09-29 03:36:23 +02:00
Thomas Waldmann f170641bd4 exclude Cython 0.27(.0) in requirements, fixes #3066
https://github.com/cython/cython/issues/1880
(cherry picked from commit 7e94d42853)
2017-09-29 02:18:26 +02:00
TW 248117db29 Merge pull request #3062 from ThomasWaldmann/fix-partial-json-1.1
remote: deal with partial lines, fixes #2637 (1.1-maint)
2017-09-27 02:09:31 +02:00
TW 644fc96350 Merge pull request #3063 from ThomasWaldmann/rate-limit-faq-fix-1.1
Simplified rate limiting wrapper in FAQ (1.1-maint)
2017-09-26 23:53:30 +02:00
Alexander Meshcheryakov d3533de5f7 Simplified rate limiting wrapper in FAQ
Exporting $RATE as environment variable is not need in this case.

And example does not use any bash specific features.
It should use default system shell instead.
(cherry picked from commit f7ec13eabb)
2017-09-26 23:51:06 +02:00
Thomas Waldmann f2b48cd5c8 remote: deal with partial lines, fixes #2637
due to block buffering (in borg, pipes, sshd, ssh) partial lines might
be received. for plain text, this causes cosmetic issues, for json it
causes tracebacks due to parse errors.

the code now makes sure handle_remote_line() only gets called with a
complete line (which is terminated by any universal newline char, a
pure \r seems to be needed for remote progress displays).

it also fixes a yet undiscovered partial utf-8-sequence decoding issue
that might occur for the same reason.

(cherry picked from commit 8646216a06)
2017-09-26 22:06:13 +02:00
TW 1c97903a12 Merge pull request #3060 from ThomasWaldmann/fix-spawn-passcommand-1.1
Fix subprocess environments (1.1-maint)
2017-09-25 21:24:01 +02:00
Thomas Waldmann 37a5442bef use prepared env for xattr module's fakeroot version check
(cherry picked from commit a57e23fdb3)
2017-09-25 05:54:50 +02:00
Thomas Waldmann d7a5ca2e6a use prepared env for borg export-tar --tar-filter subprocess
(cherry picked from commit cf59f653e5)
2017-09-25 05:54:30 +02:00
Thomas Waldmann d6f810560c use prepared env for borg umount
(cherry picked from commit b88da10641)
2017-09-25 05:53:56 +02:00
Thomas Waldmann 3b20c18c3b use prepared env for borg with-lock
(cherry picked from commit 6da5bf4b85)
2017-09-25 05:51:53 +02:00
Thomas Waldmann 2f7d7bdbb8 use prepared env for calling BORG_PASSCOMMAND, fixes #3050
(cherry picked from commit 6a6fd31804)
2017-09-25 05:51:02 +02:00
Thomas Waldmann 5dd16672c0 refactor/fix subprocess env preparation
refactor: make a generally usable function

fix: remove support code for ancient pyinstaller

the "else" branch was needed for pyinstaller < 20160820 because it did
not have the LD_LIBRARY_PATH_ORIG env var, so we just killed LDLP
because we had no better way.

but with borg tests running under fakeroot, this is troublesome as
fakeroot uses this also and can't find its library without it.

so, just remove it, we do not need to support old pyinstaller.

(cherry picked from commit ba941b0801)
2017-09-25 05:50:19 +02:00
TW 34caa474a8 Merge pull request #3059 from ThomasWaldmann/remove-110b-logger-1.1
remove client_supports_log_v3 flag (1.1-maint)
2017-09-25 04:17:00 +02:00
Thomas Waldmann f48f86444d remove client_supports_log_v3 flag, fixes #3033
the client_supports_log_v3 flag was added to differentiate 1.1.0 beta3
to beta5 clients (which did not support parsing json log format from
server) from >= 1.1.0beta6 clients (which support it).
for clients older than 1.1.0b3, no json log format will be negotiated
anyway.

by removing the client_supports_log_v3 flag support, we drop support for
clients using 1.1.0beta3..5.

thus, a client is now expected to either support old log format (like
borg 1.0.x) or new json format (like borg 1.1.0 >= beta6).

client     server comment
===========================================
any        0.29+  uses $LOG plain remote log format
any        1.0.x  uses $LOG plain remote log format
1.0.x      1.1.0  uses $LOG plain remote log format
1.1.0b1/b2 1.1.0  (uses $LOG plain remote log format)
1.1.0b3-b5 1.1.0  (malfunction)
1.1.0b6    1.1.0  (uses json remote log format)
1.1.0rc    1.1.0  uses json remote log format
1.1.x      1.1.0  uses json remote log format

(beta testing is over and betas are unsupported now)

Note: client_supports_log_v3 flag was added in changeset
      18a2902c9c

(cherry picked from commit 54c5049fb9)
2017-09-25 02:41:15 +02:00
TW fa66015cb3 Merge pull request #3054 from ThomasWaldmann/update-create-docs-1.1
Update create docs (1.1-maint)
2017-09-23 23:45:02 +02:00
Thomas Waldmann cfc48d2899 docs: add auto compression example to borg create examples
(cherry picked from commit 3f16d91fd3)
2017-09-23 23:42:02 +02:00
Thomas Waldmann c616009724 docs: add compressor names to be more clear
(cherry picked from commit 0ec6c920b9)
2017-09-23 23:41:46 +02:00
Thomas Waldmann 354d3f0b4f fix docs: --compression lz4 is the default now, fixes #3034
(cherry picked from commit c88528512f)
2017-09-23 23:41:27 +02:00
TW f20576f50d Merge pull request #3052 from ThomasWaldmann/doc-updates-1.1
doc updates (1.1-maint)
2017-09-23 22:22:54 +02:00
Thomas Waldmann 055f34f025 docs: twitter account @borgbackup, fixes #2948
(cherry picked from commit 112bf43956)
2017-09-23 21:31:00 +02:00
Thomas Waldmann eacea02d8c docs: add note about metadata dedup and --no[ac]time, fixes #2518
(cherry picked from commit d8766df998)
2017-09-23 21:30:42 +02:00
Thomas Waldmann b6abee4d68 docs: change-passphrase only changes the passphrase, fixes #2990
(cherry picked from commit 713be765d1)
2017-09-23 21:30:18 +02:00
TW e7e5b604ce Merge pull request #3044 from ThomasWaldmann/vagrant-updates-1.1
vagrant updates (1.1-maint)
2017-09-22 05:14:00 +02:00