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

823 commits

Author SHA1 Message Date
Thomas Waldmann
6d0a00496a determine and report chunk counts in chunks index
borg info repo::archive now reports unique chunks count, total chunks count

also: use index->key_size instead of hardcoded value
2015-06-19 23:53:23 +02:00
TW
b41b7d06c5 Merge pull request #59 from ThomasWaldmann/fix-no-remote-borg
better Exception msg if there is no Borg installed on the remote repo…
2015-06-18 23:35:56 +02:00
Thomas Waldmann
2743ab1593 better Exception msg if there is no Borg installed on the remote repository server
(still a bit ugly to get even 2 tracebacks)
2015-06-18 23:18:05 +02:00
TW
9eaaaed95b Merge pull request #55 from pguth/patch-1
Update installation.rst
2015-06-15 15:07:54 +02:00
Per Guth
e168b41406 Update installation.rst 2015-06-15 14:40:11 +02:00
Per Guth
041357e48a Update installation.rst
Replicated Ubuntus dependency list.
2015-06-15 14:39:04 +02:00
Per Guth
1dc00e7937 Update installation.rst
please test on fresh installation.
2015-06-15 13:09:39 +02:00
Thomas Waldmann
9880ac7ba8 README: mention pytest 2015-06-12 00:11:16 +02:00
Thomas Waldmann
98a015772d forgot to list some 0.23.0 stuff in CHANGES 2015-06-12 00:05:35 +02:00
Thomas Waldmann
c7da105fd0 add AUTHORS to MANIFEST.in, so it gets included in releases 2015-06-11 23:04:31 +02:00
Thomas Waldmann
a3b5a1beba add first borg release version number to CHANGES 2015-06-11 22:56:53 +02:00
Thomas Waldmann
e92d94cb07 rephrase compatibility note 2015-06-11 22:54:33 +02:00
TW
f5cb49f09a Merge pull request #52 from ThomasWaldmann/doc-update
Doc update
2015-06-11 22:41:00 +02:00
Thomas Waldmann
d1f56d480b update AUTHORS 2015-06-11 22:29:02 +02:00
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