Dietmar Maurer
|
2f3642766d
|
implement async connect command
|
2019-10-24 13:52:16 +02:00 |
|
Dietmar Maurer
|
91ee12a2ea
|
cleanup: implement CallbackPointers send_result()
|
2019-10-24 12:44:33 +02:00 |
|
Dietmar Maurer
|
8bce735530
|
use relative path in symbolic link to libproxmox_backup_qemu.so.0
|
2019-10-24 10:10:46 +02:00 |
|
Dietmar Maurer
|
ca22d6e09c
|
simpletest.c: pass new keyfile parameters (NULL for now)
|
2019-10-16 13:48:48 +02:00 |
|
Dietmar Maurer
|
6dd823ebff
|
proxmox_backup_connect: add keyfile and key_password parameter
|
2019-10-16 13:46:17 +02:00 |
|
Dietmar Maurer
|
62fd16974e
|
fix typo
|
2019-10-16 12:12:18 +02:00 |
|
Dietmar Maurer
|
7dfc23db39
|
proxmox_backup_connect: make password optional
|
2019-10-16 11:47:45 +02:00 |
|
Dietmar Maurer
|
574e020389
|
simpletest.c: make it work again, pass repo as command line parameter
|
2019-10-16 11:46:42 +02:00 |
|
Dietmar Maurer
|
b9513dec51
|
Makefile: fix simpletest target
|
2019-10-16 11:45:32 +02:00 |
|
Dietmar Maurer
|
536e728645
|
improve docs
|
2019-10-15 15:16:07 +02:00 |
|
Dietmar Maurer
|
493e03630b
|
cleanup restore api, allow to restore multiple images
|
2019-10-15 12:11:22 +02:00 |
|
Dietmar Maurer
|
9cad27bd53
|
src/restore.rs: implement restore
|
2019-10-14 13:50:20 +02:00 |
|
Dietmar Maurer
|
48e4510ee7
|
src/commands.rs: use new DataChunkBuilder::build_zero_chunk()
|
2019-10-14 11:03:50 +02:00 |
|
Dietmar Maurer
|
2f25004b35
|
cleanups, rename BackupClient to BackupWriter
|
2019-10-12 14:19:59 +02:00 |
|
Dietmar Maurer
|
a828883815
|
set toolchain to beta
|
2019-10-12 14:13:29 +02:00 |
|
Dietmar Maurer
|
b967cabc91
|
add dummy code for simple restore tasks.
|
2019-10-12 12:12:31 +02:00 |
|
Dietmar Maurer
|
3f513f8410
|
src/worker_task.rs: fix typo
|
2019-10-12 12:11:48 +02:00 |
|
Dietmar Maurer
|
3cc2f50941
|
src/commands.rs: adopt to changes in proxmox-backup
|
2019-10-12 09:38:55 +02:00 |
|
Dietmar Maurer
|
e609d23edf
|
adopt to latest changes in proxmox-backup
|
2019-10-06 10:51:47 +02:00 |
|
Dietmar Maurer
|
c01397601c
|
use correct file name in index.json
|
2019-10-02 13:34:19 +02:00 |
|
Dietmar Maurer
|
03841f08ba
|
add_config: use correct size
We want to store the size of the encoded blob in the index.
|
2019-10-02 11:34:57 +02:00 |
|
Dietmar Maurer
|
df85507d5b
|
remove stale comment
|
2019-09-30 12:38:03 +02:00 |
|
Dietmar Maurer
|
a58c91f0e6
|
ChunkUploadInfo: add chunk_is_known flag
To avoid unnecessary locking...
|
2019-09-30 11:26:21 +02:00 |
|
Dietmar Maurer
|
5f0adbd55e
|
cleanup: use tokio::sync::{mpsc, oneshot};
|
2019-09-29 11:30:57 +02:00 |
|
Dietmar Maurer
|
711e28e51e
|
src/upload_queue.rs: new helper create_upload_queue()
|
2019-09-29 11:21:50 +02:00 |
|
Dietmar Maurer
|
13586d6452
|
src/upload_queue.rs: split upload_handler into extra file
|
2019-09-29 11:08:02 +02:00 |
|
Dietmar Maurer
|
22058d9a02
|
cleanup: use TryFutureExt (for .map_err())
|
2019-09-29 10:57:23 +02:00 |
|
Dietmar Maurer
|
2caede3c76
|
improve upload queue error handling
|
2019-09-29 10:40:19 +02:00 |
|
Dietmar Maurer
|
251571854d
|
speedup chunk upload
|
2019-09-28 18:27:03 +02:00 |
|
Dietmar Maurer
|
54f17651db
|
add resonable connect parameters
|
2019-09-27 11:49:57 +02:00 |
|
Dietmar Maurer
|
e79c467767
|
move async command implementation to commands.rs
|
2019-09-24 12:15:57 +02:00 |
|
Dietmar Maurer
|
7eea11fae4
|
move BackupMessage into capi_types.rs
|
2019-09-24 11:27:54 +02:00 |
|
Dietmar Maurer
|
070dc02497
|
spli C-API from rest of the code
|
2019-09-24 11:22:12 +02:00 |
|
Dietmar Maurer
|
c7077bb3ae
|
src/capi_types.rs: slip types for C api into separate file
|
2019-09-24 11:08:58 +02:00 |
|
Dietmar Maurer
|
da74982148
|
rename BackupRepository into BackupSetup
|
2019-09-24 11:01:40 +02:00 |
|
Dietmar Maurer
|
534da1d4a4
|
pass known_chunks as argument (no need to store inside ImageUploadInfo)
|
2019-09-24 10:31:14 +02:00 |
|
Dietmar Maurer
|
249ec8ae0c
|
upload index.json
|
2019-09-24 10:25:14 +02:00 |
|
Dietmar Maurer
|
c00eaa4c79
|
compute index checksum, simplify code
|
2019-09-23 13:13:17 +02:00 |
|
Dietmar Maurer
|
0c78e6d873
|
implement add_config
|
2019-09-22 11:13:06 +02:00 |
|
Dietmar Maurer
|
8768cbbc66
|
implement proxmox_backup_finish_async()
|
2019-09-21 16:15:28 +02:00 |
|
Dietmar Maurer
|
1402fea34b
|
proxmox_backup_abort: use *const char
|
2019-09-21 15:56:26 +02:00 |
|
Dietmar Maurer
|
64100fed29
|
handle known chunks
|
2019-09-21 15:45:21 +02:00 |
|
Dietmar Maurer
|
d50d567b9b
|
cleanup
|
2019-09-21 15:32:55 +02:00 |
|
Dietmar Maurer
|
6881178b8d
|
factor out register_zero_chunk
|
2019-09-21 15:28:25 +02:00 |
|
Dietmar Maurer
|
527c723910
|
minor cleanup
|
2019-09-21 15:20:00 +02:00 |
|
Dietmar Maurer
|
c737c4e93d
|
upload and use zero sized chunk
|
2019-09-21 11:12:33 +02:00 |
|
Dietmar Maurer
|
0d1c79f3a4
|
computer zero chunk digest at register_image
|
2019-09-21 10:47:34 +02:00 |
|
Dietmar Maurer
|
375b4efd09
|
add chunk_size configuration
|
2019-09-21 10:34:39 +02:00 |
|
Dietmar Maurer
|
c2610a6183
|
implement image registry, implement close image
|
2019-09-21 10:24:24 +02:00 |
|
Dietmar Maurer
|
3c46500c25
|
pass client to command implementation
|
2019-09-19 10:07:53 +02:00 |
|