gilbertchen
6fd3fbd568
Merge pull request #514 from a-s-z-home/filter_extension
...
Filter extension: @ to include another file
2019-04-26 21:56:42 -04:00
Gilbert Chen
a6fe3d785e
Fixed a MoveFile bug in Wasabi when the storage is at the root of a bucket
...
When the storage dir is empty, the destination path passed to the MOVE api starts
with a / which causes Wasabi to fail silently.
2019-04-24 16:48:25 -04:00
Gilbert Chen
1da151f9d9
Add an additional lookup for a chunk that isn't in the chunk list
...
A chunk not in the chunk list may actually exists in two scenarios:
* the chunk may be a special snapshot chunk that contains the chunk sequence,
so it may be resurrected by the chunk downloader if it had been turned into
a fossil before
* if the API to list all chunks doesn't return the complete list due to some
bug
This additional lookup avoid reporting the missing chunk prematurely.
2019-04-21 20:32:21 -04:00
Gilbert Chen
4b69c1162e
Fix a memory issue that check -tabular uses too much memory with many revisions
...
The call to GetSnapshotChunks in ShowStatisticsTabular sets keepChunkHashes to
true -- this can cause too much memory consumption with hundreds of revisions.
2019-04-20 22:47:03 -04:00
Gilbert Chen
abcb4d75c1
Fixed a bug where filenames starting with i or e are mistakenly interpreted as regex
2019-04-07 22:43:36 -04:00
Gilbert Chen
43a5ffe011
Fixed a bug where a wrong variable is used as the number of threads
2019-03-13 15:38:26 -04:00
Gilbert Chen
d16273fe2b
Set the content length for upload
2019-03-04 15:34:32 -05:00
Gilbert Chen
2b56d576c7
Fixed a webdav compatibility issue with rclone and other bugs
2019-02-26 14:00:02 -05:00
gilbertchen
bebd7c4b77
Merge pull request #495 from plasticrake/environment-variables
...
Replace special characters in environment variable name with underscores
2019-01-04 17:04:29 -05:00
gilbertchen
46376d82ed
Merge pull request #489 from gilbertchen/sftp_retry
...
Retry on EOF errors in the SFTP backend
2019-01-04 13:53:44 -05:00
gilbertchen
c4a3dd1eeb
Merge pull request #454 from mikecook/master
...
spelling fix, go fmt, go vet
2019-01-04 13:50:17 -05:00
gilbertchen
31c25e98f7
Merge branch 'master' into master
2019-01-04 13:48:44 -05:00
gilbertchen
242db8377e
Merge pull request #447 from s4y/patch-1
...
Acknowledge malware/spam warnings from GCD
2019-01-04 13:33:11 -05:00
Gilbert Chen
e6d8b7d070
Use 1024*1024 as 1M as opposed to 10^6
2019-01-04 13:29:30 -05:00
Gilbert Chen
bb652d0a8c
Add a Sync call before close when uploading a file to local storage
2019-01-03 12:44:50 -05:00
Gilbert Chen
a354d03bc9
Remove a binary file accidentally checked in
2019-01-02 21:36:04 -05:00
Michael Cook
4b9524bd43
go vet: unreachable code
2018-12-29 13:20:11 +01:00
Michael Cook
a782d42ad6
go vet: result of fmt.Errorf call not used
2018-12-29 13:20:10 +01:00
Michael Cook
0762c448c4
gofmt -s
2018-12-29 13:20:10 +01:00
Michael Cook
741644b575
spelling
2018-12-29 13:04:40 +01:00
a-s-z-home
df7487cc0b
Merge remote-tracking branch 'origin/master' into filter_extension
2018-11-15 01:40:39 +01:00
Gilbert Chen
8aa67c8162
Support ssh private key files encrypted by passphrases
2018-11-09 14:17:56 -05:00
Gilbert Chen
53548a895f
Add the \?\ prefix to all paths on Windows
2018-11-08 21:29:02 -05:00
a-s-z-home
5e8baab4ec
- Reverted changes to exclude mechanism of .duplicacy directory.
2018-11-05 22:39:11 +01:00
a-s-z-home
e1fa39008d
Use new filter processing function for restore command.
...
- You can now include a filter file by using "@<filename>".
2018-11-05 00:59:39 +01:00
a-s-z-home
aaebf4510c
- Replaced static check for .duplicacy directory with usage of predefined filters.
...
Do not "misuse" property nobackupFile to trigger this feature.
- Restructured ProcessFilterFile function and splitted it in smaller parts.
- Prepare usage of new filter syntax for arguments of restore command.
2018-11-05 00:32:12 +01:00
a-s-z-home
96dd28995b
Added an include mechanism for filter file.
...
- Using @<filename>, you can now include other files. Relative paths are supported.
This is useful, if you have several repositories with some different filters and a common filter base set.
2018-11-03 20:39:03 +01:00
a-s-z-home
166f6e6266
Added string array helper functions Contains and Find.
2018-11-03 20:20:00 +01:00
a-s-z-home
86c89f43a0
Automatically exclude .duplicacy directory only, if nobackup_file is not
...
set.
2018-11-03 20:13:43 +01:00
Gilbert Chen
2e5cbc73b9
Bump version to 2.1.2
v2.1.2
2018-11-03 11:45:50 -04:00
Gilbert Chen
21b3d9e57f
Padding size was incorrect -- didn't pad to multiples of 256
2018-11-03 11:42:03 -04:00
Gilbert Chen
244b797a1c
Print the number of files if available in the snapshot file
2018-11-03 10:38:35 -04:00
Gilbert Chen
073292018c
Don't show snapshots whose tags don't match the given one
2018-10-28 23:30:22 -04:00
Gilbert Chen
15f15aa2ca
Show more statistics in the check command
2018-10-28 23:27:36 -04:00
Gilbert Chen
d8e13d8d85
Benchmark may incorrectly list the chunks directory when looking for previous temporary files
2018-10-22 09:11:15 -04:00
Gilbert Chen
bfb4b44c0a
Optimizating restore to avoid reading newly created sparse file
2018-10-21 22:43:24 -04:00
Patrick Seal
cce798ceac
Replace special characters in environment variable name with underscores
2018-09-18 11:16:31 -07:00
Gilbert Chen
22a0b222db
Align snapshot times to the beginning of days when calculating the differences
2018-09-08 20:31:49 -04:00
Gilbert Chen
674d35e5ca
Get accountID from b2_authorize_account and supply it to b2_list_buckets
2018-09-08 20:21:49 -04:00
Gilbert Chen
ab28115f95
Retry on EOF errors in the SFTP backend
2018-08-29 23:15:00 -04:00
Gilbert Chen
a7d2a941be
Restore UID and GID of symlinks
2018-08-29 17:10:35 -04:00
Gilbert Chen
39d71a3256
Fixed a divide by zero bug when the repository has only zero-byte files
2018-08-10 12:17:40 -04:00
Gilbert Chen
9d10cc77fc
Do not update the Windows keyring file if the password remains unchanged
2018-08-08 14:03:49 -04:00
Gilbert Chen
e8b8922754
Continue to check other snapshots when one snapshot has missing chunks
v2.1.1
2018-08-06 21:20:04 -04:00
Gilbert Chen
93cc632021
Record deleted snapshots in the fossil collection and if any deleted snapshot still exist nude the fossil collection
2018-08-04 22:59:25 -04:00
Gilbert Chen
48cc5eaedb
Print git commit number
2018-08-03 23:45:23 -04:00
Gilbert Chen
f304b64b3f
Removed a redundant call to manager.chunkOperator.Resurrect
2018-08-03 11:32:24 -04:00
Gilbert Chen
8ae7d2a97d
Remove extra newline in the PRUNE_NEWSNAPSHOT log message
2018-07-26 21:24:33 -04:00
Gilbert Chen
fce4234861
Rearrange struct members to avoid 64-bit int alignment issues
2018-07-26 21:19:03 -04:00
gilbertchen
e499a24202
Merge pull request #459 from jtackaberry/master
...
Fix "Failed to fossilize chunk" errors in wasabi backend
2018-07-24 21:52:27 -04:00