1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 17:57:59 +00:00
Commit graph

5707 commits

Author SHA1 Message Date
Thomas Waldmann
6a37af5f8b upgrade bundled lz4 to 1.9.2 2020-03-08 20:42:50 +01:00
TW
de2bbf7c0c
Merge pull request #4993 from ThomasWaldmann/prune-stats-dry
ignore --stats when given with --dry-run, but continue, fixes #4373
2020-03-07 19:27:18 +01:00
Thomas Waldmann
8c532b9c73 ignore --stats when given with --dry-run, but continue, fixes #4373
... but continue the operation just as if --stats was not given.
2020-03-07 18:10:00 +01:00
TW
ffd4f8b935
Merge pull request #4992 from ThomasWaldmann/upgrade-xxh073
upgrade xxhash to 0.7.3 (master)
2020-03-07 17:56:54 +01:00
Thomas Waldmann
2d20fa4e45 xxhash: remove xxh3 (does not compile)
we do not use that anyway.
2020-03-07 17:01:54 +01:00
Thomas Waldmann
96ff358887 upgrade xxhash to 0.7.3
https://github.com/Cyan4973/xxHash/releases/tag/v0.7.3

committed "as is", does not compile due to xxh3.
2020-03-07 17:01:42 +01:00
TW
7899899856
Merge pull request #4985 from bket/xxhash_pkgconfig
xxhash>=0.7.3 provides a pkgconfig file
2020-03-06 17:22:19 +01:00
Björn Ketelaars
bf58e8c317 xxhash>=0.7.3 provides a pkgconfig file
https://github.com/Cyan4973/xxHash/pull/324

As advertised, xxhash is picked up by py-pkgconfig.
2020-03-06 05:25:23 +01:00
TW
d528840809
Merge pull request #4984 from willsALMANJ/ignore-syncfilerange
Ignore syncfilerange.c
2020-03-05 22:39:24 +01:00
TW
988f52086c
Merge pull request #4983 from willsALMANJ/4980-pep8
Make flake8 happy about complex conditional
2020-03-05 22:37:58 +01:00
Will
2087eeb323 Ignore syncfilerange.c 2020-03-05 12:57:59 -05:00
Will
9b3e28a41e Make flake8 happy about complex conditional 2020-03-05 12:50:28 -05:00
TW
5a28fc074d
Merge pull request #4980 from willsALMANJ/no-os-link-master
support platforms with no os.link (port to master)
2020-03-05 09:52:45 +01:00
TW
97fd0e5b57
Merge pull request #4975 from ThomasWaldmann/upgrade-xxhash
Upgrade xxhash (master)
2020-03-04 11:12:31 +01:00
TW
597b09a993 support platforms with no os.link (#4903)
support platforms with no os.link, fixes #4901

if we don't have os.link, we just extract another copy instead of making a hardlink.

for that to work, we need to have (and keep) the chunks list in hardlink_masters.
2020-03-03 23:34:54 -05:00
TW
854065e193
Merge pull request #4974 from ThomasWaldmann/msgids
fix ProgressIndicator msgids, fixes #4935 (master)
2020-03-04 01:20:43 +01:00
Thomas Waldmann
3905810e37 xxhash: remove experimental xxh3 code
it does not compile and we don't use it anyway.
2020-03-03 23:59:20 +01:00
Thomas Waldmann
810c60048b upgrade bundled xxhash to 0.7.2, fixes #4891
Looks like the minimum requirement for correct operations
on ARMv6 in non-fixup mode is xxhash 0.7.2.

note: this does not compile due to the experimental stuff in xxh3.h.
2020-03-03 23:58:54 +01:00
Thomas Waldmann
a8831f4978 fix ProgressIndicator msgids, fixes #4935
add some to code, fix docs.
2020-03-03 23:57:36 +01:00
TW
0a4cc48735
Merge pull request #4969 from ThomasWaldmann/fix-hashindex-set
fix bug in hashindex_set on resize, fixes #4829
2020-03-01 18:56:03 +01:00
Thomas Waldmann
fa63150e14 fix bug in hashindex_set on resize, fixes #4829
the problem was that after a resize that was triggered by too few
empty buckets, the rebuilt new hash table had entries at different
positions than before, but the idx where to SET the entry was not
recomputed afterwards.
2020-03-01 17:47:12 +01:00
TW
1666a74e6b
Merge pull request #4965 from willsALMANJ/fix-4905
Move sync_file_range to its own extension
2020-03-01 12:55:54 +01:00
Will
242424ecae Move sync_file_range to its own extension 2020-03-01 00:06:04 -05:00
TW
a5152012f4
Merge pull request #4949 from Gu1nness/4934-borg-extract-is-confusing
Fix #4934 : The path given by borg extract --strip-components --list is not confusing anymore
2020-02-29 17:30:02 +01:00
finefoot
f7dc1a430b
Allow osx builds to fail (#4955)
universally mark all osx builds as allowed failures

since a while, travis-ci is way too slow on their OS X machines, so they kill our tests after 50 minutes...
2020-02-22 21:30:41 +01:00
Rémi Oudin
70c8538626 extract: fix confusing output of borg extract --list --strip-components, fixes #4934 2020-02-17 21:57:24 +01:00
TW
4f516f87e0 Merge pull request #4919 from DifficultDerek/patch-1
Update usage_general.rst.inc
2020-02-09 19:04:04 +01:00
DifficultDerek
85928fe6ae Update usage_general.rst.inc
- Added "Will move with BORG_CONFIG_DIR variable unless specified." to BORG_SECURITY_DIR info.
- put BORG_SECURITY_DIR immediately below BORG_CONFIG_DIR (and moved BORG_CACHE_DIR up before them).
2020-02-09 18:34:09 +01:00
finefoot
61b8234704 Add paragraph regarding cache security assumptions (#4900)
docs: tell about borg cache security precautions
2020-01-13 12:25:03 +01:00
TW
fc96fc4bfd
Merge pull request #4895 from fantasya-pbem/newbie-faq-from-ml
Add FAQ describing difference between a local repo vs. repo on a server.
2019-12-23 18:19:44 +01:00
Thalian
053b0db009 Add FAQ describing difference between a local repo vs. repo on a server.
Taken from a Q/A on the mailing list.
2019-12-23 13:13:08 +01:00
TW
d56e321413
Merge pull request #4882 from miguno/master
Document how to test exclusion patterns without performing an actual backup
2019-12-17 23:00:53 +01:00
Michael G. Noll
0d854e08e4 Document how to test exclusion patterns without performing an actual backup 2019-12-17 14:56:50 +01:00
Birkhoff Lee
5739602a11 Elaborate on "Calculating size" (#4866)
create: tell that "Calculating size" time and space needs are caused by --progress

It took me several days to figure out that `--progress` was the culprit to Borg being SIGKILL'd by the kernel, because of OOM, and because of I enabled progress option. This elaborates on what's the calculation for.
2019-12-15 23:05:40 +01:00
Rémi Oudin
c209eff842 Fix the test failing due to timestamp localisation, fixes #4853
from https://borgbackup.readthedocs.io/en/stable/usage/general.html#date-and-time

    Unless otherwise noted, we display local date and time.
    Internally, we store and process date and time as UTC.

OK, that does not directly say something about --timestamp, but as the cli is also part of the user interface (as output is), this might mean that maybe not the test needs fixing, but our processing of that option.

But, the docs also say:

    --timestamp TIMESTAMP
    manually specify the archive creation date/time (UTC,  yyyy-mm-ddThh:mm:ss format).
    Alternatively, give a reference  file/directory.

So, using UTC there is a documented feature, although it is different from output using localtime.

So, the test fix in this PR is correct according to the docs. \o/
2019-12-09 15:14:47 +01:00
TW
154239cd89
Merge pull request #4833 from ncleaton/chunkerloop
chunker speedup
2019-11-29 08:04:49 +01:00
Nick Cleaton
708fa83c1d chunker speedup and regression test 2019-11-28 20:59:02 +00:00
TW
767d9f7b7a
Merge pull request #4858 from ThomasWaldmann/upgrade-pyi35
vagrant: upgrade pyinstaller to v3.5 + patch
2019-11-27 01:36:43 +01:00
Thomas Waldmann
c40bba3cbd vagrant: upgrade pyinstaller to v3.5 + patch
the patch is needed so it works with recent virtualenv.
2019-11-27 01:36:05 +01:00
TW
232e1ec31d
Merge pull request #4857 from ThomasWaldmann/fix-grub-debianoid
vagrant: fix issue in stretch VM hanging at grub installation
2019-11-27 01:33:29 +01:00
Thomas Waldmann
e91d9cd17e vagrant: fix issue in stretch VM hanging at grub installation 2019-11-27 01:32:31 +01:00
TW
e01039bebf
Merge pull request #4855 from ThomasWaldmann/upgrade-travis-pythons
travis: macOS: test on py35 and py37, linux: test on py37
2019-11-26 20:33:39 +01:00
TW
704cf1e59f
Merge pull request #4856 from ThomasWaldmann/vagrant-latest-pythons
vagrant: use py369 for binary build, add py380 for tests
2019-11-26 19:06:18 +01:00
Thomas Waldmann
24eff82571 vagrant: use py369 for binary build, add py380 for tests 2019-11-26 19:05:17 +01:00
Thomas Waldmann
eb326cbac0 travis: macOS: test on py35 and py37, linux: test on py37
macOS: to cover some rather old and some rather new python
(not 3.8 though, but 3.8.0 is tested on linux).

linux: to test on 3.7 releases also. stop testing 3.6-dev.
2019-11-26 18:53:09 +01:00
Rémi Oudin
a029d686b5 Borg recreate timestamp is a no op (#4815)
recreate: support --timestamp option, fixes #4745
2019-11-16 11:03:34 +01:00
Rémi Oudin
e393dd4fe1 Add a try catch when formatting the info string. (#4818)
info: if the archive doesn't exist, print a pretty message, fixes #4793
2019-11-16 10:56:03 +01:00
TW
29aec480c0
Merge pull request #4819 from henfri/patch-1
Update README_WINDOWS.rst
2019-11-03 22:36:42 +01:00
henfri
e3674e79d7
Update README_WINDOWS.rst
Explaining how to install the required libraries for anaconda.
2019-11-03 22:29:27 +01:00
TW
1200690a3f
Merge pull request #4816 from jrast/fix-statvfs
Replaced usage of os.statvfs with shutil.disk_usage
2019-11-03 20:26:25 +01:00