Relay

Export & import v0.2.2

Export and import for Root

Your messages,
in and out.

Save your channels as files in the format you need, or bring messages back into Root, posted at your pace.

Relay's Export tab with channel, format, and field choices, one running export, and one ready to download

5 formats

CSV, JSON, SQL, PHP arrays, and YAML

10 channels

per import, with every post sent to each one

24 hours

to download a ready export before it is removed

What Relay does

Export channels to CSV, JSON, SQL, PHP, or YAML. Import files back into Root, one post at a time.

  • Export the fields you pick
  • Preview before you start
  • Big channels in the background
  • Bring old messages into Root
  • Pause or change the pace
  • Private by design

Your messages, in and out. Relay saves your channels as files in the format you need, and posts the messages from a file back into your channels, one at a time.

Export your channels

  • CSV, JSON, SQL for MySQL, PostgreSQL, or SQLite, a PHP array, or YAML
  • Pick one or more channels assigned to Relay in Root
  • Deleted messages and system notices are left out

Pick exactly what you need

  • Choose the fields: name, avatar link, message, posted time, roles, IDs, attachments, and more
  • Roles list the member's primary role first, then the rest
  • Pick a date range and your time zone; new exports start with the last 60 days
  • Clear both dates for the channel's whole history, and see a sample before you export
  • Root doesn't share members' bios or custom status with apps, so those can't be exported

Big channels, no waiting

  • Relay reads each channel a page at a time in the background, so you can leave
  • A Root notification tells you when your file is ready
  • Several files, and files over 8 MB, download as a .zip
  • Ready files are kept for 24 hours, then removed; the oldest may be removed early if the database fills up

Import messages back

  • Drop in a file or paste text: JSON, CSV, SQL, PHP arrays, YAML, or "Name: message" lines
  • The file is read in your browser; Relay finds the messages and matches the name, message, role, and time for you
  • Change any match, and see how the first posts will look before you start
  • Pick a format like [Maya - Moderator]: Hello, add the original date, or write your own

At your pace

  • Relay posts one message every few seconds: 3 by default, from 1 to 60 seconds
  • Post to up to 10 channels at once, oldest messages first
  • Anyone with import access can pause, resume, change the speed, or cancel any import, even after leaving
  • Imports carry on after a restart; @everyone and @here never ping anyone
  • Imported messages are posted by Relay, with messages over 4,000 characters split into parts

Private by design

  • Separate settings for who can export and who can import; the community owner always can
  • Exporters can export every assigned channel, including channels they can't open themselves
  • Only the member who made an export can download it
  • Everything stays in your community's own database on Root; nothing goes to an outside service
  • Relay is an independent app, not affiliated with Root in any way

What's new

  1. v0.2.2

    Reliability update

    • Recovers on its own if its connection to Root drops.
    • Channel lists stay correct when Root has a brief hiccup.
    • Starts faster after an update.
    • More reliable when the community is busy.
  2. v0.2.1

    Support link

    • Support now uses rootapp.dev/bit.
  3. v0.2.0

    Last 60 days to start

    • New exports start with the last 60 days picked. Clear both dates to export a channel's whole history.
    • The note under a downloaded file is gone.
  4. v0.1.1

    Export fix

    • Exports and samples work again. Relay was asking Root for more messages per page than Root allows.
    • When an export fails, the message now says which step failed and what Root answered.
    • If Root won't look up several members at once, Relay looks them up one at a time.
  5. v0.1.0

    First release

    • Export messages from your channels as CSV, JSON, SQL, a PHP array, or YAML, and pick which fields go in the file.
    • Big exports run in the background, read channels a page at a time, and download as a .zip.
    • Import messages from those formats, and Relay posts them for you in the background, one at a time.
    • Pause, speed up, slow down, or cancel an import at any time.

Relay is an independent app, not affiliated with Root in any way.