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

Selfhosted

60281 readers
663 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

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 (2 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