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

493 commits

Author SHA1 Message Date
Tung Dao
6d77808bec Fix for ISO C90 compliance 2014-03-30 22:43:31 +07:00
Jonas Borgström
1db4ba52f9 Make sure key files end with a new line 2014-03-28 22:56:40 +01:00
Jonas Borgström
8080f183d6 mount: Improve fuse filesystem memory efficiency
Closes #59
2014-03-28 22:51:09 +01:00
Jonas Borgström
3b80688959 mount: Load archive metadata on demand 2014-03-27 23:01:14 +01: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
8e078b5f91 Initial (naive) full repository fuse mount support 2014-03-26 22:06:53 +01:00
Jonas Borgström
a9fc62cc9a Added option to restrict remote repository access to specific path(s)
With this option remote repository access can be restricted to a
specific path for a specific ssh key using the following line
in ~/.ssh/authorized_keys::

command="attic serve --restrict-to-path /data/clientA" ssh-rsa clientA's key
command="attic serve --restrict-to-path /data/clientB" ssh-rsa clientB's key

Closes #51.
2014-03-24 21:28:59 +01:00
Jonas Borgström
3d53e00116 Added Johann Klähn to AUTHORS 2014-03-22 20:31:27 +01:00
Jonas Borgström
8e43ebcd29 Merge pull request #57 from kljohann/help
accept names of other commands in help command
2014-03-22 20:29:13 +01:00
Johann Klähn
f47353e7ef accept names of other commands in help command 2014-03-21 22:12:15 +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
839dd94a59 prune: Delete all archives in a single transaction
This will improve performance and make the whole operation atomic
2014-03-19 21:58:25 +01:00
Jonas Borgström
80e7e637cc Make --stats output 78 characters wide 2014-03-19 21:52:49 +01:00
Jonas Borgström
92c333c071 Add a method to detect out of date binary extension modules 2014-03-18 22:04:08 +01:00
Jonas Borgström
e398d5f632 Include "all archives" size information in "--stats" output.
Closes #54
2014-03-18 21:42:03 +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
c20aba8c4c docs: Add link to Slackware packages 2014-03-12 21:00:30 +01:00
Jonas Borgström
0e39acffd3 crypto: convert attic.crypto into a cython module
This will give a slight performance boost and make the openssl
detection/linking more robust.
2014-03-10 22:50:38 +01:00
Jonas Borgström
8101017c1f tox: Make sure mock is installed in the py32 env 2014-03-10 22:05:23 +01:00
Jonas Borgström
fe9e2e3303 website: github ribbon should be a https link 2014-03-09 22:39:44 +01:00
Jonas Borgström
10ef7fe0f2 Move website to attic-backup.org 2014-03-09 15:12:07 +01:00
Jonas Borgström
e3610c4bbf Preparing release 2014-03-07 15:12:01 +01:00
Jonas Borgström
90fe318809 Attempt to make the archive metadata resync more robust 2014-03-06 20:05:13 +01:00
Jonas Borgström
66a84c0c12 check: Fix a check --repair issue and added more tests 2014-03-06 12:05:22 +01:00
Jonas Borgström
9dce2362cc archive checkpoint: Reset timer after the checkpoint has been committed 2014-03-05 20:00:27 +01:00
Jonas Borgström
3193af5482 Remove explicit flush calls since line_buffering is enabled. 2014-03-05 19:58:29 +01:00
Jonas Borgström
11c08f412a check: No progreess output to stderr during archives check 2014-03-04 22:02:35 +01:00
Jonas Borgström
55a26e553f check: replace --phase with --repository/archives-only 2014-03-04 21:56:37 +01:00
Jonas Borgström
477e1a39dd check: Make sure all non-critical output is sent to stdout 2014-03-04 21:21:58 +01:00
Jonas Borgström
a68e48bc30 check: Make item stream resync a bit more robust 2014-03-04 21:15:52 +01:00
Jonas Borgström
7be0ad609d Make the manifest rebuild code more robust
Try to make sure we've actually found msgpack data before feeding
it into msgpack.
2014-03-01 15:00:21 +01:00
Jonas Borgström
3982c34e6c Improve attic check documentation
Closes #24.
2014-02-26 23:13:48 +01:00
Jonas Borgström
678fb2c845 testsuite: Fix test test_prune_repository 2014-02-26 20:27:08 +01:00
Jonas Borgström
1b42da1fa5 Merge remote-tracking branch 'jdchristensen/prune-docs-info' 2014-02-26 20:26:37 +01:00
Jonas Borgström
fd2f3ea634 Fix UnicodeEncodeError on verbose output of unicode paths
We can't assume that the stdout encoding is not less restrictive
than the filesystem encoding.
2014-02-25 12:33:23 +01:00
Dan Christensen
78c2ef6a13 When -v is specified with prune, also show the timestamp of each
archive, which is helpful for debugging.  Unify this with the
formatting done by "attic list".  The spacing is chosen so that
the attic prune output is 79 characters wide when the archive
names are at most 36 characters.
2014-02-24 19:46:56 -05:00
Dan Christensen
4c4018e1d7 Update prune documentation to use new command line options,
and also to say that the time that matters is the time each
backup completes.
2014-02-24 19:32:18 -05:00
Jonas Borgström
a229db0dce check: More code cleanup 2014-02-24 23:37:21 +01:00
Jonas Borgström
9e8a944a2a check: archive metadata recovery improvements 2014-02-24 22:44:43 +01:00
Jonas Borgström
c1e1d6e9dd repository: Fixed a potential infinite loop in recover_segment 2014-02-24 12:59:38 +01:00
Jonas Borgström
88ff981eee Ignore xattr errors during extract if not supported by the filesystem
Closes #46.
2014-02-23 13:15:57 +01:00
Jonas Borgström
6425d16aa8 repository: Fix potential race condition
If we crash between compact_segments() and write_index() and the
transaction deletes objects that are newer than the current index
might become undeleted.
2014-02-21 20:20:17 +01:00
Jonas Borgström
bd22bc8cb2 Automatically replay segments to rebuild missing repository index 2014-02-20 23:49:35 +01:00
Jonas Borgström
ea70050cf4 Merge pull request #43 from jdchristensen/prune-dry-run
Add --dry-run option to prune.
2014-02-20 12:41:12 +01:00
Dan Christensen
5d2d3f1f93 Add --dry-run option to prune. 2014-02-19 21:33:05 -05:00
Jonas Borgström
e458f859d3 Added command line deprecation functionality
The following deprecations are currently handled:

- attic verify -> attic extract --dry-run
- attic prune --hourly|daily|... -> attic prune --keep-X
2014-02-19 22:53:44 +01:00
Jonas Borgström
052e4f2074 Remove some autogenerated files 2014-02-18 23:10:32 +01:00
Jonas Borgström
d551b13a23 Use StableDict in a few more places 2014-02-18 23:09:12 +01:00
Jonas Borgström
7b31f23722 Replace verify command with "extract --dry-run"
closes #25
2014-02-18 21:33:06 +01:00
Jonas Borgström
30daa23e42 Minor cleanup 2014-02-18 21:16:36 +01:00