1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 17:27:31 +00:00
Commit graph

5677 commits

Author SHA1 Message Date
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
Jürg Rast
f8856193d3 Replaced usage of os.statvfs with shutil.disk_usage
The RepositoryCache used `os.statvfs` which is not available on Windows.
`shutil.disk_usage` provides the same information but in a cross platform way.
2019-11-03 17:40:34 +01:00
Thalian
8a1b198e24 [DOC] #4674 - Add more documentation for @api decorator. (#4801)
docs: fix/improve documentation for @api decorator
2019-11-03 14:09:33 +01:00
TW
66d86b6280
Merge pull request #4789 from ThomasWaldmann/regen-docs-man
ran python setup.py build_man
2019-11-02 13:53:58 +01:00
Thalian
a89539439e #1552 Deployment Pull Backup (#4804)
docs: add a pull backup / push restore how-to, fixes #1552
2019-11-02 13:48:32 +01:00
Thomas Waldmann
451c4dd5de build_man 2019-11-01 18:22:58 +01:00
TW
454dbfcaea
Merge pull request #4813 from Gu1nness/fix-borg-man-page
Fix the borg(1) man page creation
2019-11-01 18:09:15 +01:00
TW
c178ed5977
Merge pull request #4733 from jrast/win10-cibuild
Windows 10 CI-Build
2019-11-01 17:54:29 +01:00
Jürg Rast
b57db079d0 Updated pyinstaller spec file to support windows builds 2019-10-30 01:06:46 +01:00
Jürg Rast
2cc270bab0 Updated Readme 2019-10-30 01:06:46 +01:00
Jürg Rast
e124ee9354 Initial Appveyor Config 2019-10-30 01:06:46 +01:00
Jürg Rast
f0b74146da Created new scripts for preparing and building borg 2019-10-30 01:06:46 +01:00
Jürg Rast
b00559a5b9 Adding sys.path to %PATH% to find libcrypto on windows 2019-10-30 01:06:46 +01:00
Jürg Rast
7203a8bbb9 Fixed crypto library name for windows 2019-10-27 17:12:59 +01:00
Thalian
2209f56cd5 Feature/4674 compact threshold (#4798)
compact: add --threshold option, fixes #4674
2019-10-24 10:12:58 +02:00
Rémi Oudin
5bdf998a21
Fix the borg(1) man page creation
Now the date is updated every time the page is regenerated.
2019-10-22 22:17:58 +02:00
TW
2aee314d4f
Merge pull request #4799 from jugmac00/master
Remove deprecated keyword "sudo" from travis config.
2019-10-21 23:05:39 +02:00
Jürgen Gmach
6364e89440 Remove deprecated keyword "sudo" from travis config.
cf.
https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

modified:   .travis.yml
2019-10-20 21:27:15 +02:00
Thalian
87abe5d927 Doc/4532 faq retain original paths (#4794)
More general FAQ for backup and retain original paths, fixes #4532
2019-10-20 16:51:06 +02:00
TW
59ea5bc4d6
Merge pull request #4774 from ThomasWaldmann/fix-prefix-argparse-bug
--prefix / -P: fix processing, avoid argparse issue, fixes #4769
2019-10-19 21:43:10 +02:00
TW
008ee01ea9
Merge pull request #4773 from ThomasWaldmann/ignore-hardlink-eacces
ignore EACCES (errno 13) when hardlinking, fixes #4730
2019-10-19 21:40:19 +02:00
Thalian
212b438c3c [DOC] #4118 - Explain difference between --exclude and --pattern. (#4783)
docs: Explain difference between --exclude and --pattern, fixes #4118
2019-10-19 21:38:24 +02:00
Thalian
f07bcb1387 [DOC] #3866 - Add FAQ for preventing SSH timeout in extract. (#4782)
Add FAQ for preventing SSH timeout in extract, fixes #3866
2019-10-19 21:19:17 +02:00
TW
3981e8875b
Merge pull request #4787 from fantasya-pbem/doc/4591_FAQ-passphrase-no-wrap
[DOC] #4591 - Improve password FAQ
2019-10-19 21:15:32 +02:00
TW
5ce902452b
Merge pull request #4779 from Gu1nness/issue-4752-build-man-is-broken
Fixes the man pages creation
2019-10-19 20:41:48 +02:00
Rémi Oudin
1d9b4d0159
Change variable name and remove useless variable 2019-10-19 12:33:26 +02:00
Thalian
21dc2b9ca0 [DOC] #4591 - Improve password FAQ (decrease pw length, add -w 0 option to base64 to prevent line wrap). 2019-10-18 21:11:25 +02:00
TW
af23685b6c
Merge pull request #4785 from bket/msgpack
Support msgpack-0.6.2.
2019-10-16 09:40:43 +02:00
Björn Ketelaars
e2ee7fd24b Support msgpack-0.6.2.
This addresses
https://github.com/borgbackup/borg/issues/4360#issuecomment-541107988
2019-10-15 05:22:20 +02:00
Rémi Oudin
dd92695a04 Fixes the man pages creation
The issue https://github.com/borgbackup/borg/issues/4471 solution
created many commands for borgfs which shouldn't exist in addition to
creating issue https://github.com/borgbackup/borg/issues/4752.

Fixes https://github.com/borgbackup/borg/issues/4752 .
2019-10-09 15:14:53 +02:00
Thomas Waldmann
6395126d34 --prefix / -P: fix processing, avoid argparse issue, fixes #4769
changes:

- changed --prefix default to None (was: ''), so we can check using
"is not None" to determine when --prefix has been given.

- the previous check for --prefix being used was just for a truthy
value, so using --prefix='' was not really supported, but happened to
behave the same as the default processing anyway.

- argparse python stdlib code seems to have a bug when processing an
option like --prefix='--', args.prefix will be [] in that case (should
be '--'). With previous code this behaved like no prefix given ([] value
is not truthy). Now, as we check for "is not None", it will try to
process that value but blow up with a TypeError as it can't do [] + '*'.
This is a bit unpretty end, but at least borg prune won't delete all
your archives and it will be a reminder that argparse is broken.
- for borg check --repository-only, we also check for --glob-archives
not being used and give the warning otherwise.
2019-10-03 19:03:36 +02:00