Noyau
Sections

Documentation › Administer

Backups

Noyau does not back itself up yet. Everything that matters lives in a single folder: copy it elsewhere regularly (another disk, a NAS, online storage). This page explains what to copy and how.

What to back up

What Where How to protect it
Noyau data The data folder An archive of the folder, see below
Your projects' code Each project's Git repository Push to a remote server
Engines and their accounts Your home folder (~/.claude, ~/.codex...), or the noyau-home volume with Docker Sign in again after a restore, or back up the volume

The data folder holds accounts, settings, conversations, notes, tasks, shared files and passkeys. Your projects' code stays in their Git repositories: push them to a remote server.

Find the data folder

The exact path is shown in Administration > Storage and backups, under Data folder. By default:

Installation Data folder
Installer (install.sh, install.ps1) ~/.noyau/data
From a clone (node bin/noyau.mjs start) .data/ in the clone
Docker /data in the container, stored in the noyau-data volume
Custom The value of NOYAU_DATA_DIR, or --data <folder>

Make an archive

The same section gives a ready-to-copy command with your real path, under "Dated archive, to run on the machine (Noyau can keep running)". With the default installer path, it is:

tar czf "noyau-sauvegarde-$(date +%F).tar.gz" -C ~/.noyau data

Then move the archive off the machine: another disk, a NAS or online storage. An archive that stays on the same disk does not protect you from a disk failure.

Schedule it

Noyau does not schedule backups. You can use your system's scheduler, for example a cron entry on Linux or macOS:

crontab -e
# every day at 03:00, archive into ~/backups
0 3 * * * tar czf "$HOME/backups/noyau-sauvegarde-$(date +\%F).tar.gz" -C "$HOME/.noyau" data

Remove old archives from time to time so they do not fill the disk. The Storage and backups section shows how much disk space Noyau uses.

Keep the archive private

The data folder contains secrets: password hashes, the server's access key (access-token), passkeys and the private key of the local HTTPS certificate (tls/). Treat the archive like a password file:

  • store it in a place only you can read,
  • encrypt it if it leaves your network (for example with an encrypted disk or an encrypted online storage),
  • never commit it to a Git repository.

Docker

With Docker, the data lives in named volumes. noyau-data holds settings, conversations and the certificate; noyau-home holds the engines and their accounts. Projects live in ./workspace on the host. One way to archive the data volume (adjust the volume name):

docker run --rm -v noyau-data:/data -v "$PWD":/backup alpine \
  tar czf "/backup/noyau-sauvegarde-$(date +%F).tar.gz" -C / data

Check the exact volume names with docker volume ls: Compose may prefix them with the project name.

Restore

Noyau has no restore command. A restore is a plain file copy, done while Noyau is stopped:

  1. Stop Noyau:

    Setup Stop Start again
    Linux or WSL2 service systemctl --user stop noyau.service systemctl --user start noyau.service
    macOS service noyau service uninstall noyau service install
    Foreground (noyau start) Ctrl C noyau start
    Docker docker compose stop docker compose start
  2. Move the current data folder aside instead of deleting it, for example mv ~/.noyau/data ~/.noyau/data.old.

  3. Extract the archive in the parent folder:

    tar xzf noyau-sauvegarde-2026-11-28.tar.gz -C ~/.noyau
  4. Start Noyau again with the command from the table.

  5. Sign in and check your accounts, conversations and files. Once everything is in place, delete the old folder.

With Docker, steps 2 and 3 happen inside the volume: run the same alpine container as for the backup, with tar xzf /backup/<archive> -C / instead of tar czf, while the Noyau container is stopped.

Restoring onto the same Noyau version, or a newer one, is the safest choice. Engine sign-ins stored outside the data folder may need a new sign-in on a new machine.

Edit this page on GitHub