Gilbert Chen
d9f6545d63
Rewrite the backup procedure to reduce memory usage
...
Main changes:
* Change the listing order of files/directories so that the local and remote
snapshots can be compared on-the-fly.
* Introduce a new struct called EntryList that maintains a list of
files/directories, which are kept in memory when the number is lower, and
serialized into a file when there are too many.
* EntryList can also be turned into an on-disk incomplete snapshot quickly,
to support fast-resume on next run.
* ChunkOperator can now download and upload chunks, thus replacing original
ChunkDownloader and ChunkUploader. The new ChunkDownloader is only used
to prefetch chunks during the restore operation.
2021-10-24 23:34:49 -04:00
Gilbert Chen
d0b3b5dc2e
Print progress logs when verifying chunks (check -chunks)
2020-09-23 09:02:53 -04:00
Gilbert Chen
4eb174cec5
Remove a few util functions that aren't necessary
2019-04-26 23:47:25 -04:00
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
abcb4d75c1
Fixed a bug where filenames starting with i or e are mistakenly interpreted as regex
2019-04-07 22:43:36 -04: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
a-s-z-home
df7487cc0b
Merge remote-tracking branch 'origin/master' into filter_extension
2018-11-15 01:40:39 +01:00
Gilbert Chen
53548a895f
Add the \?\ prefix to all paths on Windows
2018-11-08 21:29:02 -05:00
a-s-z-home
166f6e6266
Added string array helper functions Contains and Find.
2018-11-03 20:20:00 +01:00
Patrick Seal
cce798ceac
Replace special characters in environment variable name with underscores
2018-09-18 11:16:31 -07:00
Gilbert Chen
aadd2aa390
Add an -enum-only option to the backup command to enumerate the repository only
2018-05-24 11:34:46 -04:00
Gilbert Chen
214a119507
Always take password from env or pref even if resetPassword is true
2017-11-21 12:31:54 -05:00
Gilbert Chen
787c421a0c
Fix a typo in GenerateKeyFromPassword()
2017-10-26 13:46:19 -04:00
Gilbert Chen
9608a7f6b6
Use random salt and make the number of iterations configurable for storage key derivation
2017-10-20 23:21:26 -04:00
Gilbert Chen
b0a67cefb7
No need to check if environment or preference has a different password than entered
2017-10-07 23:16:06 -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
f1fe64b9cc
moving "func min" to MinInt in utils
2017-09-19 01:06:08 -04:00
Jeff Thompson
805f6fd15d
store compiled regex patterns for performance optimization
2017-09-17 19:25:34 -05:00
Jeff Thompson
b56d7dedba
add regex matching to include/exclude filters
2017-09-14 08:49:24 -05:00
Gilbert Chen
d1817ae557
Should include storage name when looking up passwords for non-default storage
2017-09-11 21:43:34 -04:00
Gilbert Chen
3f83890859
Don't save passwords from env/pref to keyring
2017-09-08 16:51:05 -04:00
niknah
030cd274c2
If we have a sftp key file in the environment/preferences, then don't attempt a password login to avoid bad login errors.
2017-09-04 19:40:08 +10:00
Gilbert Chen
4adb8dbf70
Convert samba drive paths to UNC paths
2017-08-29 14:56:13 -04:00
Gilbert Chen
22ddc04698
Restore empty directories
2017-08-05 10:56:15 -04:00
Gilbert Chen
7f04a79111
Replace Fair Source 5 with our own free-for-personal-use license
2017-07-13 23:33:14 -04:00
Gilbert Chen
2424a2eeed
Switch from goamz to aws-sdk-go for the S3 storage backend
2017-06-13 12:27:01 -04:00
Gilbert Chen
42337d84c3
Move source files into src for a better looking front page
2017-06-07 14:04:11 -04:00
Gilbert Chen
4a1dc01ff4
Reorganize src directory
2017-06-02 16:33:36 -04:00
Gilbert Chen
bdf017e552
Move source files to src/
2017-05-23 10:25:00 -04:00