Alexander Neumann
fda5e1f543
Adress code review comments
2017-07-16 21:40:53 +02:00
Alexander Neumann
78d090aea5
Implement TagList and TagLists as pflag.Value
2017-07-16 21:40:53 +02:00
Alexander Neumann
7362569cf5
Use TagLists for all commands
2017-07-16 21:40:53 +02:00
Alexander Neumann
f5b1c7e5f1
Add TagList
2017-07-16 21:40:53 +02:00
Pauline Middelink
c554cdac4c
Update HasTags() and HasPaths() to follow #1081 idea
...
Replace all but 3 occurences of StringSliceVar to StringArrayVar. This will
prevent the flag parser to interpretate the given values as CSV string.
Both --tag, --keep-tag and --path can be given multiple times, the command will
match snapshots matching ANY of the tags/paths. Only when a value is given which
contains a comma separated list of tags/paths, ALL elements need to match.
2017-07-16 21:40:53 +02:00
Alexander Neumann
4ad33d3c3b
sftp: Improve check for data subdirs
2017-07-16 15:10:06 +02:00
Toby Allen
cb3cd57926
Update links to design.md to design.rst
2017-07-15 19:35:45 +01:00
Alexander Neumann
1d2045cb61
Test error for os.PathError
...
See https://github.com/restic/restic/issues/1079#issuecomment-315177469
for details.
2017-07-13 21:29:29 +02:00
Alexander Neumann
357e2e404a
Merge pull request #1080 from restic/fix-1079
...
local: Ignore ENOTSUP error for chmod
2017-07-13 20:12:47 +02:00
Alexander Neumann
c4c731bd9a
Merge pull request #1082 from Habbie/siginfo
...
support SIGINFO on Darwin
2017-07-09 21:41:29 +02:00
Kamil Szczygieł
d651d9b427
more verbose debug
2017-07-05 19:21:57 +02:00
Kamil Szczygieł
3b2648bd5e
iam instance profile
2017-07-05 16:19:25 +02:00
Peter van Dijk
73cc11f000
support SIGINFO on Darwin
2017-07-03 20:39:42 +02:00
Alexander Neumann
855575e5a7
Merge pull request #1077 from restic/create-subdirs
...
local/sftp: Auto-create subdirs of data/ on init/open
2017-07-03 19:47:58 +02:00
Alexander Neumann
a18c16e19e
local: Ignore ENOTSUP error for chmod
...
Closes : #1079
2017-07-03 19:45:56 +02:00
Alexander Neumann
9032ab2eec
local/sftp: Create dirs on open()
2017-07-02 19:35:45 +02:00
Alexander Neumann
03f66b8d74
Create subdirs below data/
2017-07-02 19:35:45 +02:00
Alexander Neumann
453c9c9199
s3 migrate layout: Retry on errors
2017-07-02 11:15:20 +02:00
Alexander Neumann
993e370f92
s3 migrate layout: Ignore already renamed files
2017-07-02 10:47:50 +02:00
Alexander Neumann
2bcd3a3acc
s3 migrate layout: Rename key files last
2017-07-02 10:47:20 +02:00
Alexander Neumann
c54c632ca1
s3 migrate layout: Force old layout for rename
2017-07-02 10:47:03 +02:00
Alexander Neumann
28a4a35625
Allow migrate to run althoug check failed
2017-07-02 10:29:41 +02:00
Alexander Neumann
b2ce7e8d84
Return an error for invalid backend schemes
...
Closes #1021
2017-06-30 21:28:39 +02:00
Alexander Neumann
9583dc820f
Merge pull request #1051 from restic/refactor-crypto
...
crypto: Make Encrypt/Decrypt a method of *Key
2017-06-21 19:26:11 +02:00
Alexander Neumann
d76fa22b4b
prune: Delete invalid/incomplete pack files
...
Closes #1053
2017-06-20 22:53:49 +02:00
Alexander Neumann
f960831f10
crypto: Make Encrypt/Decrypt a method of *Key
2017-06-20 22:14:51 +02:00
Alexander Neumann
b0fb95dfc9
backend tests: Use delayedRemove()
2017-06-19 20:02:49 +02:00
Alexander Neumann
bca9566849
Merge pull request #1050 from restic/extend-fuse-mount
...
fuse: Add more directories
2017-06-19 19:52:45 +02:00
Alexander Neumann
8760de42fe
Merge pull request #1046 from restic/s3-split-open
...
s3: Split Create() from Open()
2017-06-19 19:52:40 +02:00
Alexander Neumann
2c02efd1fe
fuse: Reduce code duplication, add MetaDir
2017-06-18 21:32:07 +02:00
Alexander Neumann
4b4a63ed44
fuse: Add tags dir
2017-06-18 21:32:07 +02:00
Alexander Neumann
64f434eca4
fuse: Add hosts dir
2017-06-18 21:32:07 +02:00
Alexander Neumann
f4e85a53e7
fuse: Add '.' and '..' entries to all directories
2017-06-18 21:32:07 +02:00
Alexander Neumann
f8176a74ec
fuse: Rename DirSnapshots -> SnapshotsDir
2017-06-18 21:32:07 +02:00
Alexander Neumann
e60a96a71a
swift: Increase delete timeout to 20s
2017-06-18 21:31:48 +02:00
Alexander Neumann
53f8026018
Merge pull request #1048 from restic/cleanup-fuse-mount
...
Cleanup/fix fuse mount
2017-06-18 18:41:02 +02:00
Alexander Neumann
eb8041b943
backend tests: Add configurable delay for delayed remove
2017-06-18 17:36:57 +02:00
Alexander Neumann
9c6e9bcf33
fuse: Add build tags for unsupported OS
2017-06-18 17:02:07 +02:00
Alexander Neumann
154816ffd0
fuse: Fix file test
2017-06-18 16:29:00 +02:00
Alexander Neumann
c86e425df6
fuse: Fix file inode
2017-06-18 16:28:55 +02:00
Alexander Neumann
3883c7a190
fuse: Fix blob length cache
2017-06-18 16:28:39 +02:00
Alexander Neumann
a66760d86d
fuse: Fix inode handling
2017-06-18 15:11:32 +02:00
Alexander Neumann
52752659c1
fuse: Rewrite fuse implementation
2017-06-18 14:59:44 +02:00
Alexander Neumann
f676c0c41b
index: Add Each() to MasterIndex
2017-06-18 14:52:14 +02:00
Alexander Neumann
f31e993f09
fuse: Reenable integration tests
2017-06-18 14:23:35 +02:00
Alexander Neumann
56f610e548
fuse: Remove struct SnapshotWithId
2017-06-18 14:11:33 +02:00
Alexander Neumann
052a6a0acc
Move snapshot filter function to restic package
2017-06-18 13:18:12 +02:00
Alexander Neumann
77037e33c9
Move snapshot finding functions to new file
2017-06-18 13:06:52 +02:00
Alexander Neumann
5a34799554
Move Snapshots struct and policy to other files
2017-06-18 13:05:47 +02:00
Alexander Neumann
47282abfa4
fuse: Use Mutex instead of RWMutex
2017-06-17 23:00:38 +02:00