Commit Graph
50 Commits
Author SHA1 Message Date
Jarek Kowalski 6e83ad0b9b moved policies to separate package
refactored policy management into policy.Manager that uses manifest.Manager internally
2017-11-27 18:05:32 -08:00
Jarek Kowalski 5b287815ad add snapshot manifest to manifest.Manager at the end of upload 2017-11-10 20:18:57 -08:00
Jarek Kowalski 032e3cb737 merged 'format' and 'repo' blocks into 'kopia.repository' 2017-11-08 20:09:06 -08:00
Jarek Kowalski b6575a97ba moved metadata manager to 'metadata' package and refactored initialization sequence 2017-10-29 10:29:22 -07:00
Jarek Kowalski f7a1fb37b0 added auth.KeyManager 2017-10-15 09:00:53 -07:00
Jarek Kowalski 44f8940a8f removed support for object ID prefixes 2017-10-14 16:38:27 -07:00
Jarek Kowalski b5d0f2d120 more renames 2017-10-14 16:38:27 -07:00
Jarek Kowalski c3f31d744f removed stuttering 2017-10-14 16:38:22 -07:00
Jarek Kowalski 31e5bce1cb moved object management to kopia/kopia/object 2017-10-14 16:38:22 -07:00
Jarek Kowalski f33ae14573 renamed 'blob.Storage' to 'storage.Storage' 2017-10-14 16:38:09 -07:00
Jarek Kowalski cc3e590136 moved block manager and formatter to a separate package 2017-10-09 06:42:30 -07:00
Jarek Kowalski 4b77119736 made packing the default, replaced FinishPacking with Flush() 2017-09-23 10:55:57 -07:00
Jarek Kowalski b5a7d05adf refactored Repository API 2017-09-15 18:35:27 -07:00
Jarek Kowalski 76b712c2fb moved creation of repofs entries to snapshot.Manager 2017-09-04 20:47:51 -07:00
Jarek Kowalski 371fc15694 merged 'repofs' into 'snapshot' package 2017-09-04 20:26:25 -07:00
Jarek Kowalski 998ed1ddac simplified MetadataManager API for listing, added caching of metadata items (unbounded for now)
disabled go <1.9 since we're now using t.Helper(), which is awesome
2017-08-29 21:46:51 -07:00
Jarek Kowalski d2105aea40 added files policy include/exclude configuration and checking during Upload 2017-08-19 23:36:49 -07:00
Jarek Kowalski 61cc2b46be tweaks to upload behavior: default to ignoring errors, do not hashcache recently changed files 2017-08-19 21:08:36 -07:00
Jarek Kowalski 484db94e23 removed support for legacy bundles, now that packs are supported everywhere 2017-08-19 18:06:15 -07:00
Jarek Kowalski f0fcc60374 now that packing is transparent, inline object IDs are not needed, removed support for them and simplified ObjectWriter.Result() to no longer require a parameter 2017-08-19 14:23:09 -07:00
Jarek Kowalski afc9a4fa4d typo 2017-08-19 14:10:22 -07:00
Jarek Kowalski 1f8df162c3 simplified how upload code is structured + how hash cache is emitted 2017-08-18 23:00:03 -07:00
Jarek Kowalski 15e0d59c33 added backup --force-hashing-percentage=0..100 which can be used to re-hash all or part of source files when uploading 2017-08-18 21:13:47 -07:00
Jarek Kowalski 097cf2d0b3 added option to ignore file read errors for backup and migration 2017-08-12 23:10:29 -07:00
Jarek Kowalski 60654e125b added 'migrate' command that can move all snapshot data between repositories. It's meant to be used in a cloud VM to (relatively) quickly re-create the contents of all snapshots using new repository format. Copying is done using snapshot.Uploader on top of a virtual filesystem from the source repository. 2017-08-12 15:23:51 -07:00
Jarek Kowalski 94f5420557 re-added support for bundles (read-only) to aid data migration 2017-08-12 14:07:22 -07:00
Jarek Kowalski ce4d59d8bb added support for cancelling upload with Ctrl-C which marks the snapshot as incomplete
added --include-incomplete to 'backups' command
improved upload API, added support for better cancellation and upload limits
changed hashcache Reader and Writer to use interfaces
2017-08-10 20:27:31 -07:00
Jarek Kowalski 2c86e54c81 removed support for bundles now that packs are looking much better and more flexible 2017-08-10 18:24:22 -07:00
Jarek Kowalski e76243e550 introduced multiple packs per upload - directory data is stored together, which allows is to be cached together speeding up browsing of backups 2017-08-10 18:08:34 -07:00
Jarek Kowalski 65d188ec59 removed unnecessary optimization to avoid hashing directories, this is now unnecessary since they end up being packed most of the time so they don't incur the cost of a round-trip
disabled bundling of entries, since support for bundles will be removed soon
2017-08-08 07:56:28 +02:00
Jarek Kowalski 22fe31044c enable packing when uploading 2017-08-07 15:12:01 +02:00
Jarek Kowalski df83cbea27 added status subcommand 2017-08-01 17:47:27 +02:00
Jarek Kowalski cfbef13aff Major refactoring to how repository connections are established and managed to simplify programmatic API usage and CLI.
Removed unnecessary and confusing options, improved the API.
2017-08-01 08:35:14 +02:00
Jarek Kowalski 4dcdb69dcc replaced use of Vault with Repository 2017-08-01 08:29:41 +02:00
Jarek Kowalski d8b2ba4c24 moved most methods from Repository to casManager 2017-08-01 08:29:41 +02:00
Jarek Kowalski c3f0d5ddc4 moved all Vault types to 'repo' package 2017-08-01 08:29:41 +02:00
Jarek Kowalski 700a4a8c92 moved Connection and ConnectionOptions to its own package 2017-07-17 14:23:15 +02:00
Jarek Kowalski 6ffde87bab changed vault snapshot prefix to S from B 2017-06-18 12:56:57 -07:00
Jarek Kowalski db4349a46d changed HMAC secret used for policy ID items in vault 2017-06-18 12:29:31 -07:00
Jarek Kowalski a81ade291a updated 'expire' command to obey policies 2017-06-17 22:19:23 -07:00
Jarek Kowalski 2c6295af4a added ability to get/set/list/remove policies on directories, user@host or --global, not used yet 2017-06-17 21:44:29 -07:00
Jarek Kowalski 470e44d9c0 filter out unsuccessful policies and snapshots 2017-06-17 12:46:16 -07:00
Jarek Kowalski adc84c4858 vault breaking change - changed how vault item IDs are generated for sources to prevent confirmation of directory names via item names 2017-06-17 12:06:14 -07:00
Jarek Kowalski 8bab3eb3f1 policies work in progress 2017-02-20 17:50:20 -08:00
Jarek Kowalski 28e1a01df0 removed kopia.Connection.SnapshotManager 2017-02-04 21:50:59 -08:00
Jarek Kowalski eee838f5fd snapshot manager API tweak 2017-01-30 20:52:33 -08:00
Jarek Kowalski 81fd499bae moved upload functionality to snapshot package 2017-01-30 20:07:02 -08:00
Jarek Kowalski fc6c29b4e4 added SaveSnapshot() to snapshot.Manifest 2017-01-29 11:57:49 -08:00
Jarek Kowalski a5cf717397 Refactored kopia.Connection to expose snapshot.Manager, which exposes methods to manipulate snapshots. 2017-01-28 21:24:01 -08:00
Jarek Kowalski bfd978a589 moved Snapshot and SnasphotSourceInfo to separate package 2017-01-28 17:33:47 -08:00