gilbertchen
a342431b3c
Merge pull request #223 from lowne/prune-logging
...
add more detailed revision deletion logging on prune
2017-10-05 22:35:02 -04:00
gilbertchen
ff27cec2af
Merge pull request #214 from macdanny/issue-207-retry-download
...
Retry downloads with corrupted content up to three times.
2017-10-05 22:28:12 -04:00
gilbertchen
746c1656a8
Merge pull request #211 from lowne/single-nesting
...
Nesting level parameterization for local and SFTP storages
2017-10-05 22:27:16 -04:00
Gilbert Chen
2f6287a45d
readCloser may be nil if the file to be searched doesn't exist
2017-10-05 22:22:55 -04:00
gilbertchen
32d0f97bfb
Merge pull request #209 from fracai/b2-efficiency
...
B2 efficiency
2017-10-05 22:15:19 -04:00
Mark Lowne
86a6ededab
add more detailed revision deletion logging on prune
2017-10-03 16:17:23 +02:00
Mark Lowne
6e3c1657fa
revert nesting levels to previous defaults
2017-10-03 16:08:44 +02:00
Arno Hautala
be89d8d0dc
treat 404 as file missing instead of generic error
2017-10-03 00:10:57 -04:00
Arno Hautala
f044d37b28
goimports
2017-10-02 02:08:34 -04:00
Arno Hautala
04debec0a1
request last byte (handles empty files), handle 404 and 416 errors, response header error checking
2017-10-02 02:04:30 -04:00
Arno Hautala
0784644996
goimports
2017-10-01 23:08:25 -04:00
Arno Hautala
f57fe55543
cleanup, simplified ListFileNames invoke of "call"
2017-10-01 23:07:25 -04:00
Arno Hautala
be2c3931cd
pass in the http request method rather than switching on input type
2017-10-01 21:16:45 -04:00
Gilbert Chen
7162d8916e
Use math.MaxInt32 to avoid a build error on 32-bit platforms
2017-09-29 22:20:37 -04:00
Danny MacMillan
f9603dad3c
Retry downloads with corrupted content up to three times.
...
Wasabi's GetObject occasionally (approximately 2% of the time in my testing) returns objects whose contents disagree with what has been stored in Wasabi. These cause errors when chunks are downloaded (during restore, for example). Previously, these errors would abort the restore, requiring that it be started over from the beginning. This made it effectively impossible to complete any normally-sized restore where the cumulative chance of encountering such an error approaches unity.
With this change Duplicacy will retry up to three times if it can't decrypt the downloaded chunk, or if the downloaded chunk's ID doesn't agree with a chunk ID computed from the downloaded chunk's content.
2017-09-26 15:04:32 -06:00
Gilbert Chen
80742ce2ba
Don't verify SSH host if the preference path is not set
2017-09-26 10:41:18 -04:00
Gilbert Chen
ce52ec1e5d
The info command should not overwrite the default password if reset-passwords is on
2017-09-26 10:37:06 -04:00
Gilbert Chen
8841ced1f5
Storage name can't be 'ssh' otherwise the ssh password of the default storage nad the storage password of the 'ssh' storage will share the same keychain entry
2017-09-25 21:52:49 -04:00
Gilbert Chen
5031ae15d0
When resetPassword is true, the entered password should be the same as that in environment or preference
2017-09-25 21:31:35 -04:00
Mark Lowne
3dad87f13a
default to single-dir-nesting for local and SFTP storages
2017-09-25 15:05:09 +02:00
Arno Hautala
6c96c52a93
Merge branch 'master' of github.com:gilbertchen/duplicacy into b2-efficiency
...
resolved conflicts due to new goimports formatting
2017-09-21 21:22:06 -04:00
Arno Hautala
2c2884abfb
fixes to fetching file info via b2_download_file_by_name
2017-09-21 03:18:08 -04:00
Gilbert Chen
923cd0aa63
Run goimports on all source files
2017-09-20 23:07:43 -04:00
Arno Hautala
0fee771a74
Merge branch 'b2-efficiency' of gh:fracai/duplicacy into b2-efficiency
2017-09-20 22:51:57 -04:00
Arno Hautala
b3d1eb36bd
fixes and filling out calls to b2_client.call
2017-09-20 22:38:35 -04:00
Arno Hautala
3c03b566ae
request b2_download_file_by_name if listing a single file with no versions
2017-09-20 20:54:39 -04:00
gilbertchen
978212fd75
Merge pull request #196 from fracai/more-check-stats
...
print additional, table-formatted stats for CHECK
2017-09-20 17:16:23 -04:00
Arno Hautala
bb1a15382e
request b2_download_file_by_name if listing a single file with no versions
2017-09-20 14:32:09 -04:00
Arno Hautala
45bc778898
restored original stats output, enabled option to switch to tabular
2017-09-19 02:07:35 -04:00
Arno Hautala
d5d7649041
added -tabular to check options
2017-09-19 01:13:38 -04:00
Arno Hautala
f1fe64b9cc
moving "func min" to MinInt in utils
2017-09-19 01:06:08 -04:00
Arno Hautala
e2fe57e959
reorder check -stats columns
2017-09-19 00:59:38 -04:00
gilbertchen
ae44bf7226
Merge pull request #191 from jt70471/regex-patch-2
...
store compiled regex patterns for performance optimization
2017-09-18 22:46:12 -04:00
gilbertchen
fab9cc77c6
Merge pull request #180 from niknah/dry_run
...
Added backup --dry-run option.
2017-09-18 22:32:21 -04:00
niknah
c63621cb8c
Tab spacing fixes
2017-09-18 18:43:44 +10:00
niknah
f20e823119
Different upload message for dryRun.
2017-09-18 18:43:22 +10:00
Jeff Thompson
805f6fd15d
store compiled regex patterns for performance optimization
2017-09-17 19:25:34 -05:00
niknah
f25783d59d
Comments from @gilbertchen, thanks.
2017-09-18 01:38:51 +10:00
Gilbert Chen
3cf3ad06fa
Trim the preference path in case any space/newlines are accidentally added
2017-09-16 21:21:26 -04:00
Arno Hautala
d3cea2c7d0
print additional, table-formatted stats for CHECK
2017-09-15 23:34:06 -04:00
niknah
f74ea0368e
ListFiles Don't delete or create directories in dryRun
2017-09-15 02:21:07 +10:00
gilbertchen
6bffef36bf
Merge pull request #187 from jt70471/regex-patch-1
...
add regex matching to include/exclude filters
2017-09-14 09:51:27 -04:00
Jeff Thompson
b56d7dedba
add regex matching to include/exclude filters
2017-09-14 08:49:24 -05:00
gilbertchen
554f63263f
Merge pull request #183 from jt70471/prune-patch-1
...
fix prune bug when last snapshot is removed for issue #182
2017-09-14 09:33:39 -04:00
gilbertchen
bfb7370ff2
Merge pull request #185 from Ithilion/master
...
Fix typos
2017-09-14 09:32:15 -04:00
niknah
03c2a190ee
Don't create extra directories on --dry-run
2017-09-14 14:20:58 +10:00
niknah
491252e3e4
Didn't merge --dry-run with the latest updates properly.
2017-09-14 14:13:09 +10:00
Jeff Thompson
84fc1343a7
fix prune bug when last snapshot is removed for issue #182
2017-09-12 12:38:27 -05:00
Emanuele Trombetta
c42a5a86a4
Fix typos
...
* Update duplicacy_main.go
* Update duplicacy_snapshotmanager.go
2017-09-12 07:49:07 +02:00
Gilbert Chen
d1817ae557
Should include storage name when looking up passwords for non-default storage
2017-09-11 21:43:34 -04:00