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

124 commits

Author SHA1 Message Date
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
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
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
Jonas Borgström
7bcb0f97d6 Slightly lower the number of file descriptors kept open
This is needed to support old version of sftp-server that only
support 100 open file descriptors. Closes #40.
2014-02-17 21:16:04 +01:00
Jonas Borgström
893120e609 attic check performance improvement and minor progress reporting changes 2014-02-17 18:25:25 +01:00
Jonas Borgström
c394a31d62 Improved archive metadata deduplication. 2014-02-16 23:36:48 +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
0d248192e5 Implemented Repository.list() 2014-02-10 21:55:22 +01:00
Jonas Borgström
bbf490bf8b More repository check/repair improvements 2014-02-10 21:32:18 +01:00
Jonas Borgström
22548841a2 Merge pull request #38 from jdchristensen/quickstart
Quickstart and --weekly doc fixes
2014-02-10 12:50:57 +01:00
Dan Christensen
a79acdd10c Correct --weekly help to say weekly, not daily. 2014-02-09 16:15:49 -05:00
Jonas Borgström
ab1cf32071 Implemented hashindex.iteritems(marker=X) 2014-02-09 22:05:33 +01:00
Jonas Borgström
1e4fd4e18a PyBuffer_FromMemory should be a static function 2014-02-09 21:25:05 +01:00
Jonas Borgström
66fe7e5377 Removed redundant is_a_terminal function and minor check fixes. 2014-02-09 20:35:00 +01:00
Jonas Borgström
14dd0414eb Merge remote-tracking branch 'jdchristensen/help' 2014-02-09 20:30:57 +01:00
Jonas Borgström
1809ea2f3e More attic check --repair improvements 2014-02-09 16:05:04 +01:00
Jonas Borgström
33b58eac82 Initial check --repair support 2014-02-09 16:05:04 +01:00
Jonas Borgström
5898b3b935 Merge remote-tracking branch 'jdchristensen/prune-within'
Conflicts:
	attic/archiver.py
2014-02-09 16:04:32 +01:00
Dan Christensen
b5483b79a4 Add a --within option to the prune command. 2014-02-08 15:37:27 -05:00
Dan Christensen
9d19550c1a Add support for --exclude-from. 2014-02-08 12:44:48 -05:00
Dan Christensen
020c4f802f return self.exit_code from do_help 2014-02-08 11:51:44 -05:00
Dan Christensen
989a86463c Escape the backslash in the help text. 2014-02-08 11:45:36 -05:00
Dan Christensen
c0cb26613d On help on patterns. 2014-02-08 09:44:31 -05:00
Jonas Borgström
2252616f9e Repository code cleanup 2014-02-08 13:32:47 +01:00
Dan Christensen
4da8466b3b Fix a doc typo. 2014-02-07 18:10:52 -05:00
Dan Christensen
b76a40c987 Simplify the ExcludePattern logic further, and explain. 2014-02-07 18:04:21 -05:00
Dan Christensen
8cc74be62e Simplify IncludePattern and add a few more tests to PatternTestCase. 2014-02-07 16:27:18 -05:00