ZimaBackup - Back up files and applications

Hi everyone,

I’m looking for feedback on ZimaBackup v0.16.0.

The goal is simple: back up your ZimaOS files and applications, then be able to restore them later if something goes wrong.

The important thing is to follow the restore process in the correct order.

How to install

Install this through ZimaOS → App Store → Custom App.

Paste the compose file below into Custom App and deploy it.

services:
  worker:
    command:
      - php
      - bin/worker.php
    deploy:
      resources:
        limits:
          memory: 4GB
          cpus: "1.00"
        reservations:
          memory: 256MB
          cpus: "0.00"
      placement: {}
    entrypoint: null
    environment:
      APP_DEBUG: "0"
      APP_DISCOVERY_INTERVAL: "120"
      APP_ENV: prod
      DOCKER_SOCKET: /var/run/docker.sock
      RESTIC_CACHE_DIR: /var/www/html/storage/cache/restic
      TZ: Europe/Paris
      WORKER_INTERVAL: "5"
      ZIMABACKUP_COMPOSE_PROJECT: zimabackup
      ZIMAOS_API_BASE_URL: ""
      ZIMAOS_APPS_ROOT: /var/lib/casaos/apps
    extra_hosts:
      - host.docker.internal:host-gateway
    image: ghcr.io/maxencecauderlier/zimabackup:0.16.0
    labels:
      icon: https://raw.githubusercontent.com/maxencecauderlier/zimabackup/main/packaging/zimaos/icon.svg
      org.zimabackup.internal: "true"
    network_mode: bridge
    restart: unless-stopped
    volumes:
      - type: bind
        source: /DATA/AppData/ZimaBackup
        target: /var/www/html/storage
        bind:
          create_host_path: true
      - type: bind
        source: /DATA
        target: /DATA
        bind:
          create_host_path: true
      - type: bind
        source: /media
        target: /media
        bind:
          create_host_path: true
      - type: bind
        source: /var/run/docker.sock
        target: /var/run/docker.sock
        read_only: true
        bind:
          create_host_path: true
      - type: bind
        source: /var/lib/casaos/apps
        target: /var/lib/casaos/apps
        read_only: true
        bind:
          create_host_path: true
  zimabackup:
    command: null
    deploy:
      resources:
        limits:
          memory: 4GB
          cpus: "1.00"
        reservations:
          memory: 256MB
          cpus: "0.00"
      placement: {}
    entrypoint: null
    environment:
      APP_DEBUG: "0"
      APP_ENV: prod
      RESTIC_CACHE_DIR: /var/www/html/storage/cache/restic
      TZ: Europe/Paris
      ZIMAOS_API_BASE_URL: ""
    image: ghcr.io/maxencecauderlier/zimabackup:0.16.0
    labels:
      icon: https://raw.githubusercontent.com/maxencecauderlier/zimabackup/main/packaging/zimaos/icon.svg
      org.zimabackup.internal: "true"
    network_mode: bridge
    ports:
      - target: 80
        published: "8090"
        protocol: tcp
    restart: unless-stopped
    volumes:
      - type: bind
        source: /DATA/AppData/ZimaBackup
        target: /var/www/html/storage
        bind:
          create_host_path: true
      - type: bind
        source: /DATA
        target: /DATA
        read_only: true
        bind:
          create_host_path: true
      - type: bind
        source: /media
        target: /media
        read_only: true
        bind:
          create_host_path: true
x-casaos:
  architectures:
    - amd64
  author: ZimaBackup
  category: Productivity
  description:
    en_US: ZimaBackup protects files and installed ZimaOS applications using
      encrypted recovery points. It can back up selected data, inspect recovery
      points, restore files and application data, and preserve the installed
      ZimaOS application definition for disaster recovery.
    fr_FR: ZimaBackup protège les fichiers et les applications ZimaOS installées
      grâce à des points de récupération chiffrés. Il permet de sauvegarder les
      données sélectionnées, parcourir les points de récupération, restaurer des
      fichiers et des données applicatives, et conserver la définition ZimaOS
      installée pour une restauration après sinistre.
  developer: ZimaBackup
  docs: https://github.com/maxencecauderlier/zimabackup#readme
  hostname: ""
  icon: https://raw.githubusercontent.com/maxencecauderlier/zimabackup/main/packaging/zimaos/icon.svg
  id: com.zimabackup.app
  index: /
  is_uncontrolled: false
  main: zimabackup
  port_map: "8090"
  release_notes:
    en_US: Adds worker-side ZimaOS API readiness diagnostics and clearer native
      restore failures. Settings now shows local API reachability, and the
      dashboard warns when native application recovery networking needs
      attention.
    fr_FR: Ajoute un diagnostic de disponibilité de l’API ZimaOS exécuté par le
      worker et des erreurs de restauration native plus claires. Les Réglages
      affichent désormais l’accessibilité de l’API locale et le tableau de bord
      signale les problèmes réseau.
  repo: https://github.com/maxencecauderlier/zimabackup
  scheme: http
  store_app_id: compose-f3e7280885251739
  support: https://github.com/maxencecauderlier/zimabackup/issues
  tagline:
    en_US: Simple application-aware backups and disaster recovery for ZimaOS.
    fr_FR: Sauvegarde simple des applications et restauration après sinistre pour
      ZimaOS.
  tips:
    before_install:
      en_US: ZimaBackup needs privileged access to Docker and write access to /DATA
        and /media so it can back up and restore applications. The web interface
        does not receive the Docker socket; only the background worker does.
      fr_FR: ZimaBackup a besoin d'un accès privilégié à Docker et d'un accès en
        écriture à /DATA et /media pour sauvegarder et restaurer les
        applications. L'interface Web ne reçoit pas le socket Docker ; seul le
        worker en arrière-plan y accède.
  title:
    custom: ZimaBackup
    en_US: ZimaBackup
    fr_FR: ZimaBackup
  update_at: 2026-10-06T00:00:00Z
  version: 0.16.0
  website: https://github.com/maxencecauderlier/zimabackup

How backups work

First, create a backup repository.

This is where ZimaBackup stores your recovery points.

Then create a backup job and select what you want to protect:

  • folders under /DATA or /media;

  • ZimaOS applications;

  • or both.

When the backup runs, ZimaBackup saves the application data and, when possible, the ZimaOS application definition needed to reinstall it later.

You can then see the created recovery points in the Restore section.

How to restore files

For normal files and folders:

  1. Open Restore.

  2. Select the recovery point you want.

  3. Select what you want to restore.

  4. Restore it to a safe/empty destination first.

  5. Check that the recovered files are correct.

I strongly recommend testing restores before relying on any backup system.

How to restore a ZimaOS application

For applications, the order is important.

For a first test, use a non-critical application.

The recommended procedure is:

  1. Back up the application with ZimaBackup.

  2. Check that the backup completed successfully.

  3. Open the recovery point and use Inspect applications.

  4. Make sure the application is detected.

  5. Remove the test application from ZimaOS.

  6. Restore its application data with ZimaBackup.

  7. When the data restore is complete, start the application installation step.

  8. Enter your ZimaOS username and password when requested.

  9. ZimaBackup will ask ZimaOS to reinstall the application through its API.

  10. Check that the application appears again in the ZimaOS Applications page.

  11. Open the application and verify that its old data is back.

So the important order is:

Backup → Inspect → Restore data → Reinstall in ZimaOS

Do not reinstall the application manually before restoring its data unless you specifically know what you are doing.

About the ZimaOS login

For native application restores, ZimaBackup asks for your ZimaOS username and password.

This is required because ZimaBackup uses the ZimaOS API to register the restored application properly.

The password is only used for the installation operation and is not meant to be stored permanently.

Important

v0.16.0 is still a test version.

Please:

  • do not use it as your only backup solution yet;

  • test with non-critical data first;

  • keep another backup of important files;

  • try at least one restore before trusting your backups.

What I need most now is real-world feedback.

If you test it, please tell me:

  • what ZimaOS version you use;

  • what application you tested;

  • whether backup worked;

  • whether restore worked;

  • whether the restored application appeared correctly in ZimaOS;

  • and any error or confusing step you encountered.

Even a simple:

“Tested with Jellyfin, backup and restore worked”

is useful feedback.

Thanks to everyone willing to test it.

Hi @Schyz0 thanks for a great application.

I am running ZimaOS version 1.71.

One slight hiccup installing, default port was already in use by Beszel, no problem just change the default port number, but first pass forgot to change both references to the port number.

So far so good, tested with AudioBookShelf, backup and restore worked.

Are you going to add the ability to send notifications, for example to ntfy, to say that backup has succeeded or any errors that have occurred.

Will continue my testing.

Many Thanks, @GavinBaker .