Thomas Waldmann
21cfdde73b
adjust docs theme colours for note divs
2015-06-11 22:26:02 +02:00
Thomas Waldmann
dd78e1a56e
improve docs, usage help, changelog
2015-06-11 22:18:12 +02:00
TW
edd0d491c0
Merge pull request #49 from ThomasWaldmann/improve-internals-docs
...
improve internals docs
2015-06-10 00:31:25 +02:00
Thomas Waldmann
83f520cfbe
improve internals docs
2015-06-07 02:15:13 +02:00
TW
c97a353356
Merge pull request #47 from ThomasWaldmann/magic-length
...
don't hardcode MAGIC length
2015-06-05 23:30:08 +02:00
Thomas Waldmann
614261604e
don't hardcode MAGIC length
2015-06-02 02:41:23 +02:00
TW
8a5ddcfd19
Merge pull request #42 from ThomasWaldmann/micro-opts
...
Micro opts
2015-05-31 22:08:57 +02:00
Thomas Waldmann
646cdca312
"extract" micro optimization: first check for regular files, then for directories, check for fifos late
...
regular files are most common, more than directories. fifos are rare.
was no big issue, the calls are cheap, but also no big issue to just fix the order.
2015-05-31 21:55:15 +02:00
Thomas Waldmann
ed1e5e9c13
"create" micro optimization: do not check for sockets early
...
they are rare, so it's pointless to check for them first.
seen the stat..S_ISSOCK in profiling results with high call count.
was no big issue, that call is cheap, but also no big issue to just fix the order.
2015-05-31 21:54:51 +02:00
TW
69371153d1
Merge pull request #33 from ThomasWaldmann/quick-sync
...
speed up chunks cache sync, fixes #18
2015-05-31 19:27:23 +02:00
Thomas Waldmann
a3f4d19515
speed up chunks cache sync, fixes #18
...
Re-synchronize chunks cache with repository.
If present, uses a compressed tar archive of known backup archive
indices, so it only needs to fetch infos from repo and build a chunk
index once per backup archive.
If out of sync, the tar gets rebuilt from known + fetched chunk infos,
so it has complete and current information about all backup archives.
Finally, it builds the master chunks index by merging all indices from
the tar.
Note: compression (esp. xz) is very effective in keeping the tar
relatively small compared to the files it contains.
Use python >= 3.3 to get better compression with xz,
there's a fallback to bz2 or gz when xz is not supported.
2015-05-31 19:17:01 +02:00
TW
95744a13dc
Merge pull request #40 from ThomasWaldmann/one-memcpy-less
...
One memcpy less
2015-05-31 19:09:19 +02:00
TW
8d7fe49398
Merge pull request #39 from ThomasWaldmann/master
...
updates by jborg, more error msg improvements, open in binary mode
2015-05-31 18:47:25 +02:00
Thomas Waldmann
072326fef0
chunker: get rid of read_buf
...
if we have a OS file handle, we can directly read to the final destination - one memcpy less.
if we have a Python file object, we get a Python bytes object as read result (can't save the memcpy here).
2015-05-31 18:41:23 +02:00
Thomas Waldmann
926454c0d8
explicitely specify binary mode to open binary files
...
on POSIX OSes, it doesn't make a difference, but it is cleaner and also good for portability.
2015-05-31 17:57:45 +02:00
Thomas Waldmann
776bb9fabc
hashindex: improve error messages
2015-05-31 17:48:19 +02:00
Thomas Waldmann
91e10fec5f
Merge branch 'master' of github.com:jborg/attic
2015-05-31 17:37:02 +02:00
TW
374fb94aa2
Merge pull request #38 from ThomasWaldmann/fast-list-archives
...
efficient archive list from manifest, fixes attic #167
2015-05-26 02:16:45 +02:00
Thomas Waldmann
d067bc3178
efficient archive list from manifest
...
a lot of speedup for:
"list <repo>", "delete <repo>" list, "prune" - esp. for slow connections to remote repositories.
the previous method used metadata from the archive itself, which is (in total) rather large.
so if you had many archives and a slow (remote) connection, it was very slow.
but there is a lot easier way: just use the archives list from the repository manifest - we already
have it anyway and it also has name, id and timestamp for all archives - and that's all we need.
I defined a ArchiveInfo namedtuple that has same element names as seen as attribute names
of the Archive object, so as long as name, id, ts is enough, it can be used in its place.
2015-05-26 02:04:41 +02:00
Jonas Borgström
2b348104f6
hashindex: Fix hashindex ARM memory alignment issue
...
Closes #309
2015-05-24 21:48:03 +02:00
Thomas Waldmann
74409e4fcb
Merge github.com:borgbackup/borg
2015-05-23 17:10:45 +02:00
Thomas Waldmann
8d0c5316f8
remove gh-pages Makefile target (not used)
2015-05-23 00:40:30 +02:00
TW
10a27da556
Merge pull request #31 from ThomasWaldmann/master
...
faq updates, website update automation
2015-05-23 00:17:56 +02:00
Thomas Waldmann
cd3a76909d
faq: markup fixes, typos
2015-05-23 00:15:58 +02:00
Thomas Waldmann
f6442fe7f0
automate updating the borgbackup.github.io repo/website
...
cd docs ; make gh-io
2015-05-23 00:12:17 +02:00
Thomas Waldmann
9d1560f830
faq: updates, fixes
2015-05-22 23:56:29 +02:00
Thomas Waldmann
7e9fefd92a
updated CHANGES
2015-05-22 23:28:55 +02:00
TW
da8a600b44
Merge pull request #25 from anarcat/fork-faq
...
explain the reason behind the fork
2015-05-22 23:05:08 +02:00
TW
e5e9f9acb2
Merge pull request #30 from ThomasWaldmann/master
...
tags and a glob fix
2015-05-22 22:58:12 +02:00
Thomas Waldmann
0ad2ab2496
a bit too much glob there in setup.py, removed
2015-05-22 22:55:35 +02:00
Antoine Beaupré
1edd5daef9
try to clarify link
2015-05-22 16:09:46 -04:00
Antoine Beaupré
ef373b120f
uppercase borg
2015-05-22 16:09:38 -04:00
Thomas Waldmann
7df45d7739
Attic 0.16
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAABCAAGBQJVV5xkAAoJEBl3gZYVhOBchnsH/3elb/XpRjWYOSUn7P2MRQmZ
k0koxcXQkgIVSXt541PrkpiQaQE7cWMNQHlEUhSMM9SIr2CsqYDjZ6XLoUqbMmnO
SjLnwtEIjCinpZTIJoGticwF8nREKZsccA1JBSl4tFVCQv+m11+QuhCEXLHd4NvP
Yq6XxfkI6XkiibqslPdKWH/XOCO8np2YHV4Hcf6BdUcvlPw5BnGtssFfpO9W8lvZ
k7Oz15VCTDpPdUHtwFjYRNVSoIA2lpX0AHbEQBfKmSUYcpZmg7y67opNHH9vwP85
HXXgeUEA9T7KSmDu/xtCO0AEMt+gVFtZMm7OgilUiREZkFTt64AmujTjJvbN7uI=
=Kva2
-----END PGP SIGNATURE-----
Merged CHANGES from tag '0.16'
2015-05-22 21:52:12 +02:00
TW
b6cc2fe2ad
Merge pull request #29 from ThomasWaldmann/master
...
use py.test, add cfg for flake8
2015-05-22 21:40:34 +02:00
Thomas Waldmann
e1c7da1f53
add flake8 configuration (style checker)
...
currently adjusted in a way it does not throw errors and warnings with
the source as it is now.
issues will get fixed over time and the exclude list shall get shorter.
2015-05-22 21:28:00 +02:00
Thomas Waldmann
906ea629f6
use py.test for testing, document it
...
locally (via tox) and also on travis ci.
2015-05-22 21:26:41 +02:00
TW
cf1d7b68b0
Merge pull request #27 from ThomasWaldmann/master
...
rename pkg dir, fix tox 2.0 compat
2015-05-22 19:54:15 +02:00
Thomas Waldmann
b5b1af2195
tox >= 2.0 needs passenv in tox.ini, so that fakeroot can work
...
tox 2.x does not inherit environment vars by default.
2015-05-22 19:30:56 +02:00
Thomas Waldmann
5e98400a5a
fix all references to package name
...
use relative imports if possible
reorder imports (1. stdlib 2. dependencies 3. borg 4. borg.testsuite)
2015-05-22 19:21:41 +02:00
Thomas Waldmann
78bfc58b47
rename package directory to borg
2015-05-22 17:48:54 +02:00
Antoine Beaupré
622e05bcee
add more information about the objectives of borg
2015-05-21 21:55:29 -04:00
Antoine Beaupré
22acb80bf9
explain the reason behind the fork
2015-05-21 21:49:44 -04:00
TW
756e284b0d
Merge pull request #19 from ThomasWaldmann/master
...
toplevel error handler: show tracebacks
2015-05-17 23:20:50 +02:00
Thomas Waldmann
6c74cae47e
Merge branch 'print_exc' of ../attic
2015-05-17 23:08:21 +02:00
Jonas Borgström
d7cd3bb8bd
hashindex: Improve error messages
...
This should make ENOSPC issues like #298 easier to identify
2015-05-16 22:49:28 +02:00
Jonas Borgström
7b61f6aff4
Updated CHANGES
2015-05-16 21:35:31 +02:00
Jonas Borgström
321b4d1afd
Merge pull request #308 from jdchristensen/patch-1
...
Use --keep-monthly instead of --monthly in usage.rst
2015-05-16 21:22:53 +02:00
TW
10c0f4e1d4
Merge pull request #15 from ThomasWaldmann/master
...
better docs
2015-05-15 19:45:59 +02:00
Thomas Waldmann
afc2dab71e
docs: more borg (or project_name)
2015-05-15 19:22:52 +02:00
Thomas Waldmann
56fd96589b
docs: make clear that remote repos used via ssh need a remote borg
2015-05-15 18:35:14 +02:00