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
Gilbert Chen
923cd0aa63
Run goimports on all source files
2017-09-20 23:07:43 -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
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
niknah
eb4c875fd0
Added -dry-run to doc.
2017-09-12 06:48:14 +10:00
gilbertchen
cecb73071e
Merge pull request #181 from jt70471/copy-optimization-patch-2
...
futher optimization for the copy command
2017-09-11 16:21:06 -04:00
Jeff Thompson
0bf66168fb
futher optimization for the copy command
2017-09-11 11:45:57 -05:00
Gilbert Chen
d8573ca789
Bump version to 2.0.9
v2.0.9
2017-09-11 11:13:28 -04:00
Gilbert Chen
6b2f50a1e8
Fixed OneDrive 503 errors by sending GET requests with a nil body
2017-09-11 11:12:05 -04:00
gilbertchen
81b8550232
Merge pull request #173 from jt70471/patch-2
...
change message when chunk is skipped at destination for copy
2017-09-11 10:19:55 -04:00
gilbertchen
f6e2877948
Merge pull request #170 from jt70471/patch-1
...
fix upload/download rate for copy described in issue #169
2017-09-11 08:16:03 -04:00
niknah
de2f7c447f
Merge branch 'master' into dry_run
2017-09-11 20:12:09 +10:00
Jeff Thompson
3c1057a3c6
change message when chunk is optimized and skipped at destination for copy
2017-09-09 11:27:33 -05:00
Gilbert Chen
8808ad5c28
Retry on XAmzContentSHA256Mismatch
2017-09-08 19:46:27 -04:00
Jeff Thompson
707967e91b
fix upload/download rate for copy described in issue #169
2017-09-08 16:39:41 -05:00
Gilbert Chen
3f83890859
Don't save passwords from env/pref to keyring
2017-09-08 16:51:05 -04:00
Gilbert Chen
68fb6d671e
Fixed symbolic link handling on Windows
2017-09-08 15:31:45 -04:00
gilbertchen
b04ef67d26
Fixed a typo in GUIDE.md
2017-09-08 11:57:46 -04:00
gilbertchen
72ba2dfa87
Merge pull request #154 from jt70471/jt70471-patch-1
...
Skip chunks to copy if already on destination for issue #134
2017-09-07 20:20:29 -04:00
Jeff Thompson
b41e8a24a9
Skip chunks to copy if already on destination for issue #134
2017-09-07 16:24:11 -05:00
gilbertchen
a3aa575c68
Merge pull request #165 from jt70471/patch-2
...
Use number of threads specified on copy command
2017-09-07 16:18:13 -04:00
gilbertchen
e765575210
Merge pull request #155 from niknah/sftp_login
...
Use ssh key file first if we have it in preferences/environment
2017-09-07 16:13:19 -04:00
gilbertchen
044e1862e5
Merge pull request #161 from jt70471/patch-1
...
Fix doc bug for issue #151
2017-09-07 15:31:34 -04:00
Jeff Thompson
612c5b7746
Use number of threads specified on copy command
2017-09-06 17:01:27 -05:00
niknah
457e518151
Added backup --dry-run option.
2017-09-06 19:19:36 +10:00