1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 09:47:58 +00:00
Commit graph

896 commits

Author SHA1 Message Date
Thomas Waldmann
729cc4d82d document how to backup raw disk 2015-07-27 22:27:13 +02:00
Per Guth
60dfde2dc6 Reference to BorgWeb 2015-07-27 14:45:32 +02:00
Per Guth
30d47cb68a Fixed *ALL* the links! 2015-07-27 14:41:43 +02:00
Per Guth
bcdfda7ef0 Linked "issue #1" to issue #1. 2015-07-27 14:38:03 +02:00
TW
c8d55e7083 Merge pull request #115 from ThomasWaldmann/delete-repo
repo delete: add destroy to allowed rpc methods, fixes issue #114
2015-07-26 17:42:30 +02:00
Thomas Waldmann
195545075a repo delete: add destroy to allowed rpc methods, fixes issue #114
also: add test, automate YES confirmation for testing
2015-07-26 17:38:16 +02:00
Thomas Waldmann
fde952a6d9 .gitignore: add nuitka and cache stuff 2015-07-26 15:37:36 +02:00
Thomas Waldmann
fb998cbd66 docs: add note about how to run borg from virtual env 2015-07-26 14:47:18 +02:00
Thomas Waldmann
859c33d42b docs: add solutions for (ll)fuse installation problems 2015-07-25 19:07:24 +02:00
Thomas Waldmann
12a50bc6fe tested and updated cygwin docs, thanks to fvia 2015-07-25 18:38:16 +02:00
TW
02d3376dd4 Merge pull request #112 from ioggstream/testing-borg
add development.txt and modify tox.ini
2015-07-25 17:07:45 +02:00
Roberto Polli
0b226aec7a add development.txt and modify tox.ini 2015-07-25 15:39:42 +02:00
Thomas Waldmann
59c519b3bb remove outdated locking problem warning 2015-07-25 15:37:30 +02:00
Thomas Waldmann
ed2548ca02 add a __main__.py to nuitka works 2015-07-20 16:16:32 +02:00
Thomas Waldmann
2907dd0094 add BountySource link 2015-07-17 22:55:28 +02:00
TW
ebd6fd5453 Merge pull request #101 from tgharold/tgharold-patch-1
Fix format issue in installation.rst for Cygwin
2015-07-16 23:54:35 +02:00
Thomas Harold
e3472a248a Fix format issue in installation.rst for Cygwin
Fixed formatting issue in installation.rst where packages were listed all on one line.
2015-07-16 16:40:33 -04:00
Thomas Waldmann
e17ca5123e Update CHANGES 2015-07-15 13:54:25 +02:00
TW
9cb038af3a Merge pull request #99 from ThomasWaldmann/attic_issue_232
fix Traceback when running check --repair, attic issue #232
2015-07-15 13:43:44 +02:00
Thomas Waldmann
e4a41c8981 fix Traceback when running check --repair, attic issue #232
This fix is maybe not perfect yet, but maybe better than nothing.

A comment by Ernest0x (see https://github.com/jborg/attic/issues/232 ):

@ThomasWaldmann your patch did the job.
attic check --repair did the repairing and attic delete deleted the archive.
Thanks.

That said, however, I am not sure if the best place to put the check is where
you put it in the patch. For example, the check operation uses a custom msgpack
unpacker class named "RobustUnpacker", which it does try to check for correct
format (see the comment: "Abort early if the data does not look like a
serialized dict"), but it seems it does not catch my case. The relevant code
in 'cache.py', on the other hand, uses msgpack's Unpacker class.
2015-07-15 13:32:05 +02:00
Thomas Waldmann
9b9c808713 fixed some minor issues found by pycharm/pytest-flakes 2015-07-15 11:30:25 +02:00
Thomas Waldmann
cc88d174af fix typos 2015-07-15 11:14:53 +02:00
TW
8885fa0dca Merge pull request #96 from ThomasWaldmann/keyfile-in-repo
repo key mode (and deprecate passphrase mode), fixes #85
2015-07-15 00:12:39 +02:00
Thomas Waldmann
50c0bb0c32 Merge branch 'master' into keyfile-in-repo 2015-07-15 00:05:18 +02:00
Thomas Waldmann
b644565546 repo key mode (and deprecate passphrase mode), fixes #85
see usage.rst change for a description and why this is needed
2015-07-15 00:01:07 +02:00
Thomas Waldmann
f330b4bd2a some doc updates, see below
faq about redundancy / integrity
compression is optional
having borg installed on backup server is optional (but faster)
cygwin installation tipps
do not document passphrase encryption mode example, use keyfile mode
2015-07-14 21:31:35 +02:00
Thomas Waldmann
3c34ef8145 clarify that borg extract uses the cwd as extraction target 2015-07-14 20:25:10 +02:00
Thomas Waldmann
b5bdb52b6a update internals doc about chunker params, memory usage and compression 2015-07-14 00:43:35 +02:00
Thomas Waldmann
b2f460d591 fix filenames used for locking, update docs about locking 2015-07-13 23:20:46 +02:00
Thomas Waldmann
b539169ec1 update CHANGES 2015-07-13 23:03:09 +02:00
TW
b3f135c642 Merge pull request #94 from ThomasWaldmann/locking
New Locking code
2015-07-13 19:27:24 +02:00
Thomas Waldmann
43bc1d5b6a improved tox configuration, documented there how to invoke it
the usage of some py.test features in the previous locking changesets somehow broke the test environment.

it seems to help to point py.test to some specific package or module (and not just invoke "py.test" without arguments).
2015-07-13 18:45:49 +02:00
Thomas Waldmann
2deb520e67 locking code: extract timeout/sleep code into reusable TimeoutTimer class 2015-07-13 16:45:18 +02:00
Thomas Waldmann
e4c519b1e9 new locking code
exclusive locking by atomic mkdir fs operation
on top of that, shared (read) locks and exclusive (write) locks using a json roster.
2015-07-13 13:55:28 +02:00
Thomas Waldmann
434dac0e48 move locking code to own module, same for locking tests
fix imports, no other changes.
2015-07-12 23:41:52 +02:00
TW
dda78d1abd Merge pull request #93 from ThomasWaldmann/mockfix
Mockfix
2015-07-12 23:38:54 +02:00
Thomas Waldmann
d8e9a9bf96 skip test_crash_before_compact test for RemoteRepository
it was silently failing until recently. and it can't work the way it is on RemoteRepository.
it's still active (and now even really working) for the (local) Repository tests.
2015-07-12 23:29:34 +02:00
Thomas Waldmann
414dba3de7 remove usage of evil / broken unittest.mock, use mock from pypi
see testsuite.mock docstring for more details.

one test shows brokenness right now that was hidden / silent until now.
2015-07-12 23:08:44 +02:00
TW
6ed086498d Merge pull request #90 from RonnyPfannschmidt/entrypoints
use entrypoints instead of scripts, for better use of the wheel format and modern installs
2015-07-12 15:28:40 +02:00
Ronny Pfannschmidt
922a1f6bb7 never fall back to distutils, any sane install method uses setuptools 2015-07-12 15:07:24 +02:00
Ronny Pfannschmidt
45e89add52 switch to entrypoints 2015-07-12 15:00:47 +02:00
TW
f6ba79d801 Merge pull request #89 from ThomasWaldmann/RepoCache
create a RepositoryCache implementation that can cope with any amount…
2015-07-12 00:28:12 +02:00
Thomas Waldmann
bd354d7bb4 create a RepositoryCache implementation that can cope with any amount of data, fixes attic #326
the old code blows up with an integer OverflowError when the cache file goes beyond 2GiB size.
the new code just reuses the Repository implementation as a local temporary key/value store.

still an issue: if the place where the temporary RepositoryCache is stored (usually /tmp) can't
cope with the cache size and runs full.

if you copy data from a fuse mount, the cache size is the copied deduplicated data size.
so, if you have lots of data to extract (more than your /tmp can hold), rather do not use fuse!

besides fuse mounts, this also affects attic check and cache sync (in these cases, only the
metadata size counts, but even that can go beyond 2GiB for some people).
2015-07-12 00:18:49 +02:00
Thomas Waldmann
afae720112 document environment variables 2015-07-11 20:08:22 +02:00
Thomas Waldmann
d1bb892c3d fix placement of return codes docs 2015-07-11 19:45:37 +02:00
Thomas Waldmann
05b21e3c0d document return codes 2015-07-11 19:27:00 +02:00
TW
4b81f380f8 Merge pull request #88 from ThomasWaldmann/py3style
style and cosmetic fixes, no semantic changes
2015-07-11 18:39:42 +02:00
Thomas Waldmann
0580f2b4eb style and cosmetic fixes, no semantic changes
use simpler super() syntax of python 3.x

remove fixed errors/warnings' codes from setup.cfg flake8 configuration

fix file exclusion list for flake8
2015-07-11 18:31:49 +02:00
TW
13f4006c03 Merge pull request #87 from ThomasWaldmann/tmpfile
use borg-tmp as prefix for temporary files / directories
2015-07-11 17:33:50 +02:00
Thomas Waldmann
a59211f295 use borg-tmp as prefix for temporary files / directories
also: remove some unused temp dir. code
2015-07-11 17:22:12 +02:00