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
Alexander Neumann
58600e3bb8
repository: Add comments, silence golint
2015-07-05 11:07:10 +02:00
Alexander Neumann
9a02148daf
repository: Rename Save() -> SaveAndEncrypt()
2015-07-05 11:07:10 +02:00
Alexander Neumann
03983f0907
repository: Rename Load() -> LoadAndDecrypt()
2015-07-05 11:07:10 +02:00
Alexander Neumann
c553a57e0d
repository: Refactor Config
2015-07-05 11:07:10 +02:00
Alexander Neumann
867f6c8e24
repository: Rename receiver: s -> r
...
No functional changes.
2015-07-05 11:07:10 +02:00
Alexander Neumann
e3ffe33216
doc: Add obsolete Index files
2015-07-05 11:07:10 +02:00
Alexander Neumann
281eea9c05
sftp: Use own process group for ssh subprocess
2015-07-05 11:07:10 +02:00
Alexander Neumann
4a2e0b5423
Merge pull request #209 from badboy/sudo-false
...
Force sudo: false to run on containers
2015-07-02 18:40:01 +02:00
Jan-Erik Rediger
931307d496
Force sudo: false to run on containers
2015-07-02 16:24:57 +02:00
Alexander Neumann
9e10c21c12
Merge pull request #203 from restic/add-locking
...
Add locking
2015-06-28 22:52:46 +02:00
Alexander Neumann
939fae940d
travis: Don't compile for ARM with Go1.3
2015-06-28 22:22:03 +02:00
Alexander Neumann
d9a90f7b89
Update dependencies
...
This, among others, updates the `go-flags` library, which includes a
feature that closes #198 .
2015-06-28 16:36:50 +02:00
Alexander Neumann
0f09a7e46e
Remove unreliable tests
2015-06-28 16:27:17 +02:00
Alexander Neumann
e657287eac
cmd/restic: Add command `unlock`, improve error message
2015-06-28 13:52:23 +02:00
Alexander Neumann
d9a8dcfd67
run_tests: Exit with error if failed tests were found
2015-06-28 13:52:22 +02:00
Alexander Neumann
0ad3d71f01
repository: Add more debug to Create()
2015-06-28 13:52:22 +02:00
Alexander Neumann
47212dde8c
cmd/restic: Do not require exclusive lock for listing keys
2015-06-28 13:52:22 +02:00
Alexander Neumann
13e9a35f96
cmd/restic: Add lock handling, interrupt cleanup
2015-06-28 13:52:22 +02:00
Alexander Neumann
65a0def949
cmd/restic: Add locks to commands
2015-06-28 13:52:22 +02:00
Alexander Neumann
7d2699b429
cmd/restic: Rename variable, no functional changes
2015-06-28 13:52:22 +02:00
Alexander Neumann
fba912440d
Add lock conflict check
2015-06-28 13:52:22 +02:00
Alexander Neumann
a217f51f2c
Add locks to the design document
2015-06-28 13:52:22 +02:00
Alexander Neumann
d51fd436b5
Add locking functions
2015-06-28 13:52:22 +02:00
Alexander Neumann
26e4d2e019
tests: Remove more flags
2015-06-28 13:52:22 +02:00
Alexander Neumann
189a33730a
tests: Standardize use of SetupRepo/Teardown
2015-06-28 13:52:22 +02:00
Alexander Neumann
c410cd5584
Merge pull request #205 from ceh/backend-doc-typos
...
backend: fix doc typos
2015-06-28 11:54:36 +02:00
Alexander Neumann
b7947f9394
Merge pull request #204 from ceh/repo-pkg-typo
...
repository: fix package doc typo
2015-06-28 11:54:15 +02:00
Emil Hessman
52b6cfbbfa
backend: fix doc typos
2015-06-28 09:44:06 +02:00