Backups

One of the key features of Peepochat, is that the entire client is completely local to your browser. There is no server or external database that the client connects to or is used to store your data. Everything is stored locally within your browser’s local storage, session storage, or IndexedDB. You have full control of your data.

As such, you may want to create a backup of all your preferences, channels or splits, pings, or other settings from within the app so that you can restore them at a later point, or import them on another device.

And you can do so via the data management tab in the settings.

Creating a backup

Before you create a backup, you need to note that while almost all things are included in a backup, you cannot carry an account between sessions. Each time you restore a backup, you will need to log back in with Twitch in order to use the client. Additionally, your customized ping sound - if set, will not be carried over.

Once you’ve customized Peepochat to your liking, you can create a human-readable backup by following the instructions below:

  1. Open the ⚙️ Settings panel.

  2. Navigate to the Data Management tab.

  3. Click the “Export backup” button.

This will download a dated .json file that contains all of your applicable settings. By default, it should appear as something like this: peepochat-backup-YYYY-MM-DD.json

Restoring a backup

There are two different ways of restoring a backup depending on if you already have an existing configuration, or if you’re restoring a backup during the onboarding process for Peepochat.

New session

If you’re setting up Peepochat on a brand new device or on a different browser, you can skip the onboarding process entirely by restoring your settings from a previous backup.

  1. When you navigate to chat.rcw.lol/app for the first time, you will be asked if you want to start fresh, or restore a backup - click the “Restore a backup” button.

  2. Select the .json file you exported.

  3. Review the summary to make sure that it’s the correct backup you’re looking for, and click the “Import & continue“ button.

  4. Log in with the Twitch account you want to use.

And you’re done! All of your channels, splits, and settings should be exactly the way they were set before.

Existing session

If you’ve already setup Peepochat but want to restore a backup, you can do that as well. Keep in mind that restoring a backup from an existing session will replace ALL settings with the one from the backup.

  1. Open the ⚙️ Settings panel.

  2. Navigate to the Data Management tab.

  3. Click the “Restore backup” button.

  4. Select the .json file you exported.

If it’s a valid configuration file, you should see your changes immediately apply - no reload needed. And you’re done! All of your channels, splits, and settings should be exactly the way they were set before.