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

1082 Commits

Author SHA1 Message Date
Florian Weingarten
b6b1f41f2e Merge pull request #234 from restic/osxfuse
osxfuse for travis on darwin
2015-07-19 01:05:11 +02:00
Alexander Neumann
60d3f831f6 Merge pull request #235 from restic/add-vagrantfile
Add Vagrantfile
2015-07-19 00:05:56 +02:00
Alexander Neumann
ed499440cc Add note about vagrant 2015-07-19 00:05:04 +02:00
Florian Weingarten
7725dedf2d fix permissions 2015-07-18 17:59:25 -04:00
Alexander Neumann
149b634333 Add Vagrantfile
This defines Linux, FreeBSD and OpenBSD VMs and creates a Go
environment.

Micro-tutorial:

    $ vagrant up freebsd
    [wait...]

    $ vagrant ssh freebsd -c 'cd restic/restic; go test -v ./...'
    [test output]
2015-07-18 23:25:30 +02:00
Florian Weingarten
a8401973a8 osxfuse for travis on darwin 2015-07-18 17:13:37 -04:00
Alexander Neumann
528dba2255 Add demo recording 2015-07-16 23:35:18 +02:00
Alexander Neumann
3f8f391d0b Merge pull request #230 from restic/refresh-locks
Refresh locks
2015-07-13 20:12:26 +02:00
Alexander Neumann
159b9e80c4 cmd/restic: implement lock refresh 2015-07-12 22:10:01 +02:00
Alexander Neumann
781ec903e8 lock: add Refresh method 2015-07-12 21:02:00 +02:00
Alexander Neumann
2cc5318c46 Merge pull request #214 from restic/fix-fsck
Add checker and command 'check' to replace 'fsck'
2015-07-12 18:43:34 +02:00
Alexander Neumann
d36f07c6eb checker: add option to remove orphaned packs 2015-07-12 17:14:10 +02:00
Alexander Neumann
5108d91bc7 checker: check trees and blobs in parallel 2015-07-12 16:50:12 +02:00
Alexander Neumann
5d2d552084 Update README 2015-07-12 01:48:37 +02:00
Alexander Neumann
af02c323cd checker: use channel of error instead of slice 2015-07-12 01:46:10 +02:00
Alexander Neumann
7e6174126f checker: run Packs() in parallel 2015-07-12 00:25:42 +02:00
Alexander Neumann
b4170ff45f sftp: change debug tag to debug_sftp 2015-07-11 23:03:34 +02:00
Alexander Neumann
04f172b38d checker: Add checker and tests 2015-07-11 16:27:41 +02:00
Alexander Neumann
54c4c29a89 Add checker and command 'check' to replace 'fsck' 2015-07-11 16:27:38 +02:00
Alexander Neumann
cbcf58f1c0 repository: Improve error message 2015-07-11 16:13:11 +02:00
Alexander Neumann
8dba52dd71 walk: Honor close of the done channel 2015-07-11 16:13:11 +02:00
Alexander Neumann
1c14be8993 backend: Remove IDSet
This can easily be replaced by a map[{32}byte]struct{}, and this is much
faster.
2015-07-11 16:12:50 +02:00
Alexander Neumann
982f7e2379 Merge pull request #218 from restic/fix-202
Fix restore filter
2015-07-09 22:41:52 +02:00
Alexander Neumann
807bb58e98 Merge pull request #227 from restic/disable-gox-on-darwin
Disable gox cross compile on darwin
2015-07-09 22:41:22 +02:00
Alexander Neumann
fd0c3d969d Disable gox cross compile on darwin 2015-07-09 21:05:04 +02:00
Alexander Neumann
389ec9b101 Add tests for restore filter 2015-07-09 20:12:31 +02:00
Alexander Neumann
cef57e7abd restorer: Initialize SelectForRestore with default 2015-07-09 20:12:31 +02:00
Alexander Neumann
7255e4feb3 restorer: Move filter to restoreTo() 2015-07-09 20:12:31 +02:00
Alexander Neumann
3e0a97fb13 Fix restore filter
Internally rename restorer.Filter -> restorer.SelectForRestore to make
semantic clear.

In addition, swap parameters to filepath.Match() so that the pattern can
really be matched.

Limitation: The filter only works on the filename, not on any path
component, e.g. '*.go' selects all go files, 'subdir/foo*' doesn't
select anything.

Fixes #202.
2015-07-09 20:12:31 +02:00
Florian Weingarten
6e3486fee8 Merge pull request #225 from restic/fix_darwin_tests
Fix darwin tests
2015-07-09 18:36:31 +02:00
Florian Weingarten
c2d5a9209e fix darwin integration tests 2015-07-09 11:13:40 -04:00
Florian Weingarten
775529f1ff Fix darwin tests 2015-07-09 10:52:44 -04:00
Alexander Neumann
0762f7daba Merge pull request #219 from restic/extract_chunker
Extract chunker
2015-07-08 23:40:43 +02:00
Florian Weingarten
36a62cf77d Extract chunker 2015-07-08 16:58:23 -04:00
Alexander Neumann
07dc5a482d Merge pull request #220 from restic/pgp
Note about security bugs
2015-07-08 20:49:42 +02:00
Alexander Neumann
6c51a77392 Merge pull request #221 from restic/fix_count_error
Count non-regular files for progress as well
2015-07-08 20:46:08 +02:00
Alexander Neumann
84bf6dde8c Merge pull request #222 from restic/more_useful_errors
More useful error messages
2015-07-08 20:40:39 +02:00
Florian Weingarten
66fe9035ef More useful error messages 2015-07-08 09:15:06 -04:00
Florian Weingarten
82139912e8 Count non-regular files for progress as well 2015-07-08 08:56:47 -04:00
Florian Weingarten
b34a7cbf7a Note about security bugs 2015-07-07 19:43:55 -04:00
Alexander Neumann
50f9c20987 Merge pull request #217 from restic/fix-128
cmd_backup: filter non-existing target files/dirs
2015-07-06 23:14:54 +02:00
Alexander Neumann
57eb1a4eea cmd_backup: filter non-existing target files/dirs 2015-07-06 23:02:16 +02:00
Alexander Neumann
cbe4c92c83 Merge pull request #216 from restic/fix-215
Command `snapshots`: do not list first dir twice
2015-07-06 22:36:34 +02:00
Alexander Neumann
c8bb688e26 Command snapshots: do not list first dir twice 2015-07-06 22:26:31 +02:00
Alexander Neumann
de5a530d2a Merge pull request #213 from restic/refactor
Minor refactor
2015-07-05 18:13:08 +02:00
Alexander Neumann
5c1fe5784a repository: Load index in parallel 2015-07-05 11:07:10 +02:00
Alexander Neumann
14d252dfba Allow cancelling parallel workers on files 2015-07-05 11:07:10 +02:00
Alexander Neumann
0b531210eb Add repository.FilesInParallel 2015-07-05 11:07:10 +02:00
Alexander Neumann
885b27fdbb Add test and benchmark for LoadIndex 2015-07-05 11:07:10 +02:00
Alexander Neumann
0ad6bdbc09 Add more test helpers 2015-07-05 11:07:10 +02:00