Commit Graph

5163 Commits

Author SHA1 Message Date
Milkey Mouse 09beb64f34
Add quickstart introduction to repositories & archives (fixes #3620) 2018-03-10 17:19:46 -08:00
Milkey Mouse 4098f0f05c
Set previous_location on load instead of save
This caused a really stupid bug with borg config --cache, see
https://github.com/borgbackup/borg/issues/3304#issuecomment-371896766
2018-03-10 16:52:42 -08:00
TW b812472f36
Merge pull request #3674 from ThomasWaldmann/cache-config-validation
borg config --cache: allow validated access to previous_location
2018-03-10 15:51:05 +01:00
TW 646c0ea117
Merge pull request #3681 from ThomasWaldmann/fixup-recreate-progress-broken
fix borg recreate --progress (broken by previous commit)
2018-03-10 15:47:17 +01:00
Thomas Waldmann f979349f07 fix borg recreate --progress (broken by previous commit)
fixup for cb7887836a
2018-03-10 15:41:01 +01:00
Rémi Oudin cb7887836a Fix --progress option. (#3557)
Fix --progress option, fixes #3431
2018-03-10 15:11:08 +01:00
Thomas Waldmann 451b22ee51 docs: extend append-only repo rollback docs, fixes #3579 2018-03-09 23:27:31 +01:00
Thomas Waldmann 9b73d31a40 docs: clarify path semantics when matching, fixes #3598 2018-03-09 22:57:37 +01:00
Thomas Waldmann cf72c9592c docs: add an example for --pattern usage, fixes #3661 2018-03-09 21:37:06 +01:00
Thomas Waldmann 99be106bc8 docs: improve logging docs, fixes #3549 2018-03-09 20:44:20 +01:00
Thomas Waldmann 7bc2138dcb quickstart: add note about permissions, borg@localhost, fixes #3452 2018-03-09 20:01:38 +01:00
TW 1473ea708c
Merge pull request #3526 from borgbackup/enkore-patch-1
sec docs: explicitly note what happens OUTSIDE the attack model
2018-03-09 18:49:32 +01:00
Thomas Waldmann c0f56ed039 recreate --recompress: add metavar, clarify description 2018-03-09 18:33:15 +01:00
Thomas Waldmann be8913a93c security docs: add about combining compression and encryption 2018-03-09 18:02:57 +01:00
Thomas Waldmann 810986f0f5 borg config --cache: allow validated access to previous_location 2018-03-09 17:27:30 +01:00
TW fcf4145222
Merge pull request #3673 from tschwinge/mark-up-unicode-string
Mark up Unicode string
2018-03-09 16:46:37 +01:00
Thomas Schwinge 2458035057 Mark up Unicode string
Running Sphinx v1.4.8
    WARNING: the config value 'copyright' is set to a string with non-ASCII characters; this can lead to Unicode errors occurring. Please use Unicode strings, e.g. u'Content'.
    [...]
    Encoding error:
    'ascii' codec can't decode byte 0xc3 in position 23: ordinal not in range(128)
2018-03-08 11:37:45 +01:00
TW 3e2d5b2b22
Merge pull request #3581 from ThomasWaldmann/borg-config-validation
borg config: add some validation, fixes #3566
2018-03-05 23:40:12 +01:00
TW 763d12c6b8
Merge pull request #3669 from ThomasWaldmann/issue-3551
fix borgfs patterns/paths processing, fixes #3551
2018-03-05 23:39:25 +01:00
TW 814c44de5a
Merge pull request #3666 from ThomasWaldmann/secure-erase-msg
be more clear in secure-erase warning message, fixes #3591
2018-03-05 21:44:45 +01:00
Thomas Waldmann 0e0e6da585 make sure all segment file offsets fit into uint32, fixes #3592
C code and the repo index use uint32 type for segment file offsets,
so when opening a repo and the config max_segment_size is too big,
fail early.

Also disallow setting a too big value via "borg config".
2018-03-05 17:50:53 +01:00
Thomas Waldmann 2d637d8ead borg config: add some validation, fixes #3566
only a few basic checks, it does not prevent all stupidities.
2018-03-05 17:50:06 +01:00
Thomas Waldmann df9020389c fix borgfs patterns/paths processing, fixes #3551
Just checking for None in patterns.py (and removing the set_defaults
calls in archiver.py) did not work as other arg parsing code relies on
having an empty list (in .patterns, .paths) to append to.

Thus I stayed away from pattern.py and rather fixed the defaults for
.paths and .patterns in all parsers.
2018-03-05 17:02:49 +01:00
Thomas Waldmann fe65ccf95a be more clear in secure-erase warning message, fixes #3591 2018-03-05 15:21:17 +01:00
TW 5ab5fdf821
Merge pull request #3662 from ThomasWaldmann/pattern-parsing
be more helpful when parsing invalid --pattern values
2018-03-05 15:16:59 +01:00
TW 35df0ab532
Merge pull request #3665 from anowlcalledjosh/docs-formatting
Improve formatting of GPG output in documentation
2018-03-05 14:33:19 +01:00
Josh Holland 9f2f4132ec
Improve formatting of GPG output in documentation 2018-03-05 13:21:20 +00:00
TW b862c15691
Merge pull request #3663 from ThomasWaldmann/fix-compiler-warning
make the C compiler happy, fixes #3490
2018-03-03 19:50:07 +01:00
Thomas Waldmann b2ffb8bd65 make the C compiler happy, fixes #3490
fix a false positive compiler warning about olen being referenced
before assignment (which is not true, see comments in #3490).
2018-03-03 04:07:25 +01:00
Thomas Waldmann f5ba0fc649 be more helpful when parsing invalid --pattern values
say what the real problem is.
say what is valid.
2018-03-03 03:08:20 +01:00
TW 05ddba385a
Merge pull request #3658 from dragetd/draget-patch1_doc
Add docs on how to verify a signed release
2018-03-02 22:01:17 +01:00
Michael Gajda 74a3058abc Add docs on how to verify a signed release
Short howto on using gpg to verify a signed binary release.
Fixes #3634
2018-03-02 21:40:42 +01:00
TW 8a4d32a4ae
Merge pull request #3636 from jesferman/master
[Docs] Update quickstart.rst to fix typo
2018-02-27 12:54:46 +01:00
TW 935a768ff8
Merge pull request #3633 from ThomasWaldmann/fix-modified-status
fix borg create never showing M status
2018-02-26 11:10:43 +01:00
Thomas Waldmann 4e0f369d0a fix borg create never showing M status
the problem was that the upper layer code did not have enough information
about the file, whether it is known or not - and thus, could not decide
correctly whether status should be M)odified or A)dded.

now, file_known_and_unchanged method returns an additional "known"
boolean to fix this.

also: add comment about files cache loading in cache_mode='r'
2018-02-26 11:07:20 +01:00
Jesus Fernandez Manzano 3a0ae9c7f3
[Docs] Update quickstart.rst to fix typo 2018-02-26 10:58:31 +01:00
TW 1922ae3242
Merge pull request #3607 from ThomasWaldmann/fix-zstd-testing
fix erroneously skipped zstd compressor tests, fixes #3606
2018-02-10 21:49:39 +01:00
Thomas Waldmann 246a8d57ee fix erroneously skipped zstd compressor tests, fixes #3606 2018-02-10 20:10:21 +01:00
TW 24b0bcb461
Merge pull request #3589 from Gu1nness/docs
A few documentation fixes for Documentation issue 19
2018-02-10 11:31:19 +01:00
TW 8cdfe87202
Merge pull request #3604 from ThomasWaldmann/travis-no-brew-update
Revert "travis osx: run brew update first, fixes #3527"
2018-02-08 23:58:44 +01:00
Thomas Waldmann e6316727db Revert "travis osx: run brew update first, fixes #3527"
This reverts commit e4828078bb.
2018-02-08 22:50:33 +01:00
TW 288806e668
Merge pull request #3600 from SanskritFritz/master
Using spaces instead of tabs for indentation
2018-02-08 22:28:12 +01:00
SanskritFritz 6e11ae1da2 Using spaces instead of tabs for indentation. 2018-02-06 20:59:04 +01:00
TW 181da5615e
Merge pull request #3596 from balvik/master
Fixed tab completion problem in Bash
2018-02-06 09:47:37 +01:00
Viktor Bale a08be8d4c5 Fixed tab completion problem where a space is always added after path even when it shouldn't 2018-02-05 20:43:29 +01:00
Rémi Oudin 862d1dfb0f Link to offline documentation
Add a link to the offline documentation in README.rst.
Refers https://github.com/borgbackup/borg/issues/3502
2018-02-03 17:34:45 +01:00
Rémi Oudin 88972d7d81 Better formatting of CPU usage documentation
This is now displayed as a list, with bold fonts for each bullet.
Refers https://github.com/borgbackup/borg/issues/3554
2018-02-03 17:34:45 +01:00
TW cbda4c615e
Merge pull request #3580 from ThomasWaldmann/check-hdrs-binary
do .h file content checks in binary mode, fixes #3544
2018-01-29 17:50:40 +01:00
Thomas Waldmann 9cf8d57f51 do .h file content checks in binary mode, fixes #3544
we can't know the encoding header file authors will use,
so using binary for our simple checks is the safest way.
2018-01-27 19:49:42 +01:00
TW 44e5365de8
Merge pull request #3578 from leo-b/master-logging
add chunker_params to archive info (at least to json output) (PR against master)
2018-01-27 19:27:28 +01:00