Daily Shaarli

All links of one day in a single page.

February 15, 2025

[all variants] Howto fsarchiver: restoring a full partition archive to a mountable image

Restore ONLY the files from a fsarchiver archive made with savefs - usually you would need an empty partition and it would be a destructive operation.

Supremely clever solution - creates an empty image file, connects it to a loopback device to which fsarchiver writes as if it's a partition. Then you can simply mount the resulting file and tada - your files are back.

[How-To] Restore OMV system backup made with openmediavault-backup plugin - Guides - openmediavault

Complete guide to using the 'omv-backup' plugin (in plugin-extras nowadays) with the fsarchiver option. Made for bare-metal to bare-metal but can presumably be adapted for other usecases.

Run nested Docker in Incus / LXD containers with BTRFS | Pieter Hollander

I like Docker, but I don’t like how it interferes with firewall rules. Moreover, I like to keep the base OS of every server as basic and clean as possible and use unprivileged Incus / LXD containers to run services.

Simple, concise explanation of turning off suspend on lid closing for laptops

Changes the systemd acpi event from 'HandleLidSwitch = suspend' to in etc/systemd/logind.conf ignore and that's it.

GitHub - david-cortes/snapper-in-debian-guide: Step-by-step guide for configuring Debian with automated BTRFS snapshots and rollbacks from the boot menu

Amazing debian guide for setting up all the btrfs niceties that we take for granted - snapshots, rollbacks, automatic grub entries.

Also shows which directories to exclude and what debian does differently.

Incus Storage Tricks - ScottiByte's Discussion Forum

"Incus containers and Incus Virtual Machines store their data in the default storage pool that is created when you installed Incus. You can use storage pools in other ways and even create supplemental storage pools. In December of 2023, I presented a video tutorial entitled LXD Storage Pools & Volumes. This tutorial is a follow-on to that one, however this time we focus on Storage Pools in Incus."

An in-depth tutorial from the basics of container storage management in incus to passthrough of usb devices like harddrives and so on.