Skip to main content

Updating and backups

Update a local OmicsBase install, stay on one version, back it up, move it or remove it.

Update

Run the install command again:

curl -fsSL https://raw.githubusercontent.com/0xMuluh/omicsbase/main/install.sh | sh

If you installed into another folder, give the same OMICSBASE_DIR again. See Install-time settings.

The update:

  • keeps your accounts, notes and files (data/) and your settings (.env), including the version you pinned;
  • adds to .env any secret that the new version needs;
  • replaces the setup files docker-compose.yml, librechat.yaml, reports-gate.Caddyfile, import_examples.js and .env.example with fresh copies, so changes you made to them are lost;
  • downloads the new images and restarts OmicsBase with them.

The example notes are downloaded only if they are missing.

Pin a version

By default, an install follows latest, the newest version. To stay on one version, run the install command with that version in front of sh, for example:

curl -fsSL https://raw.githubusercontent.com/0xMuluh/omicsbase/main/install.sh | OMICSBASE_VERSION=2026.11.20 sh

The installer writes the version into ~/omicsbase/.env, takes the setup files released with that version, and downloads its images. When you update later, give the same OMICSBASE_VERSION again, so the setup files match your version too.

If the installer prints Note: no files are released under …, it found no setup files for that version and uses the newest ones with your version’s images. See Troubleshooting.

To follow the newest version again:

curl -fsSL https://raw.githubusercontent.com/0xMuluh/omicsbase/main/install.sh | OMICSBASE_VERSION=latest sh

If you run notes on your own server, set the same version in the server’s .env. See Notes engine on a server.

Back up

Everything that is yours is in two places in the install folder:

Path What it holds
data/ Accounts, notes, files, Reports work, the app’s own keys and caches
.env Your settings and secrets

The setup files and examples/ are downloaded again by the installer, so they need no backup.

Stop OmicsBase before you copy, so the database is not written to during the copy:

cd ~/omicsbase
docker compose down
tar czf ~/omicsbase-backup.tgz data .env
docker compose up -d

The backup contains your secrets and everyone’s notes. Keep it as private as the install itself.

Some files in data/projects/ and data/reports/ are written by Reports, which runs as another user in your group. If tar reports Permission denied for some of them on Linux, run the tar command with sudo.

data/engine-cache/ holds downloaded ExperimentHub and AnnotationHub data. It can be large, and it is downloaded again when needed, so you can leave it out of the backup:

tar czf ~/omicsbase-backup.tgz --exclude=data/engine-cache data .env

Restore

  1. Stop OmicsBase: cd ~/omicsbase && docker compose down.

  2. Move the current data/ and .env aside.

  3. Unpack the backup in the install folder:

    cd ~/omicsbase && tar xzf ~/omicsbase-backup.tgz
  4. Start OmicsBase: docker compose up -d.

Move to another machine

The installer keeps any data/ and .env it finds in the install folder, so you can move an install by copying them.

  1. On the old machine, make a backup.

  2. Copy omicsbase-backup.tgz to the new machine.

  3. On the new machine, unpack it into the install folder:

    mkdir -p ~/omicsbase && cd ~/omicsbase && tar xzf ~/omicsbase-backup.tgz
  4. Check your user and group id on the new machine with id -u and id -g. If they differ from UID and GID in ~/omicsbase/.env, change them there.

  5. Run the install command. It keeps the copied data/ and .env, downloads the rest and starts OmicsBase.

If you run notes on your own server, the server keeps working with the moved install, because .env keeps the same ENGINE_URL and secret.

Uninstall

Each step removes more. Stop after the step you need.

1. Stop and remove the containers. Keeps your data, settings and the downloaded images.

cd ~/omicsbase && docker compose down

2. Also remove the images. Frees most of the disk space (about 25 GB). Keeps your data and settings; the next install downloads the images again.

cd ~/omicsbase && docker compose down --rmi all

3. Also delete your data. This permanently deletes every account, note, uploaded file and report on this install, and your settings and secrets. It cannot be undone. Make a backup first if you may want any of it.

rm -rf ~/omicsbase

Some files in data/projects/ and data/reports/ are written by Reports, which runs as another user in your group. If rm reports Permission denied for some of them on Linux, run the same command with sudo.

If you ran notes on your own server, remove it there too, in its omicsbase-engine folder: docker compose down --rmi all, then delete the folder. Its data/ holds the files of notes that ran there.