1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 01:37:20 +00:00
Commit graph

2246 commits

Author SHA1 Message Date
Simon Heath
621aed00db Contributed Salt example to docs 2016-04-21 15:10:25 -04:00
enkore
035a884f1e Merge pull request #946 from enkore/issue/945
Fix #945
2016-04-19 09:22:10 +02:00
Marian Beermann
528913b220
Fix #945 2016-04-19 09:19:03 +02:00
Thomas Waldmann
0877d104af Merge branch 'master' into keep-last-n 2016-04-19 02:14:03 +02:00
TW
4f507c093b Merge pull request #943 from enkore/merge/1.0-maint
Merge/1.0 maint
2016-04-19 01:18:24 +02:00
enkore
76d0c20138
Merge branch '1.0-maint' into master 2016-04-19 00:54:01 +02:00
TW
3060332f06 Merge pull request #944 from ThomasWaldmann/fix-942
prune: fix bad validator, fixes #942
2016-04-19 00:50:45 +02:00
Thomas Waldmann
d52b5cf529 prune: fix bad validator, fixes #942 2016-04-19 00:49:35 +02:00
Thomas Waldmann
b4c4a24f0a prune: simplify code, have unified output list in reverse time order
to better visualize the "thinning out", we now list all archives in
reverse time order. at the left of each entry we tell whether we delete
or keep the archive.

previously it first listed all kept archives, then all deleted archives.
2016-04-18 23:16:41 +02:00
Thomas Waldmann
47103f9047 prune: reorder help text, important -> easy -> more difficult
also rephrase slightly, hopefully more clear now.
2016-04-18 23:11:59 +02:00
Thomas Waldmann
f09812d5ad implement --keep-last N via --keep-secondly N, also --keep-minutely
assuming that there is not more than 1 backup archive made in 1s,
--keep-last N and --keep-secondly N are equivalent.
2016-04-18 21:56:05 +02:00
TW
14bd4c756d Merge pull request #932 from enkore/feature/inorder
create: Visit files in inode order
2016-04-18 20:40:20 +02:00
TW
87e211f5c6 Merge pull request #934 from ThomasWaldmann/pass-meta
pass meta-data around, fixes #765
2016-04-18 20:23:30 +02:00
Thomas Waldmann
a345b34291 pass meta-data around, fixes #765
_Chunk is a namedtuple of (meta, data), create chunks using Chunk(data, **meta).

This does not yet have any visible functionality, meta is always empty dict right now.
2016-04-18 19:22:32 +02:00
Marian Beermann
f13aef5d83
create: Visit files in inode order 2016-04-17 21:32:24 +02:00
enkore
775b9c3b74 Merge pull request #920 from enkore/fix/caps
Fix capabilities extraction on Linux
2016-04-17 20:25:16 +02:00
TW
5b6377e0c2 Merge pull request #927 from ThomasWaldmann/move-constants
move some constants to new constants module
2016-04-17 20:22:16 +02:00
TW
5de002c29a Merge pull request #931 from ka7/spelling_fix
fix spelling, as of lintian.debian.org
2016-04-17 16:29:16 +02:00
klemens
6b93042ec8 fix sepelling, as of lintian.debian.org 2016-04-17 16:24:26 +02:00
Thomas Waldmann
9a70a20370 move some constants to new constants module 2016-04-17 15:58:42 +02:00
TW
77966c7007 Merge pull request #925 from enkore/fix/hashindexadd
Cache: update add_chunk to use ChunkIndex.add
2016-04-17 01:58:44 +02:00
TW
ec782ef70b Merge pull request #923 from ThomasWaldmann/docs-buzhash
docs: added some insights by "Voltara", fixes #903
2016-04-17 01:18:35 +02:00
TW
2f9e4e7004 Merge pull request #922 from ThomasWaldmann/docs-clarify-info
docs: clarify what "deduplicated size" means
2016-04-17 01:18:09 +02:00
Marian Beermann
719a27d6c7
Cache: update add_chunk to use ChunkIndex.add, fix unique count 2016-04-17 00:40:10 +02:00
Marian Beermann
01fac8d7d9 ChunkIndex.add: overwrite current (c)size w/ new values 2016-04-17 00:37:40 +02:00
Marian Beermann
39a40cd7b7
Fix capabilities extraction on Linux
They are extracted correctly, for a little while at least, since chown()
*resets* all capabilities on the chowned file. Which I find curious,
since chown() is a privileged syscall. Probably a safeguard for
sysadmins who are unaware of capabilities.

The solution is to set the xattrs last, after chown()ing files.
2016-04-16 23:52:27 +02:00
Thomas Waldmann
ec930738bf docs: added some insights by "Voltara", fixes #903 2016-04-16 23:27:01 +02:00
Thomas Waldmann
11fdaeaf85 docs: clarify what "deduplicated size" means 2016-04-16 22:35:50 +02:00
TW
30f732052e Merge pull request #918 from ThomasWaldmann/namedtuple2
better readability and less errors with namedtuples, fixes #823
2016-04-16 21:46:41 +02:00
Thomas Waldmann
3f474ffabb better readability and less errors with namedtuples, fixes #823 2016-04-16 17:48:47 +02:00
Thomas Waldmann
4de14fdd28 Merge branch '1.0-maint' 2016-04-16 16:58:43 +02:00
Thomas Waldmann
8662202486 update CHANGES 2016-04-16 02:39:22 +02:00
Thomas Waldmann
813dbc4d25 Merge branch '1.0-maint' of github.com:borgbackup/borg into 1.0-maint 2016-04-16 02:36:06 +02:00
TW
f162477c7e Merge pull request #914 from verygreen/fix-fadvise
Workround a bug in Linux fadvise FADV_DONTNEED, fixes #907
2016-04-16 02:29:35 +02:00
Oleg Drokin
ce176b52bf Workround a bug in Linux fadvise FADV_DONTNEED, fixes #907
Despite what the man page says, Linux does not discard the initial
partial page only. The ending page would be truncated no matter if
it is partial or not.
Page-align the fadvise size to take care of this.
Also while we are at it, roll back initial fadvise offset to the
previous page boundary to actually throw away that page as we
no longer need it having read the second part now and the first
time in the previous call.

This patch has a noticeable impact in my Linux testing when the file
is on the rotating media. The total test runtime decreased by a bit
over 10%, but since over half of that time was actually cpu time,
the actual iowait time decreased around 20%.
2016-04-15 20:16:47 -04:00
Thomas Waldmann
956e9957b2 update CHANGES 2016-04-16 00:59:59 +02:00
Thomas Waldmann
c4d1d01d11 use latest llfuse for vagrant machines 2016-04-16 00:57:20 +02:00
TW
104e88534e Merge pull request #910 from ThomasWaldmann/docs-clarify-mountpoint
docs fixes
2016-04-15 12:08:08 +02:00
Thomas Waldmann
43b4fda393 docs: fix confusing usage of "repo" as archive name 2016-04-15 03:38:43 +02:00
Thomas Waldmann
bc854e3e64 docs: use /path/to/repo, fixes #901
/mnt/backup was confusing as people like to mount their backup disk on /mnt/backup,
but borg init /mnt/backup does not work if that directory already exists because it is
the mountpoint. it would work, if /mnt was the mountpoint, but that is not obvious
and also unusual.
2016-04-15 03:35:37 +02:00
Thomas Waldmann
68e870795d update CHANGES 2016-04-15 03:09:18 +02:00
enkore
dd95d0ebe8 Merge pull request #891 from enkore/feature/cython-summarize
Add overflow checks to refcounting, port stuff to Cython etc
2016-04-15 00:06:25 +02:00
Marian Beermann
29ebdbadae
refcounting: use uint32_t, protect against overflows, fix merging for BE 2016-04-14 23:38:56 +02:00
Marian Beermann
c90745cdbb Port hashindex_summarize into ChunkIndex.summarize 2016-04-14 11:46:12 +02:00
TW
0a253edcfd Merge pull request #898 from ThomasWaldmann/1.0-maint
reproducible doc for ProgressIndicator*
2016-04-13 16:09:14 +02:00
Danny Edel
60ca65a438 reproducible doc for ProgressIndicator*
building the API docs captured sys.stderr's IO charset, making the build
unreproducible.
2016-04-13 14:54:34 +02:00
TW
d30842183d Merge pull request #892 from ThomasWaldmann/fix-compare-content
compare_content: fix wrong added/removed file size
2016-04-12 12:54:45 +02:00
Thomas Waldmann
6922452079 compare_content: fix wrong added/removed file size
bug: c[1] was not the size, but the byte at index 1 of the id bytestring!
2016-04-12 03:08:03 +02:00
TW
c2f95332e5 Merge pull request #887 from enkore/issue/886
hashindex_summarize: fix missing byte-order conversion
2016-04-11 23:21:48 +02:00
Marian Beermann
90a9fbd21d
hashindex_summarize: fix missing byte-order conversion
Fixes #886
2016-04-11 22:22:24 +02:00