1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 08:45:13 +00:00
Commit graph

2496 commits

Author SHA1 Message Date
Thomas Waldmann
75624f8e05 vagrant: update image name of boxcutter debian7 boxes
debian711* is 404.
2016-10-06 22:58:02 +02:00
TW
5ccc124667 Merge pull request #1687 from ThomasWaldmann/backport-bin-to-hex
backport bin_to_hex and use it
2016-10-06 22:21:38 +02:00
Thomas Waldmann
67aafec195 backport bin_to_hex and use it
simplifies code and also porting and merging between 1.0 and 1.1/master.
2016-10-06 05:15:01 +02:00
TW
45a2d8b5c0 Merge pull request #1677 from enkore/pr/1676
Added docs explaining multiple --restrict-to-path flags, with example…
2016-10-06 01:48:13 +02:00
Marian Beermann
573cb616d3 deployment: synthesize alternative --restrict-to-path example 2016-10-06 01:00:07 +02:00
Simon Heath
cf1c73b4f9 Added docs explaining multiple --restrict-to-path flags, with example (take 2) 2016-10-03 09:25:48 +02:00
enkore
ce72d24825 Clarify FAQ regarding backup of virtual machines (#1672) 2016-10-02 20:11:34 +02:00
enkore
e2fc2a1dfd Merge pull request #1673 from ThomasWaldmann/pyi-use-spec
pyinstaller: use a spec file to build borg.exe binary
2016-10-02 10:44:41 +02:00
Thomas Waldmann
864333d686 pyinstaller: use a spec file to build borg.exe binary
also: exclude osxfuse dylib on Mac OS X
2016-10-02 00:43:45 +02:00
TW
d8a7b17924 Merge pull request #1666 from ThomasWaldmann/improve-borg-debug-docs
add more specific warning about write-access debug commands
2016-09-30 22:44:34 +02:00
TW
8318f5ac0c Merge pull request #1664 from ThomasWaldmann/hashindex-api-version-bumo
Hashindex api version bump
2016-09-30 21:31:05 +02:00
Thomas Waldmann
a65707beb8 add more specific warning about write-access debug commands 2016-09-30 21:09:02 +02:00
Thomas Waldmann
4174291f6f hashindex: bump api version
API_VERSION is used to check whether the compiled binaries are up-to-date.
the tests for the recent iterator fixes of course need updated (fixed) binaries,
so we bump api_version, so not-up-to-date binaries will get identified.
2016-09-30 20:38:46 +02:00
TW
3a3cdadeba Merge pull request #1661 from ThomasWaldmann/update-1.0-changes
update CHANGES
2016-09-29 17:39:21 +02:00
Thomas Waldmann
e124f3c67b update CHANGES 2016-09-29 17:16:57 +02:00
enkore
ab9d761c40 Merge pull request #1659 from ThomasWaldmann/fix-iterator
hashindex: fix iterator implementation
2016-09-29 11:13:10 +02:00
Thomas Waldmann
8fd0e07a1c hashindex: fix iterator implementation
NSKeyIterator and ChunkKeyIterator raised StopIteration once only when they reached their end.

But they did not raise StopIteration if one called next() again after they were exhausted,
so they did not comply to the standard iterator protocol.

AFAIK, this did not cause actual problems due to the way these iterators are used,
but when I tried to use itertools.islice() to get n-long sequences from these iterators,
it failed / went into an endless loop.
2016-09-29 04:41:59 +02:00
Thomas Waldmann
4838b9e110 vagrant: upgrade osxfuse to 3.5.2 2016-09-27 22:44:33 +02:00
Martin Hostettler
fe9816d8d4 setup.py: Fix build_usage to always process all commands. 2016-09-27 22:34:19 +02:00
textshell
b84014e7d9 archiver: Add documentation for "key export" and "key import" commands. (#1641)
archiver: Add documentation for "key export" and "key import" commands
2016-09-27 15:24:31 +02:00
TW
f2cc97da8d Merge pull request #1649 from ThomasWaldmann/upgrade-osxfuse
vagrant: update FUSE for macOS
2016-09-26 20:09:03 +02:00
Thomas Waldmann
bb6c0cd2ac vagrant: update FUSE for macOS 2016-09-26 20:08:04 +02:00
TW
1449c31c03 Merge pull request #1646 from textshell/fix/key-import-tests
Fix key import tests
2016-09-26 20:02:10 +02:00
Martin Hostettler
15444b19d1 testsuite/archiver.py: Fix key import failure with ArchiverTestCaseBinary 2016-09-26 19:47:39 +02:00
Martin Hostettler
7c2025a2c0 testsuite/archiver.py: Add a comment how to easily test ArchiverTestCaseBinary locally. 2016-09-26 19:28:00 +02:00
enkore
e9486ec348 Merge pull request #1643 from ThomasWaldmann/fix-1551
fix closed FD issue, fixes #1551
2016-09-26 09:30:49 +02:00
Thomas Waldmann
60c5482e6b fix closed FD issue, fixes #1551 2016-09-26 04:34:25 +02:00
TW
38819552df Merge pull request #1636 from textshell/feature/subcommands
Use subcommands for debug-* and key-*
2016-09-25 23:33:38 +02:00
TW
995c3a2488 Merge pull request #1623 from ThomasWaldmann/yes-retries
yes(): abort on wrong answers, saying so
2016-09-25 22:34:32 +02:00
TW
6642dadfc6 Merge pull request #1631 from ThomasWaldmann/improve-signal-handling
Improve signal handling
2016-09-25 22:14:38 +02:00
TW
5d6d4a1bd9 Merge pull request #1639 from textshell/patch-1
development.rst: Add sphinx_rtd_theme to the sphinx install command
2016-09-25 21:56:17 +02:00
Martin Hostettler
4f9f25db02 development.rst: Add sphinx_rtd_theme to the sphinx install command
It’s used by default, so install it as well.
2016-09-25 21:45:15 +02:00
Thomas Waldmann
d9b880fdf3 fix signal handling, fixes #1620
use context manager for signal handler installation / restoration -
this includes the special case of installing handler SIG_IGN to ignore
a signal and restoring the original (non-ignoring) handler.

use SIG_IGN to avoid a 2nd signal interrupts the handling of the 1st signal.
2016-09-25 17:59:26 +02:00
Martin Hostettler
a11436cfb6 setup.py: Add subcommand support to build_usage. 2016-09-25 17:11:56 +02:00
Martin Hostettler
5c2424831e archiver: Create a subcommmand debug for all debug-* commands
The debug commands all should subcommands of a common debug command.

This commit adds this command but keeps the old command names for 1.0.x.
The plan is to remove them in 1.1.0.
2016-09-25 16:24:57 +02:00
Martin Hostettler
29b5136da7 archiver: Move key management commands to new key subcommand. 2016-09-25 16:24:57 +02:00
TW
b055bb025f Merge pull request #1616 from textshell/issue/1555
Implement key import / export
2016-09-24 15:54:46 +02:00
Martin Hostettler
55a3331942 Implement key import / export
We recommed that users backup their keys, this adds simple to use commands
to do so.

Supported formats are the keyfile format used by borg internally and
a special format with by line checksums for printed backups.

For this format the import is an interactive process which checks
each line as soon as it is input.

Fixes #1555
2016-09-24 12:55:34 +02:00
TW
79617d4e74 Merge pull request #1629 from ThomasWaldmann/fix-narrow-terminal-crash
adapt formatting to narrow screens, do not crash, fixes #1628
2016-09-23 03:30:02 +02:00
Thomas Waldmann
7e7dd9688d adapt formatting to narrow screens, do not crash, fixes #1628
when screen width was too narrow, the {space} placeholder could get negative,
which crashes as it is a width specification.

now we simplify progress output if screen is narrow.
we stop output completely if screen is ridiculously narrow.
2016-09-23 00:26:04 +02:00
Thomas Waldmann
7b9d0c9739 yes(): abort on wrong answers, saying so
except for the passphrase display as we can only display it as long as we have it in memory,
here: retry, telling the user if he entered something invalid and needs to enter again.
2016-09-22 02:43:57 +02:00
TW
eac439a65f Merge pull request #1614 from ThomasWaldmann/trivial-changes
trivial code optimization
2016-09-17 23:50:56 +02:00
Thomas Waldmann
34ec344e9d trivial code optimization 2016-09-17 17:19:26 +02:00
enkore
50cef5a768 Merge pull request #1612 from senden9/patch-2
Fix inconsistency in FAQ
2016-09-17 12:05:28 +02:00
Stefano Probst
deadc81729 Fix inconsistency in FAQ
The script in the FAQ is named pv-wrapper. But in the variable export pv-wrapper.sh was used.
2016-09-17 09:14:01 +02:00
TW
b3fac01683 Merge pull request #1595 from ThomasWaldmann/update-wheezy-box
update wheezy vagrant box to 7.11
2016-09-14 02:26:17 +02:00
Thomas Waldmann
3c3502a9a0 update wheezy vagrant box to 7.11
7.9 is not available any more.
2016-09-14 02:22:46 +02:00
enkore
8a62b16ecf Merge pull request #1594 from julian-klode/bugfix/sighup
Handle SIGHUP for proper unlock on lost connection, fixes #1593
2016-09-13 23:54:08 +02:00
Julian Andres Klode
c8f4e9e34c Correctly exit with proper unlock on SIGHUP, fixes #1593
If the connections hangs up, the borg server needs to clean
up, especially unlock the repository, so a later try will
work again.

This is especially problematic with systemd systems that have
KillUserProcesses enabled (which is the default): Logind sends
a SIGHUP message to the session scope when the session ends.
2016-09-13 22:01:28 +02:00
enkore
3714be0d79 Merge pull request #1581 from enkore/issue/1580
hashindex: export max load factor to Python-space
2016-09-09 19:31:22 +02:00