Thomas Waldmann
cb5c9b63b3
fork: s/attic/borg/g, fix URLs, add new section to AUTHORS
...
use borg instead attic except at the places where it was used:
- as toplevel package name, directory name, file name
- to refer to original attic
remove sphinx upload make command, will be replaced by github.io site later
remove references to binary downloads and linux packages for now
remove some software name references, fix grammar
use borgbackup rather than borg-backup (or borg) in URLs,
less name collision issues, better search results, no validity issues with "-"
2015-05-13 15:02:33 +02:00
Thomas Waldmann
f9d90482c4
merged master
2015-05-10 16:36:10 +02:00
Jonas Borgström
a24d0f4cba
Fix typo preventing the security confirmation prompt from working
...
Closes #303
2015-05-08 17:41:50 +02:00
Thomas Waldmann
354b3d34e3
Merge branch 'master' into merge
2015-04-21 21:02:42 +02:00
Jonas Borgström
dd0c69ac32
Fix "All archives" output for attic info
...
Closes #183
2015-04-19 23:45:05 +02:00
Thomas Waldmann
fc97099924
Merge branch 'master' into merge
2015-04-15 23:04:34 +02:00
Jonas Borgström
848666e7cb
cache: Treat EOFError as a negative _confirm answer
2015-04-15 21:35:56 +02:00
Thomas Waldmann
118fb1a55c
PR #226 - Merge branch 'delete_repo' into merge
2015-04-15 19:05:58 +02:00
Thomas Waldmann
3a382e9b46
Merge branch 'master' into merge
2015-04-15 02:41:55 +02:00
Jonas Borgström
7198929bae
cache: Warn user before accessing relocated repositories
...
This also closes #225
2015-04-13 22:42:32 +02:00
Thomas Waldmann
233d1f7272
Merge security fix from master. Merge branch 'master' into merge
2015-04-07 18:05:36 +02:00
Jonas Borgström
78f9ad1fab
Require approval before accessing previously unknown unencrypted repositories
...
Closes #271
2015-04-06 23:07:10 +02:00
Thomas Waldmann
b7cefacb69
Merge branch 'python_cleanup' into merge
...
Conflicts:
attic/archiver.py
attic/remote.py
2015-03-18 00:23:41 +01:00
Thomas Waldmann
fec5572836
no Class(object) in py3
2015-03-17 23:03:36 +01:00
Thomas Waldmann
67eaa9d654
PR #225 - Merge branch 'fix_cache_close' of https://github.com/ThomasWaldmann/attic into merge
2015-03-09 16:21:15 +01:00
Thomas Waldmann
6e6819e626
attic delete: add repository + local cache deletion
2015-03-09 16:02:06 +01:00
Thomas Waldmann
d3fe74d4c0
Cache: do not try to release the lock twice
...
If Cache was already closed and __del__ was called, it called close() again
and crashed when trying to release the lock again.
2015-03-09 15:17:56 +01:00
Thomas Waldmann
4633931413
add global option --no-cache-files to lower memory consumption
...
When given, attic does not use the "files" cache. Saves about 240B RAM per file
(that sounds only a little, but consider that backups nowadays are often millions of files).
So try this if attic eats more memory than you have as RAM (usually means paging or
MemoryErrors). Of course, saving memory is not for free. In my one experiment, run time
increased from 3.5 to 23 minutes (my system has enough RAM).
2015-03-08 15:01:24 +01:00
Jonas Borgström
2f72b9f960
HashIndex: Switch to a non-mmap based implementation
...
This eliminates unnecessary IO on low memory systems
2014-07-10 15:32:29 +02:00
Jonas Borgström
df85e72d3c
Fix file cache save bug
2014-06-03 23:10:52 +02:00
Jonas Borgström
243481f6da
Fix test suite breakage
2014-06-03 22:00:34 +02:00
Jonas Borgström
80a2a4113f
Revert "Reduce memory usage when backing up many small files"
...
The memory usage should be reduced a fair bit by #90 so this
might not be needed anymore. Or at least not enabled by default
2014-06-03 21:39:26 +02:00
Jonas Borgström
7f9fe03917
cache: Reduce file cache memory usage ( #90 )
...
The memory usage is reduced at the expence of extra msgpack
packing/unpacking. Hopefully this is a good tradeoff.
Ideally the entire cache should be replaced with a radix tree
but that will have to wait a bit.
2014-06-03 21:19:02 +02:00
Jonas Borgström
055a40910b
Reduce memory usage when backing up many small files
...
Closes #69 .
2014-05-03 13:35:48 +02:00
Jonas Borgström
9ae3d10a99
cache: Properly clean up txn.tmp after a failed commit
2014-03-30 22:46:57 +02:00
Jonas Borgström
af262482de
mount: Use RepositoryCache
...
This makes a full repository mount a bit faster but it's still
too slow and memory hungry.
2014-03-26 22:42:20 +01:00
Jonas Borgström
8a1ebe0112
Added '--stats' option to attic prune and attic delete
2014-03-19 22:32:07 +01:00
Jonas Borgström
c3ca45315b
cache: Speed up cache rebuild by caching archive metadata requests
2014-03-13 22:29:47 +01:00
Jonas Borgström
d44fa850cd
Fix exception during "attic create" with repeated files
...
Closes #39
2014-02-16 22:37:12 +01:00
Jonas Borgström
32e773c15d
Implemented archive metadata checking and repair
2014-02-16 22:21:39 +01:00
Jonas Borgström
b41914aa8f
Verify archive metadata version before syncing cache.
2014-01-22 22:10:36 +01:00
Jonas Borgström
bd5b72a646
Improved remote repository performance and reliability
2014-01-22 20:59:12 +01:00
Jonas Borgström
7bacfa2d6e
Improved error handling/reporting.
...
Closes #12 .
2013-12-15 20:35:29 +01:00
Jonas Borgström
a56652f5c1
Use lockf() instead of flock() when locking repository/cache
...
This is a reworked version of Petros Moisiadis' original pull request
since some extra effort is needed to support access to read-only
repositories.
2013-12-14 20:44:20 +01:00
Jonas Borgström
5fa5380f0f
Detect and abort if repository is older than the cache
2013-08-09 23:23:00 +02:00
Jonas Borgström
b718a443a8
Project rename
2013-07-09 20:14:18 +02:00