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