# Exports and backups

Source: https://docs.savorum.app/guide/export-and-backup/

> Save a copy of one recipe, a book, or your whole library.

Save a copy of your recipes to share them, open them in another app, or keep them safe.

| You want to… | Use | You get |
| --- | --- | --- |
| Share a recipe, or open it in another app | Export | The recipe and its photos, in one file |
| Keep a safe copy of everything | Library backup | Your whole library: recipes, books, tags, history |

## Export a recipe or a book

1. Open a recipe and choose **Export as SREF**.
2. Savorum saves a `.sref` file with the recipe and its photos, in the open [SREF format](https://savorum.app/sref/).

To export several recipes, select them or export a whole book. You get one `.srefbundle` file with the recipes in order. Anyone using Savorum, or another app that supports SREF, can [import](https://docs.savorum.app/guide/import-recipes/) these files.

## Back up your whole library

In Savorum Cloud, your library is backed up for you. You can prepare a password-protected backup from your account page. If the backup service needs to start, the download page waits and starts your download automatically when it is ready.

If you run Savorum yourself, use the backup command. It saves everything in one `.savorum-backup` file, and it’s safe to run while Savorum is in use:

```sh
savorum backup \
  --database /var/lib/savorum/savorum.db \
  --assets /var/lib/savorum/assets \
  --output /var/backups/savorum/instance.savorum-backup

savorum verify --input /var/backups/savorum/instance.savorum-backup
```

Then keep a copy somewhere else, such as another disk or a cloud drive, run `savorum verify` again after copying it, and try restoring it now and then. [Back up and restore](https://docs.savorum.app/admin/backup-restore/) has the full steps.

## Download a Cloud backup

1. Sign in to your [Cloud account](https://cloud.savorum.app/). You must be the library owner.
2. Request a full copy of your library. Choose a password of at least 10 characters and confirm it.
3. Wait for the copy to finish preparing, then download it before the download expires. A new request replaces your previous copy.
4. Keep the password separately. You need it to [restore the encrypted backup](https://docs.savorum.app/admin/backup-restore/#move-from-savorum-cloud) on your own server.

### After your Cloud subscription ends

The library owner can prepare and download a backup without resubscribing during the retention period. Ordinary library access can end sooner.

Cloud retains household content for at least 30 days after a trial ends without a confirmed paid renewal, a paid period ends after cancellation, permitted billing grace ends, or a refund ends paid access. The owner receives the export deadline and account link. If the notice is late, the window lasts at least seven days after the notice is accepted for delivery.

An explicit household deletion request ends the export window for everyone in the household and starts deletion, including backups and prepared downloads. There is no additional backup retention period after that request. Deleting one member’s account does not delete a continuing household’s library. Export access can be restricted where disclosure would be unlawful or compromise another person’s security or rights. See the [retention terms](https://savorum.app/terms/) for the full conditions.

## Good to know

- An export holds the recipe as saved, not scaled or converted the way you’re viewing it. It leaves out tags, books and chapters, ratings, personal notes, cooking history, and earlier versions.
- An export fails if a recipe has no ingredients or steps, or if one of its photo files is missing. Savorum never downloads a missing photo again. Add the photo again or remove it, then export.
- Don’t copy the database file while Savorum is running. The copy may be incomplete.

If you run Savorum yourself, see [Back up and restore an instance](https://docs.savorum.app/admin/backup-restore/).
