• freamon@preferred.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months ago

    Nothing currently exists to help migrate DBs. Not yet anyway (other Lemmy admins have also expressed an interest in changing over).

    • abff08f4813c@j4vcdedmiokf56h3ho4t62mlku.srv.us
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      I noticed though how easy it is to replay activitypub events in pyfedi - i used this once to recreate a deleted posts along with all of its comments and up/downvotes on my instance.

      If a lemmy instance somehow had all of its server logs preserved, it might not be too difficult to craft them into replayable events for pyfedi, allowing all the posts and comments and votes to get recreated. It’s of limited utility (most lemmy servers would have rorated aways most of their logs long ago) but still an interesting thing to try out…

      • freamon@preferred.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        Lemmy logs its outgoing federation activity (rotating every 7 days I think), but not their incoming activity. That was a PieFed feature to aid debugging and development (I say ‘was’ because it’s not enabled by default anymore - you have to add LOG_ACTIVITYPUB_TO_DB = True to .env to get it back).