]> git.proxmox.com Git - proxmox-backup-restore-image.git/log
proxmox-backup-restore-image.git
3 years agobuild initramfs: do not hardcode package versions
Thomas Lamprecht [Fri, 9 Apr 2021 12:58:14 +0000 (14:58 +0200)]
build initramfs: do not hardcode package versions

While it can be good to have those tracked, handling that should be
less friction. (e.g., simply output them a file tracked in git)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate ZFS to 2.0.4
Thomas Lamprecht [Fri, 9 Apr 2021 10:07:25 +0000 (12:07 +0200)]
update ZFS to 2.0.4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate submodule to Ubuntu-5.11.0-14.15
Thomas Lamprecht [Fri, 9 Apr 2021 09:51:23 +0000 (11:51 +0200)]
update submodule to Ubuntu-5.11.0-14.15

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate to 5.11 based kernel
Thomas Lamprecht [Tue, 16 Mar 2021 15:48:28 +0000 (16:48 +0100)]
update to 5.11 based kernel

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agofixup "test-run" target
Stefan Reiter [Tue, 16 Mar 2021 15:26:00 +0000 (16:26 +0100)]
fixup "test-run" target

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoactually commit the new split-out make file
Thomas Lamprecht [Tue, 16 Mar 2021 14:23:25 +0000 (15:23 +0100)]
actually commit the new split-out make file

... -.-

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate/rework packaging and buildsys
Thomas Lamprecht [Thu, 18 Feb 2021 16:16:47 +0000 (17:16 +0100)]
update/rework packaging and buildsys

try to split packaging from build and lots of such stuff

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agodebian: use compat level 12
Thomas Lamprecht [Wed, 17 Feb 2021 08:13:00 +0000 (09:13 +0100)]
debian: use compat level 12

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 0.1.0-1
Thomas Lamprecht [Wed, 17 Feb 2021 08:12:09 +0000 (09:12 +0100)]
bump version to 0.1.0-1

do not start out with a to stable sounding 1.0 yet

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoinitial commit
Stefan Reiter [Tue, 16 Feb 2021 17:06:51 +0000 (18:06 +0100)]
initial commit

proxmox-restore-vm-data provides means to build a debian package
containing a minimalistic Linux kernel and a corresponding initramfs
image for use in a file-restore VM.

Launched with QEMU/KVM, it boots in 1.6 seconds to userspace (on AMD
2700X) and has a minimal attack surface (no network stack other than
virtio-vsock, no auxiliary device support (USB, etc...), userspace
written in Rust) as opposed to mounting backup archives directly on the
host.

Since our Rust binaries are currently not fully statically linked, we
need to include some libraries into the initramfs as well. This is done
in 'build_initramfs.sh'.

A minimal /init is included as a Rust binary (init-shim-rs), doing only
the bare-minimum userspace setup before handing over control to the
file-restore daemon (see 'proxmox-backup' repository).

The debian package comes with a 'activate-noawait
pbs-file-restore-initramfs' trigger activation to rebuild the cached
initramfs when the base image shipped here updates. This is taken care
of by proxmox-file-restore.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>