Matthew Holt
f7659bd8b0
stats: Initial implementation of stats command
2018-07-27 21:27:39 +02:00
Alexander Neumann
8c124a2b75
Merge pull request #1902 from mlissner/patch-1
...
b2 bucket names need to be unique
2018-07-23 22:58:42 +02:00
Mike Lissner
d3ad63a4ec
b2 bucket names need to be unique
...
Adds a small warning indicating that b2 bucket names need to be unique. It's an easy mistake to make, and it's surprising to get the following error if you're not accustomed to the way B2 works:
Fatal: create repository at b2:postgres failed: NewBucket: b2_create_bucket: 400: Bucket name is already in use
2018-07-23 11:48:59 -07:00
Alexander Neumann
271c50cf5c
Add entry to changelog
2018-07-23 20:15:55 +02:00
Alexander Neumann
1aeb193fd9
Merge pull request #1900 from restic/fix-1870
...
restorer: Add test for restore with include filter
2018-07-23 20:15:50 +02:00
Alexander Neumann
f715bef82f
Merge pull request #1899 from garrmcnu/check-cache-dir
...
check: Use --cache-dir argument
2018-07-22 21:03:52 +02:00
Alexander Neumann
4fc00d4120
Merge pull request #1901 from restic/update-blazer
...
Update github.com/kurin/blazer
2018-07-22 20:59:52 +02:00
Garry McNulty
7603ab7ac1
check: Update --cache-dir argument handling based on code review comments
...
The temporary cache directory is created in the specified directory, or
if not specified in the default temporary directory.
2018-07-22 18:24:11 +01:00
Alexander Neumann
36fa1f8c20
Merge pull request #1894 from restic/fix1893
...
Return error when exclude file cannot be read
2018-07-22 14:34:27 +02:00
Alexander Neumann
445fb23b6d
Rework issue templates for Bug reports and Features
2018-07-22 14:26:23 +02:00
Alexander Neumann
5f79b4cb6c
Update issue template again
2018-07-22 14:21:08 +02:00
Alexander Neumann
8e15b59347
Use underline style markup for issue/PR templates
2018-07-22 14:17:53 +02:00
Alexander Neumann
6e2e957332
Add entry to changelog
2018-07-22 14:16:08 +02:00
Alexander Neumann
7ffc03ff8f
Update github.com/kurin/blazer to 0.5.0
...
This includes support for the upcoming B2 application keys feature.
2018-07-22 14:12:02 +02:00
Alexander Neumann
44924ba043
restorer: Fix traverseTree
...
traverseTree() was meant to call enterDir() whenever a directory is
selected for restore, either explicitly or implicitly (=contains a file
which is to be restored). After restoring a file, leaveDir() is called
in reverse order for all intermediate directories so that the metadata
can be restored.
When a directory is selected implicitly, the metadata for it is
restored. This is different from the previous restorer behavior, which
created implicitly selected intermediate directories with permissions
0700 (only user can read/write it).
This commit changes the behavior back to the old one. Only a directory
is explicitly selected for restore, enterDir()/leaveDir() are called for
it. Otherwise, only visitNode() is called, so visitNode() needs to make
sure the parent directory exists. If the directory is explicitly
included, leaveDir() will then restore the metadata correctly.
When we decide to change the behavior (restore metadata for all
intermediate directories, even if selected implicitly), we should do
that in the selection functions, not here.
This finally resolves #1870
2018-07-21 23:24:40 +02:00
Alexander Neumann
ce19f26948
restorer: Add tests for traverseTree
2018-07-21 23:24:40 +02:00
Alexander Neumann
74016d5981
restorer: Fix return of saveSnapshot
2018-07-21 23:24:40 +02:00
Alexander Neumann
57636a4573
restorer: Run tests in the same package
2018-07-21 23:24:40 +02:00
Alexander Neumann
4f6d2502f7
restorer: Add test for restore with include filter
2018-07-21 23:24:40 +02:00
Garry McNulty
f1f69bc648
check: Use --cache-dir argument
...
Closes #1880
2018-07-20 20:51:20 +01:00
Alexander Neumann
d7551d7b0c
Add entry to changelog
2018-07-18 21:41:20 +02:00
Alexander Neumann
fb74de6360
Return an error when exclude files cannot be read
2018-07-18 21:39:07 +02:00
Alexander Neumann
67535e00a8
Merge pull request #1889 from ProactiveServices/patch-3
...
doc: Minor grammar, RST syntax fixes
2018-07-18 21:22:10 +02:00
Alexander Neumann
19592285eb
Merge pull request #1888 from ProactiveServices/patch-2
...
doc: Minor grammar fixes
2018-07-18 21:21:52 +02:00
Alexander Neumann
f64862722a
Merge pull request #1887 from restic/disable-error-size
...
checker: Disable size check for now
2018-07-18 21:19:54 +02:00
Adam Piggott
254239c2a9
doc: Minor grammar, RST syntax fixes
...
Fix unescaped backslash
Fix wording of Windows installation
2018-07-18 02:28:23 +01:00
Adam Piggott
cce1a1f768
doc: Minor grammar fixes
2018-07-18 02:25:31 +01:00
Alexander Neumann
754482fe6c
checker: Disable size check for now
2018-07-15 21:52:38 +02:00
Alexander Neumann
73153dbd3f
Merge pull request #1885 from restic/create-restore-target
...
restore: Make sure the target directory exists
2018-07-15 16:28:25 +02:00
Alexander Neumann
92421ec47f
restore: Make sure target directory exists
2018-07-15 16:02:04 +02:00
Alexander Neumann
9acc9243ba
Add test for not-existing top-level dir and top-level file
2018-07-15 16:00:26 +02:00
Alexander Neumann
df64998649
Merge pull request #1882 from duzvik/aws-credentials-priority
...
Change AWS credentials priority, to accept AWS_SESSION_TOKEN
2018-07-14 20:48:42 +02:00
Alexander Neumann
64d27eed86
doc: Improve dump to stdout
...
Closes #1884
2018-07-14 20:45:52 +02:00
Alexander Neumann
abb18a830c
Fix test
2018-07-14 11:51:34 +02:00
denis.uzvik
1e42f4f300
S3 backend: accept AWS_SESSION_TOKEN
2018-07-12 16:18:19 +03:00
Alexander Neumann
bd742ddb69
cache: Don't recreate CACHEDIR.TAG
2018-07-08 12:05:12 +02:00
Alexander Neumann
b511f4dce2
Improve help message for check
2018-07-05 22:19:08 +02:00
Alexander Neumann
7961740dcc
Fix link
2018-07-05 21:03:40 +02:00
Alexander Neumann
dc3032c360
Mention that AppsCode is sponsoring backend tests
2018-07-05 21:01:57 +02:00
Alexander Neumann
44fb2a860f
Merge pull request #1861 from McKael/fix_find_ignore_case
...
Fix find -i (case-insensitive search)
2018-06-24 21:08:03 +02:00
Mikael Berthe
fbf8073dfc
Fix find -i (case-insensitive search)
2018-06-24 19:35:11 +02:00
Alexander Neumann
7ddf91b65c
Merge pull request #1772 from ifedorenko/restore-verify
...
Restore verify
2018-06-23 14:50:29 +02:00
Alexander Neumann
8dae2de2ce
Merge pull request #1858 from restic/fix-1857
...
Allow excluding files with $ via --exclude-file
2018-06-22 21:22:23 +02:00
Alexander Neumann
03a0377410
Merge pull request #1856 from stkw0/master
...
Ignore ExcludeOtherFs if Stdin is true
2018-06-22 20:49:34 +02:00
Alexander Neumann
025ec9dff5
Allow excluding files with $ via --exclude-file
...
Previously it wasn't possbile to exclude files with a literal dollar
sign (`$`) via exclude files, now users can write `$$` for that.
2018-06-22 20:46:04 +02:00
David Roman
2384c1cee7
Ignore ExcludeOtherFs if Stdin is true
...
Closes: #1807
2018-06-21 23:12:38 +02:00
Alexander Neumann
bb2ad76833
Merge pull request #1855 from restic/fix-1854
...
Allows saving files/dirs on different file systems together with `--one-file-system`.
2018-06-21 20:48:33 +02:00
Alexander Neumann
30cfd13328
Add changelog
2018-06-20 23:05:09 +02:00
Alexander Neumann
9ffc26883a
archiver: Unroll tree
2018-06-20 22:56:41 +02:00
Alexander Neumann
83c51db903
fs: Add helper functions ReadDir/ReadDirNames
2018-06-20 22:53:53 +02:00