this post was submitted on 07 Mar 2026
104 points (98.1% liked)

Selfhosted

60093 readers
899 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require your active participation in selfhosting or related communities, or the post will be removed. No more than 10% of your posts or comments may be self-promotional, or your post will be removed. F/LOSS Exception: If your post is about a project that is completely open source & can be self-hosted in full without payment, and your account is at least 7 days old, your post is exempt from this rule as long as you continue to engage in comments.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] harsh3466@lemmy.ml 2 points 3 months ago (1 children)

I got a test box set up with nixos and a config that runs all of my services. I wanted to test the declarative rebuild promise of it, so I:

  1. Filled the services with my some of my backed up data (a copy of the data, not the actual backup)
  2. Ran it for a few days using some of the services
  3. Backed up the data of the nixos test server, as well as the nixos config
  4. Reinstalled nixos on the test box, brought in the config, and rebuilt it.

And it worked!!! All serviced came back with the data, all configuration was correct.

I'm going to keep testing, and depending on how that goes I may switch my prod server and nas to nixos.

[โ€“] smiletolerantly@awful.systems 3 points 3 months ago (1 children)

Very cool!

Re: the backup / restore of state in NixOS: I found myself writing the same things over and over again for each VM/service, so finally wrote this wrapper module (in action e.g. here for Jellyfin), which confgures both the backup services and timers, as well as adding a simple rsync-restore-jellyfin command to the system packages. In case you find this useful and don't already have your own abstractions, or a sufficiently different use case ๐Ÿ˜„

[โ€“] idealpink@feddit.nu 2 points 3 months ago

This is great! Thanks