Dietmar Maurer
|
ad78a1a100
|
cleanup: use macro raise_error_int
|
2020-03-11 10:36:31 +01:00 |
|
Dietmar Maurer
|
eff15f5748
|
correctly convert error messages to CString
|
2020-03-11 10:24:23 +01:00 |
|
Dietmar Maurer
|
091e70b0c8
|
remove debug statements
And print unrecoverable errors to stderr.
|
2020-03-11 09:35:26 +01:00 |
|
Dietmar Maurer
|
9d60e3ffd3
|
bump version to 0.1.2-1
|
2020-03-10 11:22:58 +01:00 |
|
Dietmar Maurer
|
d648f6dcee
|
build.rs: .with_include_guard("PROXMOX_BACKUP_QEMU_H")
|
2020-03-10 11:21:16 +01:00 |
|
Dietmar Maurer
|
8128b10d85
|
Makefile: upload to pve instead of pbs product
|
2020-03-03 08:04:07 +01:00 |
|
Dietmar Maurer
|
a13913f786
|
Makefile: add upload target
|
2020-03-03 07:55:59 +01:00 |
|
Dietmar Maurer
|
61f9fc51b1
|
depend on specific proxmox-backup git version
|
2020-03-03 07:49:53 +01:00 |
|
Dietmar Maurer
|
85a695a304
|
fix compile errors
|
2020-02-19 13:13:14 +01:00 |
|
Dietmar Maurer
|
36d22ed6a4
|
set fingerprint and password on HttpClientOptions
|
2020-02-19 13:07:26 +01:00 |
|
Dietmar Maurer
|
28e0be9f0d
|
proxmox_restore_connect: use snapshot string (instead of backup_id and backup_time).
|
2020-02-19 12:47:01 +01:00 |
|
Dietmar Maurer
|
aca3c6a306
|
use BackupSetup for ProxmoxRestore::new()
|
2020-02-19 12:31:27 +01:00 |
|
Dietmar Maurer
|
76381310d3
|
simpletest.c: correctly handle write errors
|
2020-02-13 12:18:54 +01:00 |
|
Dietmar Maurer
|
9f41dd20bd
|
remove stale comment
|
2020-02-13 12:10:04 +01:00 |
|
Dietmar Maurer
|
056dd8fc80
|
allow to set chunk_size, and define PROXMOX_BACKUP_DEFAULT_CHUNK_SIZE
|
2020-02-13 12:09:32 +01:00 |
|
Dietmar Maurer
|
070e55bc37
|
also implement synchrounous c-api and fix simpletest.c
|
2020-02-13 11:41:14 +01:00 |
|
Dietmar Maurer
|
d96988fbe6
|
src/worker_task.rs: fix tokio runtime parameters
|
2020-02-13 09:03:48 +01:00 |
|
Dietmar Maurer
|
7e108c81f7
|
src/worker_task.rs: set thread name
|
2020-02-13 08:24:58 +01:00 |
|
Dietmar Maurer
|
a79ce5d618
|
src/worker_task.rs: use runtime.block_on() inside backup_worker_task
|
2020-02-13 08:15:05 +01:00 |
|
Dietmar Maurer
|
74363b4cdd
|
update all dependencies
|
2020-02-12 13:01:20 +01:00 |
|
Dietmar Maurer
|
5803f47b29
|
update rust toolchain to stable
|
2019-11-08 11:55:25 +01:00 |
|
Dietmar Maurer
|
7977ef8507
|
avoid clippy warnings
|
2019-10-26 14:46:01 +02:00 |
|
Dietmar Maurer
|
aa47e26411
|
simplify rust code
|
2019-10-25 12:25:46 +02:00 |
|
Dietmar Maurer
|
ca246b4590
|
run all commands async with tokio::spawn()
|
2019-10-25 11:57:33 +02:00 |
|
Dietmar Maurer
|
6abb11b405
|
proxmox_backup_free_error: test if ptr == NULL
|
2019-10-25 08:50:38 +02:00 |
|
Dietmar Maurer
|
ce96ec7bd7
|
header-preamble.c: add result parameter
|
2019-10-25 07:00:18 +02:00 |
|
Dietmar Maurer
|
82c4d21165
|
make proxmox_backup_register_image async
|
2019-10-25 06:53:37 +02:00 |
|
Dietmar Maurer
|
602a863955
|
make proxmox_backup_add_config async
|
2019-10-25 06:45:59 +02:00 |
|
Dietmar Maurer
|
e44ea5eaad
|
Add pointer to integer return value for all async functions
|
2019-10-25 06:36:59 +02:00 |
|
Dietmar Maurer
|
599499beaa
|
cleanup: avoid unwrap
|
2019-10-25 05:59:12 +02:00 |
|
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 |
|