Does anyone know if Lemmy has support for a “replicated instance”?

What I’m imagining is a backup of all Communities and Posts at least, in such a way that does not cause a nightmare for the Federated feed, but could be swapped in if something were to happen to the original?

  • jon@lemmy.tf
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    A few people have posted scripts in here and self hosted to automatically sub your instance to tons of remote communities. Text content from any indexed sub will be stored in your Postgres DB, but Pict-rs just caches remote images briefly.

  • Distributed@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Yes, postgres supports replication if you own the instance you’re trying to replicate.

    If not, you could write up a script pretty easily using the api to copy the data you want.