Commit Graph

4813 Commits

Author SHA1 Message Date
Thomas Waldmann e3cb7c3c32 docs: document good and problematic option placements, see #3356 2017-11-25 19:46:48 +01:00
Thomas Waldmann f2a1539f25 docs: fix examples with problematic option placements, fixes #3356
have options to the left OR to the right of all positional arguments,
but not on BOTH sides and not in between them.
2017-11-25 19:29:34 +01:00
TW f45acbb908
Merge pull request #3366 from ThomasWaldmann/create-tuning-options
docs: point out tuning options for borg create, fixes #3239
2017-11-25 15:27:27 +01:00
Thomas Waldmann 520a6a2ef1 docs: point out tuning options for borg create, fixes #3239 2017-11-25 15:21:43 +01:00
TW 4835dce913
Merge pull request #3363 from ThomasWaldmann/update-usage-man
update usage / man
2017-11-25 14:53:35 +01:00
Thomas Waldmann ef8217afc9 build_man (master)
also: git add borgfs.1
2017-11-25 14:38:04 +01:00
Thomas Waldmann 73fac09dda build_usage (master)
also: add new borgfs.rst.inc
2017-11-25 14:35:52 +01:00
TW b9b5c1d25e
Merge pull request #3355 from ThomasWaldmann/package-data
clean up and simplify packaging
2017-11-25 14:25:13 +01:00
Thomas Waldmann feb428b4e0 clean up and simplify packaging
1.1.2 was released with a sdist that included quite some files that
did not belong into the package (I tried nuitka at some time).

This was because the old MANIFEST.in / setup.py included all the stuff
in the package dir.

Now, setuptools_scm is to automatically deal with the INCLUDES and
MANIFEST.in only handles the EXCLUDES, so only committed files get
into the sdist (minus some we do not want).

Also, no .c .h .pyx files will be installed - they are not needed as
they have been compiled into binary files.
2017-11-25 13:48:46 +01:00
Michael Rupert 71fbac94fb Moved Support to .org (#3360)
docs: moved support options to www.borgbackup.org
2017-11-25 03:15:18 +01:00
TW c5dc75ae23
Merge pull request #3312 from milkey-mouse/borg-config-cmd
Add borg config command
2017-11-24 16:56:15 +01:00
Milkey Mouse 1e520203cb
Fix borg config flake8 failures
Suppressed E731 so lambdas can be assigned to vars
2017-11-23 14:54:53 -08:00
Milkey Mouse 5b47cf6fa5
Add borg config command (fixes #3304)
This command works similarly to "git config" - it parses repo and
cache configs to get, set, and delete values. It only works on local
repos so a malicious client can't e.g. override their storage quota
or reset the append_only flag.

Add tests for borg config

Add documentation for borg config

Change manual config edits -> borg config

There were a couple places in the documentation where it was advised
to edit the repository or cache config file, a process that is stream-
lined by borg config.
2017-11-23 14:51:54 -08:00
TW afc84cafd4
Merge pull request #3300 from ThomasWaldmann/mount-options
borg mount: support exclusion group options and paths, fixes #2138
2017-11-23 22:43:39 +01:00
TW 483d3e8a8b
Merge pull request #3292 from milkey-mouse/document-ntfsclone
Add instructions for using ntfsclone
2017-11-23 22:07:15 +01:00
Milkey Mouse c0edc60ca6
Move image backup-related FAQ entries to a new page 2017-11-23 12:14:35 -08:00
Milkey Mouse d1e327914b Clarify key aliases for borg list --format (#3346)
clarify key aliases for borg list --format, fixes #3111
2017-11-22 17:25:49 +01:00
Thomas Waldmann caece370b8 borg mount: support --consider-part-files correctly, fixes #3347 2017-11-22 15:08:08 +01:00
Thomas Waldmann e97deafb16 borg mount: support hardlinks correctly, add tests
previous commit did not yet support hardlinks correctly, if the
hardlink master was excluded somehow.

added some tests for this, also refactored related tests slightly.
2017-11-21 15:39:47 +01:00
Thomas Waldmann 77df1cfe8c borg mount: support exclusion group options and paths, fixes #2138
borg mount [options] repo_or_archive mountpoint path [paths...]

paths: you can just give some "root paths" (like for borg extract) to
only partially populate the FUSE filesystem.

Similar for these exclusion group options:
--exclude
--exclude-from
--pattern
--patterns-from
--strip-components
2017-11-21 15:38:09 +01:00
Milkey Mouse 759c8f77cf Mention break-lock in checkpointing FAQ entry (#3340)
Mention break-lock in checkpointing FAQ entry, fixes #3328
2017-11-20 23:18:37 +01:00
TW 8e82afe344
Merge pull request #3336 from aidantwoods/fix/repo-replay-message
Highlight that information is obtained from security dir
2017-11-20 14:31:45 +01:00
Aidan Woods 21a553b1ae
Highlight that information is obtained from security dir
(deleting the cache will not bypass this error in the
event the user knows this is a legitimate repo).
2017-11-20 01:08:33 +00:00
TW 22ae15f5b4
Merge pull request #3327 from anarcat/faq-remove
add FAQ about removing old files and policies
2017-11-18 21:01:31 +01:00
Milkey Mouse 7cb36a20b4 Document sshfs rename workaround (fixes #3315) (#3325)
Document sshfs rename workaround, fixes #3315
2017-11-18 20:57:39 +01:00
Antoine Beaupré 1a2906ae7e add FAQ about removing old files and policies
This has been asked twice already this year:

https://mail.python.org/pipermail/borgbackup/2017q3/000796.html
https://mail.python.org/pipermail/borgbackup/2017q4/000891.html

... and I was asked again privately today, so this qualifies as FAQ to
me.
2017-11-18 09:08:37 -05:00
TW 72232a9bd5
Merge pull request #3319 from ThomasWaldmann/crc32-unaligned
crc32: deal with unaligned buffer, tests, fixes #3317
2017-11-14 18:40:53 +01:00
Thomas Waldmann f9cd6f7512 crc32: deal with unaligned buffer, tests, fixes #3317
fixing only the (generic) slice-by-8 crc32 implementation,
it is assumed that CPUs supporting CLMUL can also efficiently
and correctly deal with unaligned accesses.

slice-by-8 is used e.g. on ARM cpus and they might not (efficiently)
support unaligned memory access, leading to bus errors or low
performance.
2017-11-14 15:27:51 +01:00
TW b3c11dee6c
Merge pull request #3318 from milkey-mouse/borgfs-formatting-test
Check borgfs rst formatting in tests
2017-11-14 00:29:24 +01:00
Sam H b0141c1dc9 include item birthtime in archive (where available) (#3313)
include item birthtime in archive, fixes #3272

* use `safe_ns` when reading birthtime into attributes
* proper order for `birthtime` in `ITEM_KEYS` list
* use `bigint` wrapper for consistency
* Add tests to verify that birthtime is normally preserved, but not preserved when `--nobirthtime` is passed to `borg create`.
2017-11-13 14:55:10 +01:00
Milkey Mouse 9d1c2a6e2d
Check borgfs man formatting in tests
I only realized after the first PR was merged that the code used for
finding which man pages to generate was duplicated in the testsuite
(since setup.py can't import from the installed module and vice versa.)
These are essentially the same changes as made to setup.py in #3290.
2017-11-12 18:36:06 -08:00
TW b8dece0ae7
Merge pull request #3290 from milkey-mouse/borgfs-man
Generate usage & man page for borgfs
2017-11-12 16:41:54 +01:00
TW 64fb1c88a6
Merge pull request #3314 from scarytom/fewer-not-less
Correct usage of "fewer" in place of "less"
2017-11-12 12:37:26 +01:00
Tom Denley c6591a7c06 Correct usage of "fewer" in place of "less" 2017-11-11 11:21:45 +00:00
TW 46d0f3e81d
Merge pull request #3285 from olesalscheider/libressl
Fix build with LibreSSL
2017-11-10 21:32:31 +01:00
Milkey Mouse b0d68036c2
Add instructions for zerofree 2017-11-10 11:54:45 -08:00
Milkey Mouse 2b254abb39
Add instructions for ntfsclone (fixes #81) 2017-11-10 11:54:45 -08:00
Milkey Mouse 17d5c794d3
Generate man page for borgfs (fixes #3216) 2017-11-10 11:25:19 -08:00
Milkey Mouse c0fa721398 Clarify encryption of key for borg key export (#3297)
clarify / fix docs for borg key export, fixes #3296
2017-11-10 19:24:08 +01:00
Milkey Mouse 7b485c23f7 Clarify create --stats duration vs. wall time (fixes #3301) (#3303)
clarify create --stats duration vs. wall time, fixes #3301
2017-11-10 17:44:34 +01:00
Milkey Mouse cffac7ee54 Show an error message when --dry-run & --stats are used simultaneously (#3305)
show an error when --dry-run & --stats are both used, fixes #3298
2017-11-10 14:20:10 +01:00
TW 726dbdfe9e
Merge pull request #3293 from ThomasWaldmann/release-checklist
update release checklist about security fixes
2017-11-06 10:46:55 +01:00
Thomas Waldmann 818b61935b update release checklist about security fixes 2017-11-06 10:38:04 +01:00
Milkey Mouse 6f2bc44588
Don't show sub-command in borgfs help (fixes #3287) 2017-11-05 18:22:55 -08:00
TW febb7ffca8
Merge pull request #3288 from ThomasWaldmann/doc-updates2
Doc updates 2
2017-11-05 22:18:41 +01:00
TW 915b9ae302
Merge pull request #3286 from ThomasWaldmann/doc-updates
doc updates
2017-11-05 22:16:26 +01:00
Thomas Waldmann e7fd1ff2ee docs: more than 23 is not supported for CHUNK_MAX_EXP, fixes #3115 2017-11-05 21:35:58 +01:00
Thomas Waldmann 7ddf7c451f docs: borg does not respect nodump flag by default any more 2017-11-05 20:48:49 +01:00
Thomas Waldmann fe746fa594 clarify same-filesystem requirement for borg upgrade, fixes #2083 2017-11-05 20:06:23 +01:00
Thomas Waldmann 61d6c58241 update / rephrase cygwin / WSL status, fixes #3174 2017-11-05 19:24:49 +01:00