Commit Graph

3660 Commits

Author SHA1 Message Date
Jarek Kowalski
7e4e715e45 travis: updated to go 1.12 2019-03-20 08:10:31 -07:00
Jarek Kowalski
6d597ce941 travis: updated to go 1.12 2019-03-20 08:10:02 -07:00
Jarek Kowalski
c0fc0c7a57 cli: fixed linter issues 2019-01-21 14:26:21 -08:00
Jarek Kowalski
5fc463f479 repo: upgraded to v0.3.0-pre1 2019-01-21 13:38:35 -08:00
Jarek Kowalski
5f2de971ae block: switched default hash and encryption to BLAKE2B-256-128 and SALSA20 respectively, as those are significantly faster than SHA2 and AES256 2019-01-21 13:30:12 -08:00
Jarek Kowalski
1803057657 manifest: removed legacy uncompressed JSON support 2019-01-21 13:16:17 -08:00
Jarek Kowalski
a34f629474 cli: fixed 'repo migrate' cancellation 2019-01-21 13:13:49 -08:00
Jarek Kowalski
df3a3124a6 go.mod: added commented-out 'replace' directive to facilitate working with repo 2019-01-21 13:12:51 -08:00
Jarek Kowalski
a70d6d804d cli: parallelize snapshot migration 2019-01-20 13:23:16 -08:00
Jarek Kowalski
74c4913b16 snapshot: automatically retain the most recent incomplete snapshot 2019-01-20 13:21:02 -08:00
Jarek Kowalski
a2c36f9119 snapshot: when uploading is cancelled, don't fail the upload with errCancelled, instead complete as much as possible and set incomplete reason 2019-01-20 13:20:23 -08:00
Jarek Kowalski
913f3392e3 cli: renamed 'repo migration' to 'snapshot migrate' and improved caching 2019-01-19 10:52:03 -08:00
Jarek Kowalski
ca9dd9933a updated go.sum 2019-01-19 10:51:57 -08:00
Jarek Kowalski
b37c29513b cli: added 'repo repair' subcommand which operates on the same arguments as 'repo connect', but it fixes contents of the repository by restoring missing kopia.repository file
tests: reorganized end-to-end tests
2019-01-19 05:48:40 -05:00
Jarek Kowalski
3377e403a5 repo: moved recovery block from index blocks to pack blocks, with encrypted repositories index blocks are encrypted, which defeats the purpose of recovery blocks, but pack blocks contain individually-encrypted sub-blocks 2019-01-19 05:27:19 -05:00
Jarek Kowalski
a01b0359dc added hmac to format block embedded in pack indexes 2019-01-14 06:55:49 -08:00
Jarek Kowalski
c35037601d repo: embed format block bytes in all pack indexes
This allows format block to be recovered if any block
indexes survives. The block is not encrypted, but has HMAC is
followed by 2-byte size.
2019-01-12 14:24:09 -08:00
Jarek Kowalski
6ce6a47d00 cli: fixed flags for blockindex subcommands 2019-01-12 11:19:38 -08:00
Jarek Kowalski
2e297dc60d repo: upgraded to latest version, removed format block settings from repository create, instead --encryption=NONE disables encryption of both blocks and format 2019-01-12 09:24:12 -08:00
Jarek Kowalski
766f574973 repo: removed controls for setting format block encryption, instead when block encryption is enabled, the format block is automatically encrypted using default encryption algorithm 2019-01-12 09:14:34 -08:00
Jarek Kowalski
be70daa3e3 cli: added warning to 'snapshot list' when no snapshots are found 2019-01-07 23:44:15 -08:00
Jarek Kowalski
d5f5977e27 fixed lint error 2019-01-06 17:58:45 -08:00
Jarek Kowalski
a5b33944eb added 'repo connect from-config' for importing existing config across machines 2019-01-06 17:07:48 -08:00
Jarek Kowalski
000ca67f25 test: fixed end_to_end_test 2019-01-02 19:59:21 -08:00
Jarek Kowalski
b9cff7b480 cli: changed 'snapshot list' parameters meaning
--all (-a) displays snapshots from all hosts (by default only current host)

Renamed previous --all (-a) to --show-identical (-l)
Updated help.
2019-01-02 18:34:34 -08:00
Jarek Kowalski
db9759bf3a upgraded repo 2018-12-31 19:10:21 -08:00
Jarek Kowalski
840d5ab749 removed support for legacy block format, to migrate sync to previous commit and run 'kopia repo upgrade' 2018-12-31 19:01:08 -08:00
Jarek Kowalski
0b89cbef3b cli: added 'repo upgrade' command that invokes Repository.Upgrade() 2018-12-31 17:12:30 -08:00
Jarek Kowalski
24bd5bbe1f repo: added Repository.Upgrade() API 2018-12-31 17:08:41 -08:00
Jarek Kowalski
b4c80348f8 object: removed dependency on jsonstream for parsing indirect objects 2018-12-31 14:21:47 -08:00
Jarek Kowalski
bf2b079943 readme: tweaks 2018-12-30 12:45:56 -08:00
Jarek Kowalski
89ed30d03e Updated readme 2018-12-30 10:16:38 -08:00
Jarek Kowalski
18932db45f Makefile: added build-all target, missing Windows and Linux-specific deps 2018-12-30 06:41:50 -08:00
Jarek Kowalski
552369931c Makefile: added build-all target 2018-12-30 06:32:58 -08:00
Jarek Kowalski
18532f736b cli: fixed linter warning 2018-12-29 15:29:21 -08:00
Jarek Kowalski
1cd927c8fc cli: added 'block cryptobenchmark' subcommand 2018-12-29 15:14:49 -08:00
Jarek Kowalski
a6a9729f71 upgraded repo to v0.2.0 2018-12-29 15:14:29 -08:00
Jarek Kowalski
6e8a48ed4f Revamped hash and encryption algorithm handling.
This enables many more combinations of hash and encryption algorithm
to be selected, some with dramatically better performance.
2018-12-29 15:08:29 -08:00
Jarek Kowalski
e5af47227c manifest: removed manifest.EntryIDs 2018-12-24 10:35:02 -08:00
Jarek Kowalski
b042d00985 object: dead code 2018-12-24 08:24:00 -08:00
Jarek Kowalski
704dcd3e46 travis: use latest point release of Go 1.11 2018-12-23 23:36:46 -08:00
Jarek Kowalski
86d9df8ad6 makefile: filter out *testing/ packages from code coverage results 2018-12-23 23:34:18 -08:00
Jarek Kowalski
7d03d82cd1 retry: added tests for retry loop 2018-12-23 23:20:29 -08:00
Jarek Kowalski
53b4a9abd2 jsonstream: added test cases 2018-12-23 23:04:12 -08:00
Jarek Kowalski
641b25a508 repo: added tests for Disconnect() 2018-12-23 21:12:53 -08:00
Jarek Kowalski
afad2ad237 repo: moved repository_test to top level 2018-12-23 20:53:44 -08:00
Jarek Kowalski
c4eb754818 block cache: additional tests for cache faults 2018-12-23 18:23:42 -08:00
Jarek Kowalski
160d02a6eb block cache: fixed a bug where we remove wrong item from the cache, added tests 2018-12-23 11:59:17 -08:00
Jarek Kowalski
097367ca02 manifest: added TestManifestInitCorruptedBlock 2018-12-22 23:44:29 -08:00
Jarek Kowalski
9bb34f2e8c block: refactored assertion checking 2018-12-22 22:49:09 -08:00