1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 18:28:42 +00:00
Commit graph

4069 commits

Author SHA1 Message Date
Lee Bousfield
3e24ed4035 Start fakeroot faked in debug mode 2017-05-04 00:18:17 -06:00
Marian Beermann
d32eadeb38 gitignore: complete paths for src/ excludes 2017-05-02 20:49:27 +02:00
Marian Beermann
a976e11a63 create crypto package with key, keymanager, low_level 2017-05-02 20:49:27 +02:00
Marian Beermann
956b50b29c move chunker to borg.algorithms 2017-05-02 19:15:01 +02:00
Marian Beermann
390aa76c72 move blake2 to borg/algorithms 2017-05-02 18:53:54 +02:00
Marian Beermann
fa381ffcbe create package borg.algorithms with borg.algorithms.crc32 module 2017-05-02 18:53:54 +02:00
TW
7c9a57bee5 Merge pull request #2471 from enkore/issue/2469
Move patterns to module
2017-05-01 23:37:19 +02:00
TW
f2d19a906f Merge pull request #2472 from enkore/f/docs-disable-smartypants
docs: disable smartypants
2017-05-01 23:33:00 +02:00
Marian Beermann
fcce0ca2bc docs: disable smartypants 2017-05-01 22:31:18 +02:00
Marian Beermann
ef4cdfacae patterns: use set literal instead of set([]) 2017-05-01 22:20:34 +02:00
Marian Beermann
c5e3232187 patterns: explicate translate source 2017-05-01 22:20:34 +02:00
Marian Beermann
580496b592 create patterns module 2017-05-01 22:20:33 +02:00
TW
edf3ee0056 Merge pull request #2468 from ThomasWaldmann/rel110b5
Release 1.1.0b5
2017-04-30 14:43:59 +02:00
Thomas Waldmann
b00700ae9d ran build_man 2017-04-30 01:32:26 +02:00
Thomas Waldmann
3c279dbf78 ran build_usage 2017-04-30 01:31:20 +02:00
Thomas Waldmann
78c455c31f update CHANGES (release date) 2017-04-30 01:29:17 +02:00
TW
c1ea46e1d1 Merge pull request #2466 from ThomasWaldmann/update-changes
update CHANGES
2017-04-30 01:24:41 +02:00
Thomas Waldmann
a5ccaf62f8 update CHANGES 2017-04-30 01:03:39 +02:00
enkore
65bdeb47ca Merge pull request #2404 from ThomasWaldmann/limit-y2038
embrace y2038 issue to support 32bit platforms
2017-04-29 23:36:18 +02:00
enkore
cb67d1359e Merge pull request #2460 from ThomasWaldmann/benchmark-minor-fix
fix invalid param issue in benchmarks
2017-04-29 11:10:00 +02:00
Thomas Waldmann
d949d6bc7c fix invalid param issue in benchmarks
fixes CID1431887
2017-04-29 03:00:59 +02:00
enkore
c43cfb708f Merge pull request #2432 from ThomasWaldmann/beyond-repair
more clear exception if borg check does not help, fixes #2427
2017-04-28 16:06:54 +02:00
enkore
6109d223ee Merge pull request #2443 from ThomasWaldmann/verify-data-defect-chunk-processing
verify_data: fix IntegrityError handling for defect chunks, fixes #2442
2017-04-28 10:50:23 +02:00
enkore
c1b128eb14 Merge pull request #2445 from ThomasWaldmann/update-docs3
Update docs
2017-04-28 10:49:57 +02:00
enkore
0021368163 Merge pull request #2447 from ThomasWaldmann/update-docs4
Update docs
2017-04-28 10:49:35 +02:00
enkore
c49fb93999 Merge pull request #2453 from enkore/f/bla
docs fixes
2017-04-28 10:40:58 +02:00
Marian Beermann
e036ebc340 docs: installation: pre-install considerations, fix crossrefs
posix_fadvise -> only used when available; not part of the filesystem.
sync -> fsync
2017-04-28 10:40:21 +02:00
Marian Beermann
e8b74fcac3 docs: faq: fix title underlines 2017-04-28 10:39:32 +02:00
TW
5a7c269d89 Merge pull request #2451 from ThomasWaldmann/update-osxfuse
upgrade FUSE for macOS to 3.5.8, fixes #2346
2017-04-28 06:01:42 +02:00
TW
6bcf6b6779 Merge pull request #2450 from wolfpackmars2/patch-1
Fix formatting in pre-installation section
2017-04-28 04:47:32 +02:00
Steve Groesz
ff4120184c Fix formatting in pre-installation section
Some documentation was improperly formatted with #2392. This corrects those errors.
2017-04-26 22:25:15 -05:00
Thomas Waldmann
5ffb66fdd5 upgrade FUSE for macOS to 3.5.8, fixes #2346 2017-04-27 01:34:53 +02:00
Thomas Waldmann
ba20d8d131 document borg init behaviour via append-only borg serve, fixes #2440 2017-04-26 03:16:12 +02:00
Thomas Waldmann
bf69b049e9 be clear about what buzhash is used for, fixes #2390
and want it is not used for (deduplication).

also say already in the readme that we use a cryptohash
for dedupe, so people don't worry.
2017-04-25 23:38:55 +02:00
Thomas Waldmann
f0188449c3 add hint about chunker params to borg upgrade docs, fixes #2421 2017-04-25 22:47:18 +02:00
Thomas Waldmann
ca6257dd48 clarify borg upgrade docs, fixes #2436 2017-04-25 22:21:58 +02:00
Thomas Waldmann
28b0700437 verify_data: fix IntegrityError handling for defect chunks, fixes #2442
just getting data from the repo can already raise IntegrityErrors
in LoggedIO, so we need to catch them also.

see also the code a few lines above where this is done in the same way.
2017-04-25 15:48:16 +02:00
Thomas Waldmann
de76a6b821 embrace y2038 issue to support 32bit platforms 2017-04-24 18:50:33 +02:00
TW
6f47b797f9 Merge pull request #2322 from edgimar/master
allow excluding parent and including child, fixes #2314
2017-04-23 12:58:10 +02:00
Steve Groesz
3eb3e31a8c FAQ to explain warning when running --repair (#2393)
FAQ to explain warning when running --repair, fixes #2341
2017-04-23 12:52:44 +02:00
Steve Groesz
605f281b37 Document repository file system requirements
#2080
2017-04-23 12:48:28 +02:00
Thomas Waldmann
697942cd01 be more clear that this is a "beyond repair" case, fixes #2427 2017-04-20 19:54:45 +02:00
TW
bc3bc1a79c Merge pull request #2408 from ThomasWaldmann/update-changes-master
update CHANGES (master)
2017-04-20 14:20:19 +02:00
enkore
b32b7b4475 Merge pull request #2431 from enkore/issue/2430
platform.linux: get rid of "resource" module
2017-04-19 11:51:19 +02:00
Marian Beermann
7b519e4769 platform.linux: get rid of "resource" module 2017-04-19 11:31:40 +02:00
enkore
e40c005b88 Merge pull request #2420 from rugk/patch-1
Add --one-file-system note for root backup
2017-04-15 14:27:41 +02:00
rugk
5ddf7e7922 Add --one-file-system note for root backup 2017-04-15 12:38:58 +02:00
Mark Edgington
798127f636 allow excluding parent and including child, fixes #2314
This fixes the problem raised by issue #2314 by requiring that each root
subtree be fully traversed.

The problem occurs when a patterns file excludes a parent directory P later
in the file, but earlier in the file a subdirectory S of P is included.
Because a tree is processed recursively with a depth-first search, P is
processed before S is.  Previously, if P was excluded, then S would not even
be considered.  Now, it is possible to recurse into P nonetheless, while not
adding P (as a directory entry) to the archive.

With this commit, a `-` in a patterns-file will allow an excluded directory
to be searched for matching descendants.  If the old behavior is desired, it
can be achieved by using a `!` in place of the `-`.

The following is a list of specific changes made by this commit:

 * renamed InclExclPattern named-tuple -> CmdTuple (with names 'val' and 'cmd'), since it is used more generally for commands, and not only for representing patterns.
 * represent commands as IECommand enum types (RootPath, PatternStyle, Include, Exclude, ExcludeNoRecurse)
 * archiver: Archiver.build_matcher() paths arg renamed -> include_paths to prevent confusion as to whether the list of paths are to be included or excluded.
 * helpers: PatternMatcher has recurse_dir attribute that is used to communicate whether an excluded dir should be recursed (used by Archiver._process())
 * archiver: Archiver.build_matcher() now only returns a PatternMatcher instance, and not an include_patterns list -- this list is now created and housed within the PatternMatcher instance, and can be accessed from there.
 * moved operation of finding unmatched patterns from Archiver to PatternMatcher.get_unmatched_include_patterns()
 * added / modified some documentation of code
 * renamed _PATTERN_STYLES -> _PATTERN_CLASSES since "style" is ambiguous and this helps clarify that the set contains classes and not instances.
 * have PatternBase subclass instances store whether excluded dirs are to be recursed.  Because PatternBase objs are created corresponding to each +, -, ! command it is necessary to differentiate - from ! within these objects.
 * add test for '!' exclusion rule (which doesn't recurse)
2017-04-12 12:06:18 -04:00
Thomas Waldmann
ca95516540 update CHANGES (master) 2017-04-09 21:20:58 +02:00
TW
9ae4bf023e Merge pull request #2188 from rciorba/hashindex_test
add extra test for the hashindex
2017-04-09 20:47:00 +02:00