2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-05 04:47:51 +00:00
Commit Graph

1647 Commits

Author SHA1 Message Date
Alexander Neumann
a93bc3c991 Rename functions, remove code for compare
* Archiver: Rename loadTree -> scan and LoadTree -> Scan
 * Archiver: Remove code to compare against an old snapshot/tree,
   the current implementation was really slow
2015-01-04 16:13:50 +01:00
Alexander Neumann
34afb00d55 Typo 2015-01-03 17:05:37 +01:00
Alexander Neumann
03c1ace107 Add details about the repository 2015-01-03 17:03:57 +01:00
Alexander Neumann
9defbc25d3 Update logo 2015-01-03 15:42:48 +01:00
Alexander Neumann
62c15649eb Describe threat model 2015-01-03 15:28:33 +01:00
Alexander Neumann
8708d0c167 Reformat paragraphs 2015-01-03 15:26:08 +01:00
Alexander Neumann
97c3c50f69 Correct URL in README.md 2015-01-02 23:16:42 +01:00
Alexander Neumann
5ec31a56f3 More hints for new contributors 2015-01-02 23:13:30 +01:00
Alexander Neumann
fdbedd525a Add notes for contributors to README.md 2015-01-02 23:11:14 +01:00
Alexander Neumann
5b82475d74 Merge branch 'restore-pattern', closes #69 2015-01-02 23:04:29 +01:00
Sebastian Schmidt
b1dbc6f062 Support for pattern in restore command
This just matches the passed pattern against the full source path with
filepath.Match which, in contrast go filepath.Glob, doesn't match the
directory separator with '*' and is not terribly useful that way.
Someone should replace that by a more sophisticated matcher.
2015-01-02 23:03:07 +01:00
Alexander Neumann
e986c8f9d0 Add more documentation 2015-01-02 22:45:02 +01:00
Alexander Neumann
2e28b88e3a Write prompt to stderr instead of stdout 2015-01-02 22:36:53 +01:00
Alexander Neumann
1789e6151d Add documentation 2015-01-02 18:43:59 +01:00
Alexander Neumann
a0f8476484 Add rough repository structure sketch 2015-01-02 13:14:52 +01:00
Sebastian Schmidt
bd43e27deb Create parent directories for restore items
When restoring an item fails with ENOENT, create parent directories and
try again. This is needed for restoring partial trees (as in: the Filter
function didn't return true for the paths leading up to this restore
item).
2015-01-01 16:40:36 +01:00
Sebastian Schmidt
fb874ea7cc Allow nil 'Filter's for restorer
Allow Filters to be nil and avoid joining the path again if no filter is
used at all.
2015-01-01 16:40:36 +01:00
Sebastian Schmidt
10b99e53e4 Pass "source" path to restorer filter function
The source path is probably more useful here as the user, when
restoring, probably wants to filter for /usr/local/foo instead of
/tmp/restore-whatever/{usr/local/,}foo.
2015-01-01 16:40:36 +01:00
Sebastian Schmidt
ccada7d89a Don't skip subtree on false filter condition when restoring
We still need to descend into subtrees and check if their filter
matches.
2015-01-01 16:40:36 +01:00
Alexander Neumann
dd040a4132 Merge pull request #68 from yath/cmd_ls
Fix 'ls' command
2015-01-01 13:11:15 +01:00
Sebastian Schmidt
190b1cdcc7 Fix 'ls' command
CmdLs needs to implement flags.Commander, so change (CmdLs) Execute to
only take a []string to get actually called.
2015-01-01 11:30:30 +01:00
Alexander Neumann
aa8f1c680e Merge branch 'master' of github.com:restic/restic 2014-12-30 20:05:25 +01:00
Alexander Neumann
9354f053bb Merge pull request #67 from yath/typo
Fix typo
2014-12-30 20:03:52 +01:00
Sebastian Schmidt
24cb360b5d Fix typo 2014-12-29 12:39:43 +01:00
Alexander Neumann
1d8e76a245 Add comment 2014-12-25 14:13:34 +01:00
Alexander Neumann
81dddfccc1 Correct fsck command in tests 2014-12-22 14:59:46 +01:00
Alexander Neumann
0d882626d9 Merge branch 'improve-fsck' 2014-12-22 14:47:21 +01:00
Alexander Neumann
1944ab13d4 Add dangling blob detection and removal to 'fsck' 2014-12-22 14:46:54 +01:00
Alexander Neumann
a981141e49 Rename Table.Print -> Table.Write 2014-12-22 11:21:14 +01:00
Alexander Neumann
5c9c1c9dbd Merge branch 'refactor-backend' 2014-12-21 18:34:04 +01:00
Alexander Neumann
5431b025a3 Reduce code duplication in key handling 2014-12-21 18:16:22 +01:00
Alexander Neumann
ef41a77aff Remove explicit key handling 2014-12-21 18:10:19 +01:00
Alexander Neumann
cc147c002e Introduce type Server 2014-12-21 17:37:29 +01:00
Alexander Neumann
661c1e9aa1 Restructure backend 2014-12-21 17:29:58 +01:00
Alexander Neumann
0e1045301a Optimize 'cat' and 'snapshots' commands 2014-12-21 17:29:37 +01:00
Alexander Neumann
5eaa427e80 Save UID and GID as integer in Snapshot 2014-12-21 17:20:49 +01:00
Alexander Neumann
2fd29dd5f6 Merge branch 'find-file' 2014-12-07 17:24:20 +01:00
Alexander Neumann
879abd0d12 Add time to command 'find' 2014-12-07 17:23:00 +01:00
Alexander Neumann
28bb061ad3 Refactor commands 2014-12-07 16:32:23 +01:00
Alexander Neumann
b3deca33a9 Add command 'find' 2014-12-07 14:44:01 +01:00
Alexander Neumann
988d18bb1d Improve output 2014-12-07 14:26:32 +01:00
Alexander Neumann
202984a93f Rename snapshot.Content -> snapshot.Tree 2014-12-07 14:14:50 +01:00
Alexander Neumann
73be0d5b18 Redude workers in tests to 20 2014-12-07 14:14:50 +01:00
Alexander Neumann
3336f2b8e7 Check number of bytes saved for each file 2014-12-07 13:34:56 +01:00
Alexander Neumann
a9077725ab Merge branch 'fix-umlauts' 2014-12-07 13:07:07 +01:00
Alexander Neumann
45e40eb27a Correctly encode non utf8 node names 2014-12-07 13:06:35 +01:00
Alexander Neumann
fa94d408f3 Remove old khepri binary 2014-12-06 17:59:21 +01:00
Alexander Neumann
ddb8e4abdd Update README.md buttons 2014-12-05 21:58:42 +01:00
Alexander Neumann
4b390155b2 Update README 2014-12-05 21:53:26 +01:00
Alexander Neumann
29cafc08ef Add logo 2014-12-05 21:46:50 +01:00