this post was submitted on 14 Jun 2023
406 points (100.0% liked)

Technology

37717 readers
475 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

Not mine, just cross-posting.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago (1 children)

Oh this would be nice, a standardized way to back up instances so in the case of one going down forever someone else could pick it up and start running.

I know I'm happy to run my instance, I have a great fiber line and a solid infrastructure, but if I get hit by a bus tomorrow I'd want someone else to pick it up and get running

[–] [email protected] 1 points 1 year ago (2 children)

A one-click account transfer to a different instance would be great. However, there can be several "gotchas", maybe the target instance has lower "permissions", so that can lead to data loss. Eg: my instance doesn't allow pictures more than 100 kb, some other instance doesn't allow creation of communities. So this needs to be carefully throughout.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Seems the easiest solution to that would be to simply have a comparison view. The permissions are setup using some sort of standardized method, yes? Config file, GUI (which just alters config file), whatever. Certainly it wouldn't be hard to simply grab and organize a list of perms from both instances and toss em up side by side. Could even add notes (i.e. if photo storage on Instance A > Instance B notify user that "migrating to this instance may cause some larger photos to be removed from your account").

I'm not a professional programmer (sys admin, so mostly just automation) but there are certainly solutions to this.

[–] [email protected] 1 points 1 year ago (1 children)

oh I was thinking a full instance backup. As an instance admin it'd be nice to backup the whole thing in a standardized way so someone else could grab it and spin it up if I collapsed tomorrow, all the community and users

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

If the instance is setup as a docker container, then it should be easy. The following should be transferred

  • docker-compose file
  • zipped up volume directory

At the destination, the docker volume dirs should be unzipped and the new paths should be updated in the docker-compose file. I'm sure someone would have made a script for this by now.

[–] [email protected] 1 points 1 year ago

Which is what I'm doing, and I store the backups securely, but then there's no standardized way of "Hey the admin is gone, can we take over" ability. I could tell my community here are the backups, but then there's just no standardized way of transferring admin. Idk, I think most things online should have a "Will and testament" type thing. "This passes to XXX"