]> git.proxmox.com Git - vma-to-pbs.git/log
vma-to-pbs.git
13 days agoupdate to current PBS master master
Fabian Grünbichler [Wed, 4 Sep 2024 08:13:13 +0000 (10:13 +0200)]
update to current PBS master

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 weeks agobump proxmox-sys
Filip Schauer [Wed, 24 Jul 2024 16:18:53 +0000 (18:18 +0200)]
bump proxmox-sys

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
2 months agoadd support for notes and logs
Filip Schauer [Wed, 10 Jul 2024 14:57:32 +0000 (16:57 +0200)]
add support for notes and logs

Allow the user to specify a notes file and a log file to associate with
the backup

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
2 months agopass args by reference to create_pbs_backup_task
Filip Schauer [Wed, 10 Jul 2024 14:57:31 +0000 (16:57 +0200)]
pass args by reference to create_pbs_backup_task

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
2 months agobump proxmox-backup-qemu and proxmox-time
Filip Schauer [Wed, 10 Jul 2024 09:20:07 +0000 (11:20 +0200)]
bump proxmox-backup-qemu and proxmox-time

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
2 months agomove .cargo/config to .cargo/config.toml
Fabian Grünbichler [Thu, 20 Jun 2024 10:38:39 +0000 (12:38 +0200)]
move .cargo/config to .cargo/config.toml

the old location has been deprecated for a while, and rustc 1.78 will start to warn about it.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 months agobuild: properly use cargo wrapper
Fabian Grünbichler [Thu, 20 Jun 2024 08:42:01 +0000 (10:42 +0200)]
build: properly use cargo wrapper

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 months agoupdate to current proxmox-backup-qemu master
Fabian Grünbichler [Thu, 20 Jun 2024 08:37:26 +0000 (10:37 +0200)]
update to current proxmox-backup-qemu master

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 months agocorrectly handle optional string parameters
Fabian Grünbichler [Thu, 16 May 2024 08:59:27 +0000 (10:59 +0200)]
correctly handle optional string parameters

one of the downsides of going via the C API here - on has to be careful to no
accidentally drop CStrings while also wanting to use them via pointers..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 months agoencrypt: improve checks
Fabian Grünbichler [Thu, 16 May 2024 08:57:04 +0000 (10:57 +0200)]
encrypt: improve checks

reject invalid combinations (encryption requested, but no keyfile) and warn
about pitfalls (keyfile given, but encryption not requested).

also allow keyfiles without passwords, but add a hint in case prompting is not
possible but not password file was given.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 months agoclippy fix
Fabian Grünbichler [Thu, 16 May 2024 08:56:40 +0000 (10:56 +0200)]
clippy fix

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 months agofix unused compress and encrypt options
Filip Schauer [Wed, 15 May 2024 13:24:21 +0000 (15:24 +0200)]
fix unused compress and encrypt options

Pass compress and encrypt to proxmox_backup_new_ns instead of using
default values. This was an oversight in the initial commit 4446414b.

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
4 months agobuild: upload for PVE and PBS
Fabian Grünbichler [Tue, 23 Apr 2024 08:18:04 +0000 (10:18 +0200)]
build: upload for PVE and PBS

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 months agobump version to 0.0.1
Fabian Grünbichler [Tue, 23 Apr 2024 08:12:27 +0000 (10:12 +0200)]
bump version to 0.0.1

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 months agoadd --backup-time to allow import of archival data
Fabian Grünbichler [Tue, 23 Apr 2024 08:03:42 +0000 (10:03 +0200)]
add --backup-time to allow import of archival data

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 months agoadd namespace support
Fabian Grünbichler [Tue, 23 Apr 2024 07:54:47 +0000 (09:54 +0200)]
add namespace support

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 months agoadd debian packaging
Wolfgang Bumiller [Tue, 9 Apr 2024 13:09:18 +0000 (15:09 +0200)]
add debian packaging

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 months agoreformat command line arguments to kebab-case
Filip Schauer [Tue, 9 Apr 2024 12:14:23 +0000 (14:14 +0200)]
reformat command line arguments to kebab-case

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
5 months agoswitch argument handling from clap to pico-args
Filip Schauer [Tue, 9 Apr 2024 12:14:22 +0000 (14:14 +0200)]
switch argument handling from clap to pico-args

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
5 months agomakefile: remove reference to unused submodule
Filip Schauer [Tue, 9 Apr 2024 12:14:21 +0000 (14:14 +0200)]
makefile: remove reference to unused submodule

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
5 months agorefactor error handling
Filip Schauer [Tue, 9 Apr 2024 12:14:20 +0000 (14:14 +0200)]
refactor error handling

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
5 months agoadd a fallback for the --fingerprint argument
Filip Schauer [Tue, 9 Apr 2024 12:14:19 +0000 (14:14 +0200)]
add a fallback for the --fingerprint argument

Fallback to the PBS_FINGERPRINT environment variable if the
--fingerprint argument is not specified.

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
5 months agoadd support for streaming the VMA file via stdin
Filip Schauer [Tue, 9 Apr 2024 12:14:18 +0000 (14:14 +0200)]
add support for streaming the VMA file via stdin

This allows the user to stream a compressed VMA file directly to a PBS
without the need to extract it to an intermediate .vma file.

Example usage:

zstd -d --stdout vzdump.vma.zst | vma-to-pbs \
    --repository <auth_id@host:port:datastore> \
    --vmid 123 \
    --password-file pbs_password

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
5 months agoremove unnecessary "extern crate" declarations
Filip Schauer [Tue, 9 Apr 2024 12:14:17 +0000 (14:14 +0200)]
remove unnecessary "extern crate" declarations

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
5 months agobump proxmox-backup-qemu
Filip Schauer [Tue, 9 Apr 2024 12:14:16 +0000 (14:14 +0200)]
bump proxmox-backup-qemu

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
5 months agoadd the ability to provide credentials via files
Filip Schauer [Tue, 9 Apr 2024 12:14:15 +0000 (14:14 +0200)]
add the ability to provide credentials via files

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
8 months agobump proxmox-backup-qemu
Wolfgang Bumiller [Fri, 5 Jan 2024 10:49:49 +0000 (11:49 +0100)]
bump proxmox-backup-qemu

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
9 months agocargo fmt
Wolfgang Bumiller [Thu, 7 Dec 2023 13:36:51 +0000 (14:36 +0100)]
cargo fmt

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
9 months agoInitial commit
Filip Schauer [Wed, 4 Oct 2023 08:29:18 +0000 (10:29 +0200)]
Initial commit

Implement a tool to import VMA files into a Proxmox Backup Server

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>