Skip to content

WIP: Database import/export

Alex Gleason requested to merge alexgleason/pleroma:migrator into develop

Related: #162 (closed), !1137 (closed)

So far, these are the verbatim Mix tasks used to import data from the Mastodon->Pleroma Migrator.

My end goal here is to do something along the lines of !1137 (closed). Here's what it still needs:

  • Exporting from Pleroma.
  • A consistent, formalized backup format.
  • Fixtures/automated tests.

The current backup format works well, but could be improved. Small things like timestamps aren't retained on Blocks, for example. Things I'd like to experiment with:

  • Try to consolidate the tables into a more Activities-oriented format.
  • Try using tarballs like in !1137 (closed)

I'd also like to document the format.

Mastodon should be able to export this format, but we don't care if Mastodon can import it back. Pleroma should be able to export and import it.

Getting this where it needs to be will likely be slow and take a lot of work, but I wanted to go ahead and put it on the table for now.

Edited by lain

Merge request reports