Thomas Waldmann
24812b0317
dump-repo-objs: filename layout improvements
2018-08-09 06:49:48 +02:00
Thomas Waldmann
8738e85967
implement borg debug dump-repo-objs --ghost
...
intended as a last resort measure to export all segment file contents
in a relatively easy to use format.
if you want to dig into a damaged repo (e.g. missing segment files,
missing commits) and you know what you do.
note: dump-repo-objs --ghost must not use repo.list()
because this would need the repo index and call get_transaction_id and
check_transaction methods, which can easily fail on a damaged repo.
thus we use the same low level scan method as we use anyway to get
some encrypted piece of data to setup the decryption "key".
2018-08-09 06:49:48 +02:00
Thomas Waldmann
2b7d65b024
use repository.scan() for dump-repo-objs to get on-disk order
...
it is also more efficient, avoids random access.
2018-08-09 06:49:48 +02:00
Thomas Waldmann
c2ed0d9ee0
implement borg debug search-repo-objs searchterm
2018-08-09 06:49:48 +02:00
TW
b951a2ee42
Merge pull request #3997 from ThomasWaldmann/py37-1.1
...
remove loggerDict.clear() from tearDown method, fixes #3805
2018-07-29 13:54:40 +01:00
Thomas Waldmann
a9d523d6d8
remove loggerDict.clear() from tearDown method, fixes #3805
...
It causes problems with the new caching in the py37 logger module.
Removing loggerDict.clear() fixes this and makes the tests work again.
Also, it does not seem to have any negative effect, neither on py36
nor on py37.
See also: https://bugs.python.org/issue34269
2018-07-29 12:43:06 +01:00
TW
39c7bd90f1
Merge pull request #3989 from margau/1.1-maint
...
Backport of #3987 into 1.1-maint
2018-07-20 16:59:06 +02:00
Marvin Gaube
1c250ae39c
Backport of #3987
...
Backport of https://github.com/borgbackup/borg/pull/3987
2018-07-20 16:25:17 +02:00
TW
5e3f62f95b
Merge pull request #3982 from ThomasWaldmann/locking-fixes-1.1
...
Locking: better logging, some asserts (1.1)
2018-07-17 19:04:16 +02:00
Thomas Waldmann
f86bf8a0a8
locking: more logging
2018-07-17 00:18:57 +02:00
Thomas Waldmann
2bf1b29e8e
process_alive: add some assertions
2018-07-17 00:18:57 +02:00
TW
ab0da76c5d
Merge pull request #3981 from ThomasWaldmann/fix-cache-lock-timeout-1.1
...
cache lock: use lock_wait everywhere to fix infinite wait
2018-07-16 23:48:26 +02:00
Thomas Waldmann
2f3e60d9d5
cache lock: use lock_wait everywhere to fix infinite wait
...
also: clarify docs
2018-07-15 10:51:40 +02:00
TW
98b8d77788
Merge pull request #3979 from ThomasWaldmann/fix-nanorst-1.1
...
nanorst: add missing blank to exception message (1.1 bp)
2018-07-13 11:38:35 +02:00
Thomas Waldmann
223e739c0a
nanorst: add missing blank to exception message
...
(cherry picked from commit 0d06407087
)
2018-07-13 10:44:17 +02:00
TW
9db024c884
Merge pull request #3973 from ThomasWaldmann/fix-ext-version-check-1.1
...
fix logic bug in platform module API version check (1.1 bp)
2018-07-08 15:12:00 +02:00
Thomas Waldmann
5c71c4f990
fix logic bug in platform module API version check
...
(cherry picked from commit 2bb23f00af
)
2018-07-08 14:53:00 +02:00
TW
480e5402ba
Merge pull request #3966 from russelldavis/mac-docs-1.1
...
Update installation instructions for macOS (1.1 backport)
2018-07-07 20:02:32 +02:00
Russell Davis
3a27d29bea
Update installation instructions for macOS
...
- Updated `OS X` to the new `macOS` name
- Fuse 3.x is no longer just a prerelease
- Added instructions to install fuse via homebrew
2018-07-07 10:21:19 -07:00
TW
874e6b8971
Merge pull request #3958 from ThomasWaldmann/fix-acl-proto-1.1
...
acl platform code: fix acl set return type (1.1-maint)
2018-07-05 23:40:57 +02:00
Thomas Waldmann
30509b74b0
acl platform code: fix acl set return type (1.1-maint)
2018-07-05 22:55:17 +02:00
TW
59ba6f82be
Merge pull request #3950 from ThomasWaldmann/fix-xattr-ctypes
...
Fix xattr ctypes
2018-07-05 11:01:38 +02:00
Thomas Waldmann
71b02912c9
xattr: add linux {list,get,set}xattr ctypes prototypes
2018-07-03 22:32:37 +02:00
Thomas Waldmann
2d37c9d3f9
xattr: fix darwin flistxattr ctypes prototype
2018-07-03 22:29:35 +02:00
TW
f996986f44
Merge pull request #3940 from ThomasWaldmann/issue-3494
...
trying to debug #3494 on travis
2018-06-30 23:22:23 +02:00
Thomas Waldmann
2d490aa8c8
tests: trying to debug test fails on travis, #3494
...
- reordered code a little, so files are touched in different order
let's see if this changes anything.
- create_regular_file: giving size AND contents is not supported
the code did not create a 4096 bytes long file, but just a 1 byte
long file. adding an assertion to avoid unsupported usage.
2018-06-30 22:02:10 +02:00
TW
bed0e81e27
Merge pull request #3936 from ThomasWaldmann/less-random-1.1
...
tests: fetch less data via os.urandom
2018-06-29 18:01:10 +02:00
Thomas Waldmann
49b681dd11
tests: fetch less data via os.urandom
...
freebsd12 is unhappy with having to deliver 50MiB random in one go
and fails with BlockingIOError "temporary unavailable" when trying.
for test_lz4_buffer_allocation, it is good enough to fetch 5MiB and
concatenate that 10 times.
(cherry picked from commit acb15fd960
)
2018-06-29 13:46:41 +02:00
TW
3623cefc4f
Merge pull request #3929 from saurvs/doc_backport
...
docs: add link to tempfile module (backport)
2018-06-26 14:05:14 +02:00
lumbric
4f30330f40
docs: add link to tempfile module
...
Linking tempfile docs helps to figure out, which default value might be
used, if TMPDIR is not set.
(cherry picked from commit bbd1533c99
)
2018-06-26 12:56:06 +05:30
TW
39374182e9
Merge pull request #3924 from saurvs/shell_backport
...
Shell completions reflect latest changes (backport)
2018-06-23 19:59:05 +02:00
SanskritFritz
1db54b2c0d
Shell completions reflect latest changes
...
(cherry picked from commit 46a5db7de8
)
2018-06-23 22:33:09 +05:30
TW
058f545f59
Merge pull request #3920 from saurvs/diffdoc_backport
...
docs: improve diff doc (backport)
2018-06-22 20:33:09 +02:00
Philippe MIOSSEC
32dfdf5dcb
docs: improve diff doc
...
by better displaying the synthax that should be used
(ie `REPO::ARCHIVE1`)
(cherry picked from commit de25f1c3c7
)
2018-06-22 22:32:59 +05:30
TW
e619f373d3
Merge pull request #3888 from borgbackup/rel116
...
release 1.1.6
2018-06-11 13:07:59 +02:00
Thomas Waldmann
7bc7559282
build_man
2018-06-11 02:05:03 +02:00
Thomas Waldmann
7b6e5009b3
build_usage
2018-06-11 01:55:37 +02:00
Thomas Waldmann
795387c3c3
update CHANGES (1.1.6 release date)
2018-06-11 01:52:57 +02:00
TW
59e4ca24b4
Merge pull request #3887 from ThomasWaldmann/update-changes-1.1
...
update CHANGES (1.1-maint)
2018-06-11 01:05:31 +02:00
Thomas Waldmann
f81c974a3a
update CHANGES (1.1-maint)
2018-06-10 14:50:40 +02:00
TW
fe8b52fc87
Merge pull request #3880 from ThomasWaldmann/cat_config-1.1
...
borg config --list <repo>, fixes #3612 (1.1 backport)
2018-06-08 10:10:37 +02:00
Rémi Oudin
9a043251a9
borg config --list <repo>, fixes #3612
...
Add --list option to dump the repo configuration / the default values.
Also: fixes argument order in borg config tests
(cherry picked from commit 73410861ae
)
2018-06-08 08:46:10 +02:00
TW
f520ddbc16
Merge pull request #3873 from ThomasWaldmann/back-to-compression-libs
...
revert to using system compression libs, fixes #3797
2018-06-03 14:09:31 +02:00
Thomas Waldmann
66084c7234
revert to using system compression libs, fixes #3797
...
we temporarily used the updated, bundled lz4 and zstd code for testing
purposes, but now going back to using system provided libs by default.
2018-06-03 12:51:11 +02:00
Thomas Waldmann
b6d8a886f7
vagrant: fix ignore string
2018-06-02 22:32:29 +02:00
TW
797a90797e
Merge pull request #3872 from ThomasWaldmann/vagrant-fixes
...
Vagrant fixes / updates
2018-06-02 21:52:05 +02:00
Thomas Waldmann
c3d2315348
FUSE for macOS: upgrade 3.7.1 to 3.8.0
2018-06-02 21:27:44 +02:00
Thomas Waldmann
6f3a106b5e
Vagrantfile fixes
...
remove borgbackup.egg-info dir in fs_init (after rsync)
exclude macOS High Sierra upgrade on the darwin64 machine
2018-06-02 21:26:11 +02:00
TW
bff2a8256a
Merge pull request #3869 from ThomasWaldmann/review-progress-args
...
borg prune: improve progress display
2018-06-02 15:51:16 +02:00
TW
5f1e61f58a
Merge pull request #3871 from ThomasWaldmann/update-lz4-bundle
...
update bundled lz4 code
2018-06-02 15:28:00 +02:00