rawtaz
02fea4f76a
doc: Improve exclude patterns info
...
Improves grammar, clarifies and adds information on how to specify exclude patterns.
2019-11-18 01:59:50 +01:00
whs
7cacba0394
Assume WithAtime default to false
2019-11-06 16:38:46 +08:00
whs
e6db3596f1
Update rclone repo
2019-11-06 11:59:48 +08:00
8176135
3acc7af310
Small fix to the forget --tag command
...
As described in #2460
2019-11-03 11:48:56 +13:00
Jeff Hallam
5c4653f427
Update 080_examples.rst
...
Added an explanation of how to specify the AWS S3 storage classes and what the default value is.
2019-10-21 19:24:50 -03:00
Krzysztof Bociurko
f7317a9287
Docs: fixed escaping of argument in documentation
...
Issue was visible as `foo`` in https://restic.readthedocs.io/en/latest/040_backup.html
2019-10-16 19:03:40 +02:00
lbausch
30db8057e4
Docs: Highlight option correctly
2019-10-13 21:19:03 +02:00
Stephane Thiell
0e897ef7b8
Add support for $RESTIC_CACHE_DIR
...
Add support for restic-specific $RESTIC_CACHE_DIR environment variable
to override the cache directory like --cache-dir would have.
2019-09-26 15:59:56 -07:00
bugvillage
b3e727f40d
fixing typo/align around RESTIC_PASSWORD_COMMAND
2019-09-07 15:30:23 +02:00
bugvillage
17feccd998
add description env var RESTIC_PASSWORD_COMMAND
...
The environment variable RESTIC_PASSWORD_COMMAND works but has
not been documented yet. e.g. it could contain a command that
would fetch the password from a local user keyring
enhances: https://github.com/restic/restic/pull/2094
2019-09-07 14:00:53 +02:00
Eric Hamilton
1596d06f8e
Update Lock.Time in lock.Refresh()
2019-09-04 11:38:35 -07:00
Vladimir Rusinov
db20c0b8d0
Ignore username difference in TestMetadataChanged.
...
In some (rare) cases "fake" UID 51234 may exist in a system running a
test. When this is the case, `cmp.Equal(want, node3)` will fail based on
difference between empty string and an actual username present in a
system.
Fixes github issue #2372
2019-08-13 22:25:00 +01:00
Alexander Neumann
604b18aa74
build: Fix building in ~/go
...
Before, build.go only unset GO111MODULE and GOPATH, so the Go compiler
did not see either and worked in Module mode. But if the code is checked
out below ~/go (the default GOPATH), it will detect that the source is
within GOPATH and switch to non-Module mode. Now we're setting
GO111MODULE to "on" explicitly.
2019-07-29 09:22:22 +02:00
Alexander Neumann
01c51b3449
Merge pull request #2321 from restic/fix-index-error-handling
...
Check errors returned by LoadIndex()
2019-07-27 09:37:18 +02:00
Alexander Neumann
de8cf5e345
Merge pull request #2324 from jkahrs/fix/change-cleanup-cache-message
...
updade message that is shown when a cache cleanup is advised
2019-07-27 09:37:10 +02:00
Alexander Neumann
cfa2ac69e0
Merge pull request #2322 from brualan/master
...
minor refactoring
2019-07-27 09:37:06 +02:00
Hugo Reeves
3ca306d69a
Doc Addition: Added Wasabi repo setup
2019-07-26 22:00:48 +12:00
Alexander Neumann
1e9eefa066
Debian stable has restic 0.9.4 ( #2333 )
...
Debian stable has restic 0.9.4
2019-07-11 08:17:40 +02:00
Michael M. Chang
e9af012229
Debian has updated restic
...
Debian now has restic 0.9.4+ds-2+b1 in stable (buster)
2019-07-10 11:53:17 -04:00
Jean Kahrs
8066e93f47
updade message that is shown when a cache cleanup is advised
2019-07-02 10:49:49 +02:00
Alexandr Bruyako
e19622e4b1
start using fileMode const
2019-07-01 00:26:00 +03:00
Alexandr Bruyako
38ea7ed4f6
remove unused code
2019-07-01 00:24:45 +03:00
Alexandr Bruyako
76d1866444
avoiding unnecessary type conversions
2019-06-30 23:58:00 +03:00
Alexandr Bruyako
8b22fe29cf
improved slice copying
2019-06-30 23:56:36 +03:00
Alexandr Bruyako
02014be76c
simplified prefix removal, removed unnecessary if-else statements
2019-06-30 23:34:47 +03:00
Alexandr Bruyako
16eeed2ad5
simplified string sorting by using a more suitable function
2019-06-30 23:20:32 +03:00
Alexander Neumann
3f94f63967
Add entry to changelog
2019-06-30 21:38:10 +02:00
Alexander Neumann
88716794e3
Check errors returned by LoadIndex()
...
Bug was reported in the forum here: https://forum.restic.net/t/check-rebuild-index-prune/1848/13
2019-06-30 21:34:53 +02:00
Fred Akalin
3ca424050f
Add upper bound for t in --read-data-subset=n/t ( #2304 )
...
* Add upper bound for t in --read-data-subset=n/t
* Add changelog entry
2019-06-29 14:34:53 -04:00
Gary Kim
fea2464d4d
Allow multiple retries for interactive password input
...
Restic used to quit if the repository password was typed incorrectly once.
Restic will now ask the user again for the repository password if typed incorrectly.
The user will now get three tries to input the correct password before restic quits.
2019-06-13 20:11:02 +08:00
Ben
5d272e5c08
Dump : parameter order in sample
...
Usage:
restic dump [flags] snapshotID file
2019-05-28 18:20:52 +02:00
Alexander Neumann
5bd5db4294
Merge pull request #2206 from garrmcnu/fs-stdin-directory
...
fs: Handle absolute pathname for --stdin-filename
2019-05-08 16:05:37 +02:00
Garry McNulty
4429a66b5f
backup: Convert relative pathname for --stdin-filename to absolute ( #2063 )
2019-05-08 15:21:27 +02:00
Garry McNulty
8066195e6e
fs: Handle absolute pathname for --stdin-filename
...
Return valid directory info from Lstat() for parent directories of the
specified filename. Previously only "/" and "." were valid directories.
Also set directory mode as this is checked by archiver.
Closes #2063
2019-05-08 15:21:27 +02:00
Garry McNulty
f7f14cf8c9
fs: Add file info base name check in reader tests ( #2063 )
2019-05-08 15:21:27 +02:00
Garry McNulty
5096f3b491
fs: Update directory check in reader tests ( #2063 )
2019-05-08 15:21:27 +02:00
Alexander Neumann
cf3fc2a5b1
Merge pull request #2266 from restic/fix-windows-tests
...
Fix tests on Windows
2019-05-05 21:34:04 +02:00
Alexander Neumann
920d458a4a
archiver: Use untyped constants for testing FileInfo
2019-05-05 14:57:38 +02:00
Alexander Neumann
b016dc2ff0
archiver/Windows: Skip test new-content-same-filestamp
2019-05-05 14:02:11 +02:00
Alexander Neumann
355db0bc29
windows: Use LastWriteTime for ctime and mtime
...
Windows does not have a concept of a `change time` in the sense as Unix
has it: the field `CreationTime` of the `Win32FileAttributeData` struct
is not updated when attributes or content is changed. So from now on
we're using the `LastWriteTime` as the `change time` on Windows.
2019-05-05 14:02:11 +02:00
Alexander Neumann
6e2fe73189
archiver: Move tests back into the same file
...
Move all Archiver tests back into `archiver_test.go` and add some tiny
helpers to mock what `lstat` returns (for Windows and Unix separately).
2019-05-05 14:02:11 +02:00
Alexander Neumann
303a5dab6a
archiver: Clarify value in test struct
...
Since I could not remember what the value for `Check` means this commit
renames it to `SameFile`: when set to true, the test should make sure
that `FileChanged` should return false (=file is unmodified).
2019-05-05 12:57:00 +02:00
Alexander Neumann
7dcd2968b6
Merge pull request #2261 from lorenzbausch/patch-1
...
Fix typo
2019-05-04 10:23:49 +02:00
Lorenz Bausch
298f490195
Fix typo
2019-05-02 11:51:35 +02:00
Alexander Neumann
37cb82b28b
Merge pull request #2257 from gliptak/windows1
...
Don't run TestMetadataChanged test on Windows
2019-04-28 08:39:00 +02:00
Gábor Lipták
bce6438d22
Don't run TestMetadataChanged test on Windows
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2019-04-27 21:23:47 -04:00
Alexander Neumann
919dd2ac84
Merge pull request #2252 from restic/fix-2249
...
Read fresh metadata for unmodified files
2019-04-25 09:15:50 +02:00
Alexander Neumann
870bc5108e
Merge pull request #2253 from restic/fix-2174
...
Make sure timestamps are valid
2019-04-25 09:14:43 +02:00
Alexander Neumann
418296c5c9
Add hint for "closes" wording to PR template
2019-04-25 09:00:15 +02:00
Alexander Neumann
a6481b3707
Merge pull request #2212 from cbane/check-ctime
...
Examine file ctime when checking if files have changed.
2019-04-25 08:58:27 +02:00