1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 16:55:36 +00:00
Commit graph

61 commits

Author SHA1 Message Date
David Fries
f22b62c1a4 limit create file permissions
Be safe by default, create files so that other users can't read them,
at least until the original permissions are set.
2014-10-31 20:02:12 -05:00
Jonas Borgström
678fdd1d42 Fix "Number of files" output for attic info.
Closes #124
2014-10-27 22:00:56 +01:00
Jonas Borgström
193fb1fcd5 Added support for stripping leading path segments
closes #95
2014-08-02 22:15:21 +02:00
Jonas Borgström
64cd6632a1 Avoid deadlock problems
Explicitly use write locks, instead of read locks (that are later
upgraded) unless we know we will never modify the repository
2014-05-31 15:39:51 +02:00
Jonas Borgström
3ab53b776d Fix crash on extreme mtime timestamps (year 2400+)
Closes #81
2014-05-18 18:28:26 +02:00
Jonas Borgström
a87a019608 cachedir: Add CACHEDIR.TAG file to attic cache dirs 2014-05-01 14:56:21 +02:00
Jeremy Maitin-Shepard
1d5410a3cf Add --exclude-caches option, for excluding CACHEDIR.TAG directories
See http://www.brynosaurus.com/cachedir/spec.html
2014-04-30 14:57:21 -07:00
Jonas Borgström
02a8172eee docs: More improvements 2014-04-06 22:47:22 +02:00
Jonas Borgström
ead1511948 docs: More documentation improvements 2014-04-06 15:16:25 +02:00
Jonas Borgström
8080f183d6 mount: Improve fuse filesystem memory efficiency
Closes #59
2014-03-28 22:51:09 +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
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
3193af5482 Remove explicit flush calls since line_buffering is enabled. 2014-03-05 19:58:29 +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
3982c34e6c Improve attic check documentation
Closes #24.
2014-02-26 23:13:48 +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
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
7b31f23722 Replace verify command with "extract --dry-run"
closes #25
2014-02-18 21:33:06 +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
32e773c15d Implemented archive metadata checking and repair 2014-02-16 22:21:39 +01:00
Dan Christensen
a79acdd10c Correct --weekly help to say weekly, not daily. 2014-02-09 16:15:49 -05: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
5abd254a11 Fixed repository check progress reporting. 2014-02-05 20:18:31 +01:00
Jonas Borgström
faedaf8160 Basic repository consistency check functionality.
Still no archive metadata validation or repair functionality.
2014-02-05 00:04:30 +01:00
Dan Christensen
6b639e4c22 Update prune docs and a few other things in usage.rst. 2014-02-03 20:11:47 -05:00
Jonas Borgström
d023f2aa64 Remove peek concept and fix fuse issue 2014-01-23 22:13:08 +01:00
Jonas Borgström
c26d63b5fe Removed some unused imports 2014-01-23 21:46:53 +01:00
Jonas Borgström
7bacfa2d6e Improved error handling/reporting.
Closes #12.
2013-12-15 20:35:29 +01:00
Jonas Borgström
a579b7917b Remove unused imports 2013-10-18 21:00:20 +02:00
Jonas Borgström
012e0d4153 New syntax to enable repository encryption 2013-08-10 13:02:20 +02:00