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

4954 commits

Author SHA1 Message Date
Thomas Waldmann
fdc7eb57ea use pyenv-based build/test on jessie32/62 2018-04-28 00:54:31 +02:00
Thomas Waldmann
dc36403c0e vagrant: use local 32 and 64bit debian jessie boxes 2018-04-08 23:41:54 +02:00
TW
a21e8f6926
Merge pull request #3757 from ThomasWaldmann/vagrant-fix
vagrant: use "vagrant" as username for new xenial box
2018-04-06 23:38:35 +02:00
Thomas Waldmann
1eed4e4465 vagrant: use "vagrant" as username for new xenial box 2018-04-06 23:35:58 +02:00
TW
93a7b4c693
Merge pull request #3744 from ThomasWaldmann/rel115
release 1.1.5
2018-04-01 00:09:02 +02:00
Thomas Waldmann
5da50f2440 minor docs formatting fix 2018-03-30 00:47:44 +02:00
Thomas Waldmann
1089de9426 python setup.py build_man 2018-03-30 00:47:44 +02:00
Thomas Waldmann
238dedd156 python setup.py build_usage 2018-03-30 00:33:38 +02:00
Thomas Waldmann
463297efb6 update CHANGES 2018-03-30 00:20:22 +02:00
TW
f5124f527b
Merge pull request #3743 from ThomasWaldmann/hide-sysinfo
BORG_SHOW_SYSINFO=no to hide system information from exceptions
2018-03-30 00:03:42 +02:00
Thomas Waldmann
64aaec6628 BORG_SHOW_SYSINFO=no to hide system information from exceptions
Can be used:
- in case of troubles with the sysinfo code
- by borg backup providers who do not want to show system information
2018-03-29 23:45:01 +02:00
TW
9b2417e973
Merge pull request #3742 from ThomasWaldmann/env-cleanup-uname2
remove platform.uname() call, fixes #3732
2018-03-29 22:52:41 +02:00
Thomas Waldmann
4f45eb660a remove platform.uname() call, fixes #3732 2018-03-29 22:27:14 +02:00
TW
ad7b687911
Merge pull request #3739 from ThomasWaldmann/env-cleanup-uname
run platform.* calls within a cleaned env, fixes #3732
2018-03-29 19:45:36 +02:00
Thomas Waldmann
1e94211bf5 run platform.* calls within a cleaned env, fixes #3732
also: add exception handler around deprecated platform.linux_distribution() call.
2018-03-29 19:43:37 +02:00
TW
39bf81276b
Merge pull request #3735 from milkey-mouse/fix-3548-bp1.1
Use same datetime object for {now} and {utcnow} (1.1 backport)
2018-03-28 20:36:32 +02:00
Milkey Mouse
ecc1a9c499
Use same datetime object for {now} and {utcnow} (fixes #3548)
{now} and {utcnow} should point to the same exact momemt, but they don't
because .now() and .utcnow() create two different objects at different
times. Although the difference will be on the order of microseconds on all
but the slowest machines, this bug still tickles my inner pedant...
2018-03-27 19:48:17 -07:00
TW
1c74d0d7fe
Merge pull request #3733 from ThomasWaldmann/vagrant-changes
Vagrantfile changes / updates
2018-03-27 21:03:22 +02:00
Thomas Waldmann
ea03c1dd70 vagrant: the boxcutter wheezy boxes are 404, use local ones 2018-03-27 20:59:57 +02:00
Thomas Waldmann
011ba3ddf4 vagrant: suppress any error msgs from __pycache__/.tox cleanup 2018-03-27 20:57:05 +02:00
Thomas Waldmann
6b44531330 vagrant: update to Python 3.5.5 (for binary builds) 2018-03-27 20:55:13 +02:00
TW
05ed41fde0
WIP: update CHANGES (1.1) (#3670)
update CHANGES (1.1-maint)
2018-03-25 23:11:29 +02:00
TW
b6fd9ba6a5
Merge pull request #3727 from milkey-mouse/issue-3448-bp1.1
set rc=1 when extracting damaged files (1.1 backport)
2018-03-25 20:47:50 +02:00
Thomas Waldmann
f253899066
set rc=1 when extracting damaged files, fixes #3448
- size inconsistencies
- file has all-zero replacement chunks

introduced new BackupError exception. when raised while extracting
files, gets handled via emitting a warning, setting rc=1 and
proceeding to next file.
2018-03-24 20:57:54 -07:00
TW
2147df91be
Merge pull request #3723 from ThomasWaldmann/stdin-filename-1.1
create: implement --stdin-name, fixes #3533 (1.1 backport)
2018-03-25 00:33:53 +01:00
Thomas Waldmann
1159cd3077 create: implement --stdin-name, fixes #3533
(cherry picked from commit 01d2f72813)
2018-03-24 23:00:54 +01:00
TW
4f4953ca9c
Merge pull request #3721 from ThomasWaldmann/quickstart-intro-1.1
Add quickstart introduction to repositories & archives (fixes #3620) 1.1-maint port
2018-03-24 22:14:18 +01:00
Milkey Mouse
8e5833f91b Add quickstart introduction to repositories & archives (fixes #3620)
(cherry picked from commit 09beb64f34)
2018-03-24 22:06:50 +01:00
TW
ecb93fff51
Merge pull request #3720 from ThomasWaldmann/fingerprinting-docs-1.1
security: describe chunk size / proximity issue, see #3687
2018-03-24 22:04:02 +01:00
Thomas Waldmann
f3465c7932 security: describe chunk size / proximity issue, see #3687
(cherry picked from commit 8ac272f35f)
2018-03-24 22:00:41 +01:00
TW
8c40c19508
Merge pull request #3715 from milkey-mouse/getpass-ux-bp1.1
improve getpass user experience (1.1 backport)
2018-03-24 21:35:23 +01:00
TW
c5cf417df1
Merge pull request #3714 from milkey-mouse/set-prev-location-early-bp1.1
Set cache previous_location on load instead of save (1.1 backport)
2018-03-24 21:33:21 +01:00
Thomas Waldmann
b33fbd6d8c
improve getpass user experience, see #3689
if interactive passphrase query fails and the env vars are not set,
show a clear error message about this.

users often do 'BORG_PASSPHRASE=secret', forgetting the 'export'.
or they use sudo (and not sudo -E).
in both cases, the env vars won't be available for the borg process.
2018-03-24 11:20:55 -07:00
Milkey Mouse
f4e0a5810b
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-24 11:09:25 -07:00
TW
4a71931e89
Merge pull request #3713 from ThomasWaldmann/fix-3707
Vagrant: xenial64 box now uses username 'vagrant', fixes #3707
2018-03-24 00:40:37 +01:00
Thomas Waldmann
3457439a45 Vagrant: xenial64 box now uses username 'vagrant', fixes #3707 2018-03-24 00:30:18 +01:00
TW
7127fb7f94
Merge pull request #3712 from ThomasWaldmann/fix-3706
Vagrant: move cleanup steps to fs_init, fixes #3706
2018-03-24 00:13:35 +01:00
TW
c722bd303a
Merge pull request #3711 from ThomasWaldmann/fix-3705
skip test if argparse is broken, fixes #3705
2018-03-24 00:12:57 +01:00
Thomas Waldmann
ad826cebad Vagrant: move cleanup steps to fs_init, fixes #3706
so after a vagrant up or vagrant reload (which both rsync), we
can just call the fs_init and run_tests provisioning steps and do
not need to call install_borg again.
2018-03-24 00:03:55 +01:00
Thomas Waldmann
cb49431493 skip test if argparse is broken, fixes #3705
the borg command in the test has 0 path arguments.
Our PATH arg is specified with nargs='*', so that should be valid,
but it crashes python 3.4.0 .. 3.4.2. Python >=3.4.3 works.
2018-03-23 23:13:43 +01:00
TW
60ada21d7a
Merge pull request #3702 from ThomasWaldmann/fix-checkpoint-interval-default
fix Archive's checkpoint_interval arg default (300 -> 1800s)
2018-03-20 23:14:01 +01:00
Thomas Waldmann
8434f8360c fix Archive's checkpoint_interval arg default (300 -> 1800s)
the commandline arg default was already at 1800, so likely this is
only a cosmetic fix.
2018-03-18 14:45:25 +01:00
TW
cbb19ca493
Merge pull request #3672 from ThomasWaldmann/files-cache-non-lazy
non-lazy files cache
2018-03-18 13:58:09 +01:00
TW
005c5a25cb
Merge pull request #3700 from ThomasWaldmann/backports-20
Backports 20
2018-03-18 01:30:51 +01:00
Thomas Waldmann
337c86b470 recreate --recompress: add metavar, clarify description
(cherry picked from commit c0f56ed039)
2018-03-17 23:52:44 +01:00
Thomas Waldmann
a48fffad6e borg config --cache: allow validated access to previous_location
(cherry picked from commit 810986f0f5)
2018-03-17 23:49:21 +01:00
Thomas Waldmann
d5917204c3 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.

(cherry picked from commit df9020389c)
2018-03-17 23:46:36 +01:00
TW
996a3dc2be
Merge pull request #3699 from ThomasWaldmann/backports-19
Backports 19
2018-03-17 23:43:37 +01:00
TW
502f11b9da
Merge pull request #3698 from ThomasWaldmann/backports-18
Backports 18
2018-03-17 21:43:31 +01:00
Thomas Waldmann
920e144c81 be more clear in secure-erase warning message, fixes #3591
(cherry picked from commit fe65ccf95a)
2018-03-17 21:39:27 +01:00