Commit Graph

891 Commits

Author SHA1 Message Date
Matthieu Rakotojaona a6ce7d9845 Use more restic-y idioms 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona 3a82612244 Update bazil.org/fuse version 2015-07-19 23:03:32 +02:00
Matthieu Rakotojaona 32a321e51e Add simple mount command 2015-07-19 23:03:32 +02:00
Alexander Neumann a8e04d1826 Travis: Fix installing osxfuse on darwin 2015-07-19 21:51:36 +02:00
Alexander Neumann c3fe396bdd Merge pull request #237 from restic/refactor-cleanup-handlers
Allow more than one cleanup handler
2015-07-19 18:15:45 +02:00
Alexander Neumann 9441442a4d Add darwin test box to Vagrantfile 2015-07-19 18:13:27 +02:00
Alexander Neumann 3cabadab43 Allow more than one cleanup handler 2015-07-19 18:13:27 +02:00
Alexander Neumann 76817da922 Run cleanup handlers in main function 2015-07-19 17:57:18 +02:00
Alexander Neumann dac89bf544 Allow more than one cleanup handler 2015-07-19 17:50:55 +02:00
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