LamaThematique

joined 1 week ago
[–] LamaThematique@lemmy.world 1 points 2 hours ago* (last edited 2 hours ago)

Hey, sorry about that, it seems like I lost internet during the night, it is now fixed.

edit: typo

 

I initially shared a my latest project with you here. A lot have happened in LaManager in the past 2 weeks so I though i would make an update post.

Reminder of what is LaManager: It's a services manager build to use copy on write to reduce downtime when doing offline backups while ensuring that all the data is in a coherent state. It can also create and manage it's own virtual disk images to allow it to work anywhere outside of supported COW filesystems.

First LaManager has now been put in production and as been working without issue since then.

Currently on my homelab it manages : caddy (with anubis), forgejo, jellyfin, jitsi, matrix (including frontend and bridges), nextcloud (including euro-office), pi-hole, qbittorrent, redlib and vaultwarden.

Changes and new features since last time :

  • NEW FILESYSTEM SUPPORT: ZFS !
  • moved development to my forgejo instance
  • shell-completion for bash, elvish, fish, powershell and zsh
  • mutithreading of operations applied on multiple services (start, stop, backups, restart, remove)
  • new restart command for services
  • better error handling with anyhow
  • added a lockfile to prevent unmounting during backups or others combinations of incompatible operations
  • Licensed under AGPLv3

The forgejo instance is open registration to allow contributions.

With all thoses services the total downtime when doing a backup is under 17 seconds and extremely consistent, even when the remote took more than 20 minutes to sync.

For the entire week since introduction of multithreading daily backups downtime never went bellow 16 seconds or above 18.

As i've seen the discussions around about AI, i can confirm that currently LaManager has been fully created without any use of AI.

[–] LamaThematique@lemmy.world 2 points 1 week ago

After putting it to prod on my homeserver and running some test with a slow remote (a friend homeserver). I was able to have ~30 seconds downtime total across all services for a backup that needed 35 minutes to complete.

Usually an offline backups would have needed to have downtime for the entire 35 minutes to ensure a consistant state. Here i have the same guaranties for much cheaper.

note that the situation I have somewhat extreme but it shows well the benefits.

[–] LamaThematique@lemmy.world 6 points 1 week ago

Thanks, don't hesitate to ask :)

 

Hello,

First let me answer your first question : No, It's not AI generated.

I started working on a new project geared towards small self-hosted environment which automate the use of snapshot to reduce downtime when doing offline backups.

Instead of waiting for the entire external backup to finish to restart the service LaManager create a instantaneous snapshot using Copy on Write (COW) restart the service and upload the external backups reducing downtime significantly.

More details in the readme.md.

Warning the project is still very early so there might be rough edge and bugs, be careful. However I hope to be able to make something nice and usefull out of it.

PS: It is my first post on lemmy after looking around without account here for a while, the lack of history is not me being a bot, I'm just new here.