1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 17:27:31 +00:00
Commit graph

5222 commits

Author SHA1 Message Date
Emmo Emminghaus
e5c22eac0d remove accidental change 2018-11-10 23:39:28 +01:00
Emmo Emminghaus
733a2bfa30 Introduce borg.platformflags.is_<os> 2018-11-10 23:34:43 +01:00
Emmo Emminghaus
973921df5a remove unneded code and remarks, added needed except clause 2018-11-10 21:56:39 +01:00
Emmo Emminghaus
558ca61d20 remove posix issues and fixup for unsupported methodes 2018-11-10 21:48:46 +01:00
Emmo Emminghaus
b997d5ba5b move code from borg.helpers.usergroup to borg.platform.posix 2018-11-10 21:43:45 +01:00
motwok
78a3f2475e Basic MSC Compatibility (#4147)
MSC Compatibility (Native Compile on Windows)
2018-11-03 18:52:54 +01:00
TW
08a03126b7
Merge pull request #4127 from motwok/master
c code portability fixes: issue #2677 and 2 more
2018-11-02 20:13:20 +01:00
Emmo Emminghaus
b2c3bc4d9e removing accidental change 2018-11-02 14:10:23 +01:00
James Vasile
806d937c2e 4081 - Add note about files changing during backup (#4116)
Add note about files changing during backup
2018-11-01 21:11:05 +01:00
TW
712a02c32b
Merge pull request #4143 from step21/master
Fixed links to cachedir spec in docs and code, fixes #4140
2018-10-31 15:22:14 +01:00
step21
19c269cdcf Fixed link to cachedir spec in fs helper to address #4140 2018-10-31 14:05:49 +01:00
step21
0c99aee724 Fixed link to cachedir spec in docs to address #4140 2018-10-31 13:57:08 +01:00
TW
44d41e3fa6
Merge pull request #4142 from step21/master
Explicitly convert environment variable to str to address #4136
2018-10-31 13:48:13 +01:00
step21
0d26ad3661 Explicitly convert environment variable to str to address #4136 2018-10-31 09:41:02 +01:00
TW
c1380e4bb3
Merge pull request #4141 from step21/master
Moving the flags of the compiled regex to the front, fixes #4137
2018-10-31 08:54:48 +01:00
step21
47490c79be Moving the flags of the compiled regex to the front to fix #4137 2018-10-31 07:56:16 +01:00
motwok
6fde90b7f8
Merge pull request #1 from borgbackup/master
Update form upstream to fork
2018-10-29 21:39:01 +01:00
TW
1183ea91fa
Merge pull request #4135 from ThomasWaldmann/flake8
fixing the issues discovered by flake 3.6.0
2018-10-29 15:39:13 +01:00
Thomas Waldmann
64a53ba43a fixup: the help text is parsed as rst markup, so a lone * is an error
* and ** are interpreted as emphasis and need to be matched for begin
and end of emphasis. the \ in front of it is to get a non-markup *.
2018-10-29 13:53:40 +01:00
Thomas Waldmann
b0afc6709b flake8: use separate lines for different classes of flake8 ignores 2018-10-29 12:36:07 +01:00
Thomas Waldmann
5c66a60f79 flake8: fix W605 (invalid escape sequences) 2018-10-29 12:36:07 +01:00
Thomas Waldmann
10cdadb2f8 flake8: fix F841 2018-10-29 12:36:03 +01:00
Thomas Waldmann
fc4a7bc0c9 flake8: disable the new checks of flake8 3.6 for now 2018-10-29 12:35:12 +01:00
Emmo Emminghaus
718abfd6f8 cleanup void * in _hashindex.c (2nd) 2018-10-27 17:45:10 +02:00
Emmo Emminghaus
9d1276af04 cleanup void * in _hashindex.c 2018-10-27 17:34:25 +02:00
Emmo Emminghaus
f8ef6af454 hashindex: clean void* arithmetic up #2677
lowlevel: clean void* arithmetic up
unpack: repalce nonstandard false with 0
2018-10-24 21:40:05 +02:00
TW
62de891ada
Merge pull request #4091 from m3nu/master
Add argument storage_quota to forced_result. Avoids override by client.
2018-10-03 17:33:29 +02:00
Manu
93b968cc35 Add argument storage_quota to forced_result. Avoids override by client. 2018-10-02 17:28:29 +08:00
TW
d28d40272c
Merge pull request #4080 from steelman/borg-passphrase-fd
read a passphrase from a file descriptor
2018-09-21 20:53:09 +02:00
Łukasz Stelmach
548355125e read a passphrase from a file descriptor
Read a passpharase from a file descriptor specified in the
BORG_PASSPHRASE_FD environment variable.
2018-09-21 09:11:39 +02:00
TW
3e560411c0
Merge pull request #4063 from audeoudh/master
Forward the `format_spec` to `datetime` class
2018-08-29 15:36:46 +02:00
Henry-Joseph Audéoud
b66533170a Forward the format_spec to datetime class
If specified, the argument `format_spec` is forwarded from the method
`OutputTimestamp.__format__` to the method `format_time` method.  Thus,
we are able to specify the format, in a way supported by the class
`datetime`.

The default behaviour of `format_time` is not affected.  The other parts
of code that does not provide a `format_spec` are not affected by the
change.
2018-08-29 14:00:57 +02:00
TW
0d843a33f5
Merge pull request #4036 from ThomasWaldmann/osxfuse382-master
vagrant: use osxfuse 3.8.2
2018-08-11 14:33:01 +02:00
Thomas Waldmann
8b61f21c29 vagrant: use osxfuse 3.8.2 2018-08-11 14:31:01 +02:00
TW
a90f024481
Merge pull request #4027 from newtonne/fix-man-table
Remove row/column-spanning from docs source, fixes #4000
2018-08-09 23:34:49 +02:00
newtonne
11a2f1f684 Remove row/column-spanning from docs source, fixes #4000
Sphinx doesn't support row or column-spanning, which caused the content
of the additional features table to be incorrect. To fix this, we now
define the content of each cell explicitly.

This change also fixes #3990.
2018-08-09 20:38:46 +01:00
TW
e175f8ea53
Merge pull request #4024 from ThomasWaldmann/travis-cleanups
travis: reorder envs, add 3.7-dev
2018-08-09 15:18:44 +02:00
TW
708a65a0b5
Merge pull request #4022 from ThomasWaldmann/finding-pieces-master
some more debug commands (master forward port)
2018-08-09 09:43:57 +02:00
Thomas Waldmann
876d466c55 travis: reorder envs, add 3.7-dev
also remove quotes around version number, not needed for 3.7.
2018-08-09 09:17:57 +02:00
TW
464b604b52
Merge pull request #4016 from ThomasWaldmann/init-warning
init: add warning to store both key and passphrase at safe place(s)
2018-08-09 09:01:55 +02:00
Thomas Waldmann
eebc33a281 dump-repo-objs: filename layout improvements
(cherry picked from commit 24812b0317)
2018-08-09 08:29:46 +02:00
Thomas Waldmann
d6cb39a6d6 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".

(cherry picked from commit 8738e85967)
2018-08-09 08:29:34 +02:00
Thomas Waldmann
a3a15ddf57 use repository.scan() for dump-repo-objs to get on-disk order
it is also more efficient, avoids random access.

(cherry picked from commit 2b7d65b024)
2018-08-09 08:29:24 +02:00
Thomas Waldmann
9445b00408 implement borg debug search-repo-objs searchterm
(cherry picked from commit c2ed0d9ee0)
2018-08-09 08:29:11 +02:00
Thomas Waldmann
4b31ad123f init: add warning to store both key and passphrase at safe place(s) 2018-08-09 07:25:49 +02:00
TW
a350dd8f3e
Merge pull request #3943 from ThomasWaldmann/wrap-msgpack
wrap msgpack to avoid api troubles
2018-08-06 18:11:49 +02:00
TW
d66c0d9eb0
Merge pull request #4011 from ThomasWaldmann/remove-zeromq
remove zeromq or python 3.5 references
2018-08-06 17:56:09 +02:00
TW
7c8ff1f699
Merge pull request #4012 from ThomasWaldmann/py37-setup-metadata
add python 3.7 to pypi metadata
2018-08-06 17:55:18 +02:00
Thomas Waldmann
8a09f26712 remove zeromq or python 3.5 references 2018-08-06 17:52:08 +02:00
Thomas Waldmann
751cd2caed add python 3.7 to pypi metadata 2018-08-06 17:48:27 +02:00