Courtney Bane
00b527fb09
Update changelog text, and add pull request link.
2019-04-24 20:54:15 -05:00
Courtney Bane
0ebfc55ee3
Use existing setTimestamp function for ctime test and improve error checking.
2019-04-24 20:53:08 -05:00
Courtney Bane
35b7607802
Don't check ctime when ignoring inode.
2019-04-24 20:53:08 -05:00
Courtney Bane
b8c2544dcb
Examine file ctime when checking if files have changed.
2019-04-23 21:54:35 -05:00
Alexander Neumann
ecc2458de8
Merge pull request #2230 from cdhowie/issue-2229
...
Extend find --show-pack-id to work with --tree
2019-04-14 19:38:38 +02:00
Alexander Neumann
2c6ba5d9ac
Merge pull request #2231 from cdhowie/issue-2224
...
find command: don't abort on tree load errors
2019-04-14 19:31:06 +02:00
Alexander Neumann
0cc3647e51
Remove changelog entry, not relevant for end-users
2019-04-14 19:29:12 +02:00
Alexander Neumann
6b700d02f5
Merge pull request #2217 from restic/improve-memory-usage
...
WIP: improve memory usage
2019-04-13 15:07:07 +02:00
Alexander Neumann
2b09a10234
Merge pull request #2218 from kcthrn/patch-1
...
Fix minor error in doc for forgetting snapshots
2019-04-13 14:55:40 +02:00
Alexander Neumann
1c87d01bad
Merge pull request #2220 from BenoitKnecht/s3-storage-class
...
Add config option to set S3 storage class
2019-04-13 14:54:32 +02:00
Alexander Neumann
78a3ffcfb9
Merge pull request #2185 from d3zd3z/json-forget
...
Json forget
2019-04-13 14:23:32 +02:00
Alexander Neumann
4d77c0c21c
Merge pull request #2228 from cstegm/patch-1
...
Update 030_preparing_a_new_repo.rst
2019-04-13 14:20:01 +02:00
Alexander Neumann
fb064afa34
Merge pull request #2232 from jacksgt/document_cachedir-tag
...
Mention Cache Directoy Tagging Standard in man page and help text
2019-04-13 14:17:38 +02:00
Alexander Neumann
7304738872
check: Reduce default parallelism from 40 to 5
2019-04-13 13:38:39 +02:00
Alexander Neumann
66efa425bf
Reuse buffer in worker functions
2019-04-13 13:38:39 +02:00
Alexander Neumann
d51e9d1b98
Add []byte to repo.LoadAndDecrypt and utils.LoadAll
...
This commit changes the signatures for repository.LoadAndDecrypt and
utils.LoadAll to allow passing in a []byte as the buffer to use. This
buffer is enlarged as needed, and returned back to the caller for
further use.
In later commits, this allows reducing allocations by reusing a buffer
for multiple calls, e.g. in a worker function.
2019-04-13 13:38:39 +02:00
Alexander Neumann
e046428c94
Replace FilesInParallel with an errgroup.Group
2019-04-13 13:38:39 +02:00
Alexander Neumann
75906edef5
mock: Remove unused repository type
2019-04-13 13:38:39 +02:00
Alexander Neumann
203d775190
restic: Make JSON unmarshal for ID more efficient
...
This commit reduces several allocations in UnmarshalJSON() by decoding
the hex string directly in a single step.
2019-04-13 13:38:39 +02:00
Jack Henschel
ecd7ee85e8
Mention Cache Directoy Tagging Standard in man page and help text
...
This patch makes it more explicit what is meant by the CACHEDIR.TAG file.
It not only has to have this particular name, but also a specific content
(described at http://bford.info/cachedir/spec.html ), which is not immediately
obvious to the user.
2019-04-02 15:53:07 +02:00
Alexander Neumann
2022355800
doc: Fix versions in self-update example
2019-03-30 09:44:59 +01:00
Chris Howie
36f22a0feb
find command: don't abort on tree load errors
2019-03-29 22:58:12 -04:00
Chris Howie
f58a44b911
Extend find --show-pack-id to work with --tree
2019-03-29 22:56:36 -04:00
cstegm
fe886a6439
Update 030_preparing_a_new_repo.rst
...
Helps users having this issue: https://github.com/restic/restic/issues/2216
2019-03-29 18:24:17 +01:00
Benoît Knecht
be23313072
changelog: Add entry for s3.storage-class option
2019-03-26 16:39:27 +01:00
Benoît Knecht
3c112d9cae
s3: Add config option to set storage class
...
The `s3.storage-class` option can be passed to restic (using `-o`) to
specify the storage class to be used for S3 objects created by restic.
The storage class is passed as-is to S3, so it needs to be understood by
the API. On AWS, it can be one of `STANDARD`, `STANDARD_IA`,
`ONEZONE_IA`, `INTELLIGENT_TIERING` and `REDUCED_REDUNDANCY`. If
unspecified, the default storage class is used (`STANDARD` on AWS).
You can mix storage classes in the same bucket, and the setting isn't
stored in the restic repository, so be sure to specify it with each
command that writes to S3.
Closes #706
2019-03-26 16:37:07 +01:00
kcthrn
2970e38d92
Fix minor error in doc for forgetting snapshots
2019-03-24 17:59:19 -04:00
Alexander Neumann
870e7583a1
Merge pull request #2210 from restic/update-deps
...
Update dependencies
2019-03-17 13:38:34 +01:00
Alexander Neumann
db1c835c37
Update dependencies
2019-03-17 12:13:53 +01:00
Alexander Neumann
190bed9908
Merge pull request #2208 from restic/update-go
...
Update Go for CI tests
2019-03-17 11:36:06 +01:00
Alexander Neumann
85f4c826db
Update Go for CI tests
2019-03-17 11:06:16 +01:00
Alexander Neumann
5da4b0fc7d
Merge pull request #2209 from restic/fix-freebsd
...
Fix build on FreeBSD for Go < 1.12
2019-03-17 11:05:38 +01:00
Alexander Neumann
c1058005c3
Fix build on FreeBSD for Go < 1.12
2019-03-16 20:52:37 +01:00
Alexander Neumann
ca73808649
Merge pull request #2197 from dmgk/master
...
Fix build on FreeBSD with Go 1.12
2019-03-16 20:23:19 +01:00
Alexander Neumann
f2ea91df38
Merge pull request #2189 from ifedorenko/filewrite-race
...
Fix rare 'file already closed' during restore
2019-03-16 19:53:18 +01:00
Alexander Neumann
15cc4d74b2
Run 'go mod tidy' and 'go mod vendor'
2019-03-16 17:01:20 +01:00
Igor Fedorenko
bf9a507148
Fix rare 'file already closed' during restore
...
Fixes #2183
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2019-03-16 17:01:20 +01:00
Alexander Neumann
65b476ead9
Fix gofmt
2019-03-16 13:29:05 +01:00
Alexander Neumann
aaa1cc2c26
Merge pull request 2193 from restic/allow-empty-rclone-args
...
rclone: Rework backend option parsing
2019-03-16 12:17:38 +01:00
Alexander Neumann
95434cff16
Merge pull request 2156 from kayrus/swift-app-cred
...
Swift: introduce application credential auth support
2019-03-16 12:17:17 +01:00
Alexander Neumann
1b94ae1c00
Merge pull request 2205 from heikobornholdt/ignore-inode
...
Add --ignore-inode option to backup cmd
2019-03-16 12:16:31 +01:00
Heiko Bornholdt
d138b38f28
Add pull-2205 to changelog
2019-03-10 21:37:01 +01:00
Heiko Bornholdt
db8f5864fc
Add --ignore-inode option to backup cmd
...
revised version of https://github.com/restic/restic/pull/2047
2019-03-10 21:24:29 +01:00
Dmitri Goutnik
1d8b21cdad
Fix build on FreeBSD with Go 1.12
2019-03-06 09:41:49 -05:00
Alexander Neumann
3865b59716
rclone: Rework backend option parsing
...
This change allows passing no arguments to rclone, using `-o
rclone.args=""`. It is helpful when running rclone remotely via SSH
using a key with a forced command (via `command=` in `authorized_keys`).
2019-03-02 10:36:42 +01:00
Alexander Neumann
7b8d1dc040
Merge pull request 2187 from restic/fix-2181
...
self-update: Don't cancel download after 30s
2019-02-24 21:21:55 +01:00
David Brown
d19a29f79e
Include reasons in json output of forget
...
This dumps the reasons as well as the list of keeps and removes with the
output from the forget command.
2019-02-23 09:38:33 -07:00
David Brown
449c049ce9
Add changelog for #2184
2019-02-23 09:37:38 -07:00
Alexander Neumann
9f436d80e1
Add changelog file
2019-02-23 11:16:08 +01:00
Alexander Neumann
e277a92a2f
self-update: Don't cancel download after 30 seconds
2019-02-23 11:15:18 +01:00