Commit graph

3005 commits

Author SHA1 Message Date
Thomas Waldmann
90fdfd26d8 repository: test FD invalidation 2017-09-06 15:17:05 +02:00
TW
226062b9c8 Merge pull request #2984 from enkore/issue/2976-1.0
1.0 backport #2980 keymanager: don't depend on optional readline module
2017-08-30 23:16:19 +02:00
Marian Beermann
aa30be296b keymanager: don't depend on optional readline module
(cherry picked from commit b8793d9577)
2017-08-30 11:29:32 +02:00
TW
faa681ed06 Merge pull request #2971 from ThomasWaldmann/fix-timestamp-option-1.0
borg create --timestamp: set start time, fixes #2957
2017-08-27 20:46:06 +02:00
TW
4a4e2abfcb Merge pull request #2972 from ThomasWaldmann/issue/2949-1.0
create: document exclusion through nodump
2017-08-27 20:45:46 +02:00
Marian Beermann
3b53823cbe create: document exclusion through nodump
(cherry picked from commit 495f838d88)
2017-08-27 15:42:45 +02:00
Thomas Waldmann
1d52b592cf borg create --timestamp: set start time, fixes #2957
(cherry picked from commit ac404e3a74)
2017-08-27 15:26:32 +02:00
TW
ab640a706c Merge pull request #2969 from ThomasWaldmann/no-threadlocal-1.0
Buffer: fix wrong thread-local storage use (#2951)
2017-08-27 14:49:30 +02:00
enkore
1163cb5179 Buffer: fix wrong thread-local storage use (#2951)
Buffer: delete support for multiple threads

Thread-local objects are a fairly complex footgun, so avoid them in
the first place. When a Compressor uses a Buffer (for example),
just create multiple Compressor instances for each thread, owned by
each thread. Minimize multiple ownership of objects across
threads if at all possible!

(cherry picked from commit f7ed5d7220)
2017-08-25 05:12:52 +02:00
TW
349dc2fe29 Merge pull request #2941 from ThomasWaldmann/workaround-files-cache-corruption-1.0
ignore corrupt files cache, fixes #2939
2017-08-19 01:04:49 +02:00
Thomas Waldmann
5beaa5bd02 ignore corrupt files cache, fixes #2939
ignore the files cache when corrupt and emit a warning message
so the users notices that there is a problem.
2017-08-19 01:03:38 +02:00
TW
edda2e6989 Merge pull request #2932 from ThomasWaldmann/migrate-locks-1.0
migrate locks to child PID when daemonize is used
2017-08-14 17:52:28 +02:00
Thomas Waldmann
230e0feac6 migrate locks to child PID when daemonize is used
(cherry picked from commit 09e3a02fbc)
2017-08-14 00:25:51 +02:00
TW
1d8d1d8e8f Merge pull request #2922 from ThomasWaldmann/fix-serve-exitcode-1.0
fix exitcode of borg serve, fixes #2910
2017-08-07 05:31:18 +02:00
Thomas Waldmann
3a7f0fea69 fix exitcode of borg serve, fixes #2910
(cherry picked from commit 583de3eeb1)
2017-08-06 17:38:04 +02:00
TW
d68d7ac5da Merge pull request #2907 from ThomasWaldmann/vagrant-fixes-1.0
backported vagrant-fixes for 1.0-maint
2017-08-03 04:59:26 +02:00
TW
2134a84895 Merge pull request #2908 from ThomasWaldmann/hash_modulo_speedup-1.0
replace modulo with if to check for wraparound in hashmap
2017-08-03 04:59:07 +02:00
Radu Ciorba
2cdd4353b6 replace modulo with if to check for wraparound in hashmap
Integer division is slow, and this improves the speed of all operations on the hashmap.

Benchmarked this patch on the rciorba/master-bench branch:
9e5d61e03c/results.html

(cherry picked from commit 12e0f55991)
2017-08-01 06:01:03 +02:00
Thomas Waldmann
a07b771662 vagrant: netbsd: bash is already installed
(cherry picked from commit 4e40f8507d)
2017-08-01 04:49:37 +02:00
Thomas Waldmann
a01d595c85 vagrant: fix netbsd version in PKG_PATH
the VM is using netbsd 7.0.1, likely updating the version in the
PKG_PATH was forgotten when the machine itself was upgraded to a newer
version. it became visible now as the 6.1.5 stuff vanished from the
ftp server.

also: remove trailing /
(cherry picked from commit 1f5eba0cb8)
2017-08-01 04:49:24 +02:00
Thomas Waldmann
0416bfdc5a vagrant: add exe location to PATH when we build an exe
(cherry picked from commit c1f9ed991b)
2017-08-01 04:49:04 +02:00
TW
39f876229f Merge pull request #2847 from borgbackup/rel1011
release 1.0.11
2017-07-21 03:51:39 +02:00
Thomas Waldmann
4367b568ab python setup.py build_usage 2017-07-21 00:50:50 +02:00
Thomas Waldmann
1ece129ec9 set release date in changelog 2017-07-21 00:45:10 +02:00
TW
c89463add7 Merge pull request #2801 from ThomasWaldmann/update-changes-1.0
Update CHANGES (1.0-maint)
2017-07-21 00:41:41 +02:00
Thomas Waldmann
f4e9f05e4a update CHANGES (1.0-maint) 2017-07-21 00:40:35 +02:00
TW
81b1442268 Merge pull request #2843 from ThomasWaldmann/checkpoint-interval
change --checkpoint-interval default from 600s to 1800s, fixes #2841
2017-07-19 15:54:36 +02:00
TW
68409aa10c Merge pull request #2827 from milkey-mouse/backports7
Backports (7)
2017-07-19 01:59:18 +02:00
Thomas Waldmann
f25e3177e9 change --checkpoint-interval default from 600s to 1800s, fixes #2841
a user was (rightfully) complaining that borg does a whole lot of
writing to .cache and was also quite inefficient because that took
rather long and occurred too frequently.

this was caused by big indexes/caches and the relatively high default
checkpoint frequency (every 300s) in 1.0.

we already have increased that value to 1800s in master (which soon will
be 1.1), so this changeset just does the same for 1.0.x.
2017-07-19 01:08:08 +02:00
Antonio Larrosa
f0cbf3f257 Fix openSUSE command and add openSUSE section
Fix the name of the borgbackup package in openSUSE and
add an openSUSE section on how to install development dependencies
to build borgbackup from sources.

(cherry picked from commit 6c7b9a338c)
2017-07-16 12:36:04 -07:00
Marian Beermann
a93f636151 archiver: add test for paperkey import, fix bug
(cherry picked from commit 78f0e5d473)
2017-07-16 12:36:04 -07:00
TW
d0203a237d use limited unpacker for outer key, fixes #2174 (#2790)
* use limited unpacker for outer key, fixes #2174

* fixup: higher inner key data size limit

(cherry picked from commit 9ca666907b)
2017-07-16 12:36:03 -07:00
Marian Beermann
6990beb69e xattr: test split_lstring
(cherry picked from commit 6c67b64ab6)
2017-07-16 12:36:03 -07:00
TW
15dfb4b032 Merge pull request #2752 from ThomasWaldmann/vagrant-fixes
Vagrant fixes and updates
2017-06-27 02:27:18 +02:00
Thomas Waldmann
7e1169dd4b vagrant: add stretch64 VM 2017-06-27 02:09:00 +02:00
Thomas Waldmann
1f7a8ec6b7 vagrant: backport cpu/ram setup from master
this should fix the MemoryErrors seen in some vagrant test VMs.
also, cpu count is now configurable via VMCPUS env var.
2017-06-27 01:59:39 +02:00
Thomas Waldmann
781fc638ed vagrant: fix openbsd shell 2017-06-27 01:35:23 +02:00
TW
9975773d3d Merge pull request #2750 from borgbackup/rel1011rc1
release 1.0.11rc1
2017-06-27 00:48:29 +02:00
Thomas Waldmann
b36b636a9e build_usage 2017-06-26 22:39:02 +02:00
Thomas Waldmann
f66f6caecd update CHANGES (1.0-maint) 2017-06-26 22:32:49 +02:00
TW
130a8cdee5 update CHANGES (1.0-maint) (#2725)
update CHANGES (1.0-maint)
2017-06-26 22:20:53 +02:00
TW
cc7c7521f6 Merge pull request #2745 from ThomasWaldmann/backports6
Backports (6)
2017-06-26 21:52:42 +02:00
TW
9c68f3468e Merge pull request #2746 from ThomasWaldmann/issue-2718
fix borg import issue, add comment, fixes #2718
2017-06-26 21:41:39 +02:00
Thomas Waldmann
91b0b3a442 include attic.tar.gz when installing the package
also: add include_package_data=True to get it in sync with master branch
2017-06-26 20:24:43 +02:00
Thomas Waldmann
2c3cdf8c6c fix borg import issue, add comment, fixes #2718 2017-06-26 19:43:21 +02:00
Marian Beermann
cf0d28a24f BORG_PASSCOMMAND: use same cmd-string splitting as BORG_RSH
(cherry picked from commit 4e6a771ee7)
2017-06-26 04:11:15 +02:00
TuXicc
8c1da1adda Added BORG_PASSCOMMAND environment variable (#2573)
(cherry picked from commit 578b76af3a)
2017-06-26 04:08:42 +02:00
Marian Beermann
9aa3fe19d7 docs: faq: specify "using inline shell scripts"
(cherry picked from commit 3faafb1dee)
2017-06-26 03:21:24 +02:00
Marian Beermann
93efd2dca4 docs: quickstart: delete problematic BORG_PASSPRHASE use
(cherry picked from commit aa7fbff55f)
2017-06-26 03:21:02 +02:00
Thomas Waldmann
f7b16112dc move get_limited_unpacker to helpers
also: move some constants to borg.constants
(cherry picked from commit 89f3cab6cd)
2017-06-26 03:12:12 +02:00