Back Up and Restore
Ryot has two kinds of backup. An account backup is a portable copy of one person’s data that they make themselves in the app. A whole-server backup is a copy of the database and file storage that the person running the server makes.
Which backup should I use?
Section titled “Which backup should I use?”| You want to… | Use |
|---|---|
| Prepare for an upgrade, a server move or a disk failure | Whole-server backup |
| Keep everything, including passwords, settings and integrations | Whole-server backup |
| Keep a personal copy of your own data | Account backup |
| Move your account to a different Ryot server | Account backup |
If you run a server, make whole-server backups regularly. Account backups do not replace them.
Whole-server backups
Section titled “Whole-server backups”A whole-server backup has two parts. Back up both at the same time:
- The PostgreSQL database. It holds almost everything, including accounts, settings and the key that encrypts saved plugin settings.
- Permanent file storage. This is the volume mounted at
/home/ryot/storage, or your S3 bucket if you use S3. For S3, follow your provider’s backup instructions.
Do not back up /home/ryot/work. It only holds temporary files.
With the Docker Compose setup, you can make a database dump like this. Stop Ryot first so the database and files match:
docker compose stop ryotdocker exec ryot-db pg_dump -U postgres -Fc postgres > ryot-db.dumpdocker compose start ryotThen copy the ryot_storage volume using your usual volume backup tool.
Account backups
Section titled “Account backups”An account backup is a single .zip file with everything in your account. Anyone can make one
from their own account; no admin access is needed.
What an account backup includes
Section titled “What an account backup includes”- Your preferences.
- Everything you track: media, workouts, measurements and collections.
- Your history, reviews and other activity.
- Pages, saved views, your home page choices, reminders and notification preferences.
- Ryo conversations.
- Integrations, without their passwords or keys.
- Images, videos and other files you uploaded to Ryot.
- Private plugins you installed, so they can be restored too.
What an account backup leaves out
Section titled “What an account backup leaves out”- Your password, sign-in sessions, connected accounts and API keys.
- Notification channels.
- Passwords, tokens and API keys saved in integrations, plugin settings and your personal Ryo provider.
- Share links to publications. Restored publications have no links until you create new ones.
- Server settings and background task history.
- Files linked from other websites.
Create an account backup
Section titled “Create an account backup”- Open Settings → Backups.
- Choose Create a backup. Ryot builds it in the background, so you can leave the page and come back later.
- When it shows Ready to download, download the
.zipfile and keep it somewhere safe.
- Download links expire 24 hours after the backup is made. After that, create a new backup.
- Only one backup or restore can run at a time for an account.
- Deleting a backup from the list removes the stored file from the server. Nothing in your account is deleted, and copies you already downloaded are not affected.
- The file can contain private history and uploaded files, so store it securely.
Restore an account backup
Section titled “Restore an account backup”You can only restore a backup into a new, empty account on a server that has the same plugins and metadata providers the backup was made with.
- Create a new account on the destination server, or ask the server’s admin to reset yours (see below).
- Open Settings → Backups and choose Restore from a backup.
- Choose the
.zipfile exactly as Ryot exported it. - Read the checklist and choose Restore this backup.
Ryot checks the whole file before writing anything. If the file is damaged, too large, or needs a plugin the server does not have, the restore stops and your account is left unchanged. A restore either finishes completely or changes nothing.
After restoring:
- Set up notification channels again and re-enter integration secrets. Notification channels are not in the backup. Integrations come back without their passwords and keys, so any that need one stay turned off until you enter it again. Integrations that receive data from other apps, such as Plex or Jellyfin, get new webhook URLs; update them in those apps.
- Re-enter your Ryo provider key under Settings → Ryo if you used your own provider.
- Re-enter secret plugin settings. A plugin missing a required secret stays inactive until you configure it.
- Ryot recalculates statistics such as progress and personal bests in the background, so they can take a while to appear.
To restore into the same account again, the account must be reset first. A server admin can do this from Instance Admin → Users with Reset account, which permanently deletes all of that account’s data.
Plugins and restores
Section titled “Plugins and restores”- The destination server must already have every built-in plugin the backup needs. It can be the same version or a newer compatible one. Restoring never installs, updates or reconfigures built-in plugins for anyone else.
- Private plugins in the backup come back with your account, in their compiled form.
- If a private plugin has the same package ID as a plugin already installed on the server, it is restored separately and kept turned off, with its data intact. You need to check and turn it on yourself.
- Plugin code can contain credentials written into it, which Ryot cannot reliably remove from a backup.
Troubleshooting restores
Section titled “Troubleshooting restores”| Message | What to do |
|---|---|
| Account not empty | Restore into a new account, or have an admin reset this one. |
| Account has pages | The account has pages, including unpublished drafts. Use a new, empty account. |
| Archive damaged | Download the backup again and retry. |
| Archive unsupported | Upload the original file exactly as Ryot exported it, not a re-zipped copy. |
| Plugin missing | Install the plugin the backup needs on this server, then restore again. |
| Backup limit reached | The backup is bigger than Ryot supports. Nothing was changed. |
| Upload expired | The uploaded file was cleaned up before the restore ran. Upload it again. |