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

Technology

37712 readers
315 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] 15 points 1 year ago (3 children)

What you're describing is one of the root issues with the current system. It's the same reason that if your instance goes down, your account and history go with it. I'd love to see an implementation of some sort of account awareness like you said, which could also make it easier to backup history to another instance in the event that your primary goes down.

[–] [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] 2 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] 0 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] 2 points 1 year ago* (last edited 1 year ago)

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] 2 points 1 year ago

I'd be interested in something like a lightweight CDN/replication with OAuth2 for logging into other instances. Each instance 'replicates' your original account but isn't itself the master. One can be promoted to master in the event of an outage effectively migrating your account.

Would make for some difficult security considerations given a rogue instance could attempt to hijack authority.

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

It's the main reason for mastodon feeling so off. Subbing to a community is something I can deal with, but having a network where you need to follow individuals and the way of doing it is cumbersome sucks. All of these places would benefit greatly if there was a solution.