1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-15 19:06:38 +00:00
Commit graph

4205 commits

Author SHA1 Message Date
Marian Beermann
501859ca33 docs: less bothersome experimental stripes 2017-06-11 20:46:53 +02:00
Marian Beermann
25bee21253 docs: deployment: Automated backups to a local hard drive 2017-06-11 20:46:53 +02:00
enkore
de00d9d822 Merge pull request #2602 from enkore/pr/2134.docs
internals: rewrite manifest & feature flags
2017-06-11 12:29:12 +02:00
Marian Beermann
bffcc60f90 docs: internals: feature flags typos, clarifications 2017-06-11 12:28:37 +02:00
enkore
a7fb74dbb1 Merge pull request #2657 from enkore/issue/2656
cache sync: move assert() behind declarations
2017-06-11 11:43:41 +02:00
Marian Beermann
49ca3dca33 cache sync: move assert() behind declarations 2017-06-11 11:42:39 +02:00
textshell
86363dcd4b Merge pull request #2648 from textshell/feature/mandatory-features-master
Add minimal version of in repository mandatory feature flags. (master)
2017-06-10 17:50:28 +02:00
enkore
33a7331bda Merge pull request #2643 from enkore/f/experimental-patterns
mark --pattern, --patterns-from as experimental
2017-06-10 17:15:22 +02:00
enkore
13f396d5ad Merge pull request #2638 from enkore/f/fastcachesync-minify
Compact chunks.archive.d
2017-06-10 17:13:25 +02:00
enkore
d06ee5648c Merge pull request #2572 from enkore/f/fastcachesync
Improve cache sync speed
2017-06-10 17:12:51 +02:00
Marian Beermann
4cd1cc6a28 docs: correct create exclude comment 2017-06-10 12:06:18 +02:00
enkore
a5ff8669ff Merge pull request #2649 from rugk/docs-re
Remove re docs
2017-06-10 12:04:37 +02:00
rugk
4987c04e5b
Remove re docs
Fixes https://github.com/borgbackup/borg/issues/2458
2017-06-10 11:57:06 +02:00
Martin Hostettler
e63808a63f Add tests for cache compatibility code. 2017-06-10 11:43:33 +02:00
Martin Hostettler
b8ad8b84da Cache: Wipe cache if compatibility is not sure
Add detection of possibly incompatible combinations
of the borg versions maintaining the cache and the featues used.
2017-06-10 11:42:48 +02:00
Martin Hostettler
005068dd6d Improve robustness of monkey patching borg.constants.PBKDF2_ITERATIONS. And add lots of warnings. 2017-06-10 11:42:42 +02:00
Marian Beermann
5cab72035a mark --pattern, --patterns-from as experimental 2017-06-10 10:29:02 +02:00
Marian Beermann
827c478500 nanorst for "borg help TOPIC" 2017-06-10 10:29:02 +02:00
Marian Beermann
0e31f78dd6 cache sync: avoid "l" and such as a variable name, note vanilla changes 2017-06-10 10:17:28 +02:00
Marian Beermann
5eb43b8464 cache sync: give overview of the source's structure 2017-06-10 10:17:28 +02:00
Marian Beermann
310a71e4f0 cache sync: use ro_buffer to accept bytes, memoryview, ... 2017-06-10 10:17:28 +02:00
Martin Hostettler
1176a1c4e4 permit manifest version 2 as well 1 one. 2017-06-09 23:22:18 +02:00
Martin Hostettler
193e8bcaef Add tests for mandatory repository feature flags. 2017-06-09 23:20:07 +02:00
Martin Hostettler
fd0250d34a Add minimal version of in repository mandatory feature flags.
This should allow us to make sure older borg versions can be cleanly
prevented from doing operations that are no longer safe because of
repository format evolution. This allows more fine grained control than
just incrementing the manifest version. So for example a change that
still allows new archives to be created but would corrupt the repository
when an old version tries to delete an archive or check the repository
would add the new feature to the check and delete set but leave it out
of the write set.

This is somewhat inspired by ext{2,3,4} which uses sets for
compat (everything except fsck), ro-compat (may only be accessed
read-only by older versions) and features (refuse all access).
2017-06-09 23:13:31 +02:00
enkore
9bc00f01aa Merge pull request #2641 from Gelma/master
Fix typos
2017-06-09 16:59:42 +02:00
Andrea Gelmini
e4247cc0d2 Fix typos 2017-06-09 16:49:30 +02:00
Marian Beermann
13fe802713 docs: deployment: hosting repositories 2017-06-09 16:08:47 +02:00
Marian Beermann
c5d2c7c799 docs: split deployment 2017-06-09 16:00:46 +02:00
enkore
7d400a3f46 Merge pull request #2639 from enkore/docs/experimental
docs: highlight experimental features in online docs
2017-06-09 15:09:59 +02:00
Marian Beermann
3664adb95d docs: highlight experimental features in online docs 2017-06-09 14:19:55 +02:00
Marian Beermann
1d5d50463c hashindex_compact: use memmove for possibly overlapping copy 2017-06-09 12:23:27 +02:00
Marian Beermann
a75bfae2cf testsuite: Corruption test_chunks_archive, adapt for .compact 2017-06-09 12:23:27 +02:00
Marian Beermann
92a01f9d6c cache sync: fix incorrect .integrity location for .compact 2017-06-09 12:23:27 +02:00
Marian Beermann
3789459a41 cache sync: extract read_archive_index function 2017-06-09 12:23:26 +02:00
Marian Beermann
09a9d892cf cache sync: convert existing archive chunks idx to compact 2017-06-09 12:23:26 +02:00
Marian Beermann
295ac86d71 testsuite: hashindex: test compact -> merge 2017-06-09 12:23:26 +02:00
Marian Beermann
1379af22de HashIndexCompactTestCase 2017-06-09 12:23:26 +02:00
Marian Beermann
6e011b9354 cache: compact hashindex before writing to chunks.archive.d 2017-06-09 12:23:26 +02:00
TW
eeaeaf9e12 Merge pull request #2634 from ThomasWaldmann/cygwin
enable remote tests on cygwin
2017-06-09 00:08:01 +02:00
enkore
554ac7455e Merge pull request #2636 from enkore/issue/2634
hashindex: Cython defines PY_SSIZE_T_CLEAN
2017-06-08 17:39:43 +02:00
Marian Beermann
b75c214af5 hashindex: Cython defines PY_SSIZE_T_CLEAN 2017-06-08 15:16:52 +02:00
enkore
6add4daa54 Merge pull request #2635 from borgbackup/enkore-patch-1
gitattributes: docs/usage/*.rst.INC merge=ours
2017-06-08 13:11:58 +02:00
enkore
63d94cd14b gitattributes: docs/usage/*.rst.INC merge=ours 2017-06-08 13:11:49 +02:00
enkore
524e0b5322 docs: development: vagrant, windows10 requirements 2017-06-08 12:27:16 +02:00
Thomas Waldmann
4766d66875 enable remote tests on cygwin
the cygwin issue that caused these tests to break was fixed in cygwin
at least since cygwin 2.8.0 (maybe even since 2.7.0).

also added a comment to our workaround (os_write wrapper, that is needed
still for people running older cygwin versions) that it can be removed
when cygwin 2.8.0 is considered ancient (and everybody has upgraded to
some fixed version).
2017-06-08 02:23:57 +02:00
enkore
19c8adb109 Merge pull request #2632 from enkore/docs/nanorst
nanorst for --help
2017-06-08 02:00:55 +02:00
enkore
b0e4c432a5 Merge pull request #2633 from enkore/precise-pangolin
borg.algorithms definition
2017-06-08 00:19:38 +02:00
Marian Beermann
5b9c34f523 borg.algorithms definition 2017-06-07 23:53:19 +02:00
Marian Beermann
3f8a0221ee Revert "move chunker to borg.algorithms"
This reverts commit 956b50b29c.

# Conflicts:
#	setup.py
#	src/borg/archive.py
#	src/borg/helpers.py
2017-06-07 23:51:42 +02:00
Marian Beermann
1cf031045c nanorst for --help 2017-06-07 18:16:11 +02:00