From 1e84a397751e64afdb665554cbdff344da5270c5 Mon Sep 17 00:00:00 2001 From: DreamCoder08 Date: Sun, 22 Nov 2026 17:25:58 -0500 Subject: [PATCH 1/3] feat(local): push sealed backups off-site with rclone and restore from there --- .gitignore | 1 + CHANGELOG.md | 4 + deploy/local/Dockerfile.offsite | 6 + deploy/local/Dockerfile.offsite.dockerignore | 1 + deploy/local/compose.yaml | 30 +++ deploy/local/ops/offsite.sh | 158 +++++++++++++ deploy/local/sipges | 113 ++++++++- deploy/local/test/unit.sh | 230 +++++++++++++++++++ docs/deployment/local-install.md | 24 +- odd/tasks/world-class-local.md | 3 +- 10 files changed, 559 insertions(+), 11 deletions(-) create mode 100644 deploy/local/Dockerfile.offsite create mode 100644 deploy/local/Dockerfile.offsite.dockerignore create mode 100644 deploy/local/ops/offsite.sh diff --git a/.gitignore b/.gitignore index 34067683..3599e44b 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ deploy/local/sipges-recovery-kit.txt deploy/local/.sipges-recovery-kit deploy/local/.env.new deploy/local/backups/ +deploy/local/rclone/ deploy/local/sipges-root-ca.crt deploy/local/imports/ diff --git a/CHANGELOG.md b/CHANGELOG.md index ddd9542e..a26fe645 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ Formato basado en [Keep a Changelog](https://keepachangelog.com/es-ES/1.1.0/); v ## [Sin publicar] +### Añadido + +- Instalación local: copia de los respaldos fuera del equipo. `./sipges offsite-config` configura un remoto de rclone (SFTP o almacenamiento compatible con S3) y `./sipges offsite-to ` sube cada respaldo, ya cifrado, en minutos y luego cada hora; una computadora que estuvo apagada se pone al día sola. Un respaldo cuenta en el remoto solo cuando sus archivos están comprobados. `./sipges restore` trae del remoto el respaldo que ya no está en el equipo y lo verifica antes de detener nada. Las credenciales quedan en `rclone/rclone.conf`, nunca en `.env`. + ### Limpieza - Los 14 documentos ODD sin tareas abiertas pasan a `odd/archive/`, como pide `AGENTS.md`, con sus enlaces actualizados en 72 archivos; `pnpm odd:status` muestra solo trabajo vivo. diff --git a/deploy/local/Dockerfile.offsite b/deploy/local/Dockerfile.offsite new file mode 100644 index 00000000..f79c1f4b --- /dev/null +++ b/deploy/local/Dockerfile.offsite @@ -0,0 +1,6 @@ +# The off-site push (world-class-local T13): the backup service's PostgreSQL image, for its bash and +# GNU tools, plus the static rclone binary. Both pinned by digest; the build reads nothing else. +FROM rclone/rclone:1.75.2@sha256:2687085f718d3c628f7fdfb77c52a1d344332aed543110bb88088f2c70d43eb5 AS rclone + +FROM postgres:17@sha256:748a18a54d3842d43bc156f0840d78029b8d349e0feca98c12b9c4ce3404a6b3 +COPY --from=rclone /usr/local/bin/rclone /usr/local/bin/rclone diff --git a/deploy/local/Dockerfile.offsite.dockerignore b/deploy/local/Dockerfile.offsite.dockerignore new file mode 100644 index 00000000..72e8ffc0 --- /dev/null +++ b/deploy/local/Dockerfile.offsite.dockerignore @@ -0,0 +1 @@ +* diff --git a/deploy/local/compose.yaml b/deploy/local/compose.yaml index 3c15b828..d532e370 100644 --- a/deploy/local/compose.yaml +++ b/deploy/local/compose.yaml @@ -189,6 +189,35 @@ services: cap_add: [CHOWN, DAC_OVERRIDE, DAC_READ_SEARCH, FOWNER] security_opt: ['no-new-privileges:true'] + # Set by ./sipges offsite-to (world-class-local T13): pushes each sealed backup to an rclone + # remote within the hour, catching up after the computer was off. Only while a remote is set. + offsite: + image: sipges-offsite:local + build: { context: ., dockerfile: Dockerfile.offsite } + <<: *hardening + profiles: [offsite] + entrypoint: [/bin/bash, /ops/offsite.sh] + command: [loop] + environment: + SIPGES_BACKUP_OFFSITE: ${SIPGES_BACKUP_OFFSITE:-} + SIPGES_BACKUP_KEEP: ${SIPGES_BACKUP_KEEP:-14} + SIPGES_BACKUP_KEEP_WEEKLY: ${SIPGES_BACKUP_KEEP_WEEKLY:-8} + SIPGES_BACKUP_KEEP_MONTHLY: ${SIPGES_BACKUP_KEEP_MONTHLY:-12} + RCLONE_CONFIG: /config/rclone.conf + XDG_CACHE_HOME: /tmp + TZ: ${SIPGES_TIMEZONE:-America/Lima} + # As the installing user: what it writes in the backups and rclone folders stays theirs. + user: ${SIPGES_HOST_OWNER:?} + volumes: + - ./ops:/ops:ro + - ${SIPGES_BACKUP_DIR:-./backups}:/backups + # The folder of rclone.conf (./sipges offsite-config), not the file: rclone rewrites it + # through a temporary file beside it, to save refreshed tokens and what it learns of a server. + - ${SIPGES_RCLONE_DIR:-./rclone}:/config + # Its own network with a route out, and no way to the database. + networks: [offsite] + mem_limit: 256m + # Only ever started by `./sipges restore`: the one service that holds the superuser password. restore: profiles: [ops] @@ -261,3 +290,4 @@ networks: backend: internal: true frontend: + offsite: diff --git a/deploy/local/ops/offsite.sh b/deploy/local/ops/offsite.sh new file mode 100644 index 00000000..159c23ae --- /dev/null +++ b/deploy/local/ops/offsite.sh @@ -0,0 +1,158 @@ +#!/bin/bash +# The off-site copy of the sealed backups (world-class-local T13), run by the offsite service with +# rclone. The backups are already encrypted with SIPGES_BACKUP_PASSPHRASE, so the remote only ever +# holds ciphertext. A backup on the remote counts only once its SHA256SUMS is there: the data files +# go up first, are checked, and the checksums go up last. +# bash offsite.sh loop push now, then every hour (the service) +# bash offsite.sh push one round: push what the remote lacks, then apply retention +# bash offsite.sh list the backups on the remote, oldest first +# bash offsite.sh fetch bring one back into the backups folder, checked +# bash offsite.sh probe write, read and remove a file, to prove the remote works +# SIPGES_BACKUP_OFFSITE names the rclone remote and folder (nas:sipges). The container path is +# /backups; SIPGES_BACKUPS_PATH changes it for the tests. It runs as the installing user, so what it +# writes stays theirs. +set -Euo pipefail # no -e: every failure below is handled and recorded +umask 077 + +backups=${SIPGES_BACKUPS_PATH:-/backups} +remote=${SIPGES_BACKUP_OFFSITE:-} +keep=${SIPGES_BACKUP_KEEP:-14} +name_re='^20[0-9]{6}T[0-9]{6}Z$' +[[ -n $remote ]] || { + echo 'SIPGES_BACKUP_OFFSITE is not set' >&2 + exit 1 +} +[[ $keep =~ ^[1-9][0-9]*$ ]] || { + echo 'SIPGES_BACKUP_KEEP must be 1 or more' >&2 + exit 1 +} + +now() { date -u +%Y-%m-%dT%H:%M:%SZ; } + +failed() { + printf '%s %s\n' "$(now)" "$1" >"$backups/.last-offsite-failure" + echo "off-site push failed: $1" >&2 + return 1 +} + +# Backups on the remote with their checksums, oldest first. Anything else there is left alone. +complete() { + local listing + listing=$(rclone lsf -R --files-only --max-depth=2 "$remote") || return 1 + sed -nE 's#^(20[0-9]{6}T[0-9]{6}Z)/SHA256SUMS$#\1#p' <<<"$listing" | sort +} + +# Folders named like a backup on the remote that never got their checksums: pushes cut short. +incomplete() { + local listing + listing=$(rclone lsf -R --files-only --max-depth=2 "$remote") || return 1 + comm -23 <(sed -nE 's#^(20[0-9]{6}T[0-9]{6}Z)/.*#\1#p' <<<"$listing" | sort -u) <(complete) +} + +local_backups() { + find "$backups" -mindepth 1 -maxdepth 1 -type d -regextype posix-extended \ + -regex '.*/20[0-9]{6}T[0-9]{6}Z' -printf '%f\n' | sort +} + +push_one() { + local name=$1 + rclone copy --exclude=/SHA256SUMS "$backups/$name" "$remote/$name" && + rclone check --one-way --exclude=/SHA256SUMS "$backups/$name" "$remote/$name" && + rclone copyto "$backups/$name/SHA256SUMS" "$remote/$name/SHA256SUMS" +} + +push() { + rclone mkdir "$remote" || { + failed "cannot reach $remote" + return 1 + } + local on_remote newest todo name old + on_remote=$(complete) || { + failed "cannot reach $remote" + return 1 + } + newest=$(tail -n 1 <<<"$on_remote") + # A first push sends only the newest backup; after that, every one newer than the remote's newest, + # so a computer that was off for days catches up without sending what retention would drop. + if [[ -z $newest ]]; then + todo=$(local_backups | tail -n 1) + else + todo=$(local_backups | awk -v newest="$newest" '$0 > newest') + fi + for name in $todo; do + push_one "$name" || { + failed "could not push $name to $remote" + return 1 + } + echo "pushed $name to $remote" + done + + # Retention as for the backups (ops/retain.sh), on the backups the remote holds. + complete | bash "$(dirname "${BASH_SOURCE[0]}")/retain.sh" "$keep" "${SIPGES_BACKUP_KEEP_WEEKLY:-8}" "${SIPGES_BACKUP_KEEP_MONTHLY:-12}" | + while read -r old; do + rclone purge "$remote/${old:?}" || exit 1 + done || { + failed "pushed, but could not remove older backups from $remote" + return 1 + } + # Every push that remains unfinished has been retried above, so these are gone from here. + incomplete | while read -r old; do + rclone purge "$remote/${old:?}" || exit 1 + done || { + failed "could not remove half pushed backups from $remote" + return 1 + } + + newest=$(complete | tail -n 1) + printf '%s %s\n' "$(now)" "$newest" >"$backups/.last-offsite" + rm -f -- "$backups/.last-offsite-failure" +} + +fetch() { + local name=${1:-} partial + [[ $name =~ $name_re ]] || { + echo "\"$name\" is not a backup name" >&2 + return 1 + } + [[ ! -e $backups/$name ]] || { + echo "$name is already in the backups folder" >&2 + return 1 + } + partial="$backups/.partial-fetch-$name" + rm -rf -- "$partial" + if ! rclone copy "$remote/$name" "$partial" || [[ ! -f $partial/SHA256SUMS ]] || + ! (cd "$partial" && sha256sum --quiet -c SHA256SUMS); then + rm -rf -- "$partial" + echo "could not fetch $name from $remote, or it does not match its checksums" >&2 + return 1 + fi + mv -T -- "$partial" "$backups/$name" + echo "fetched $name from $remote" +} + +probe() { + local file="$remote/.sipges-offsite-probe" token + token=$(date +%s%N) + rclone mkdir "$remote" && + printf '%s' "$token" | rclone rcat "$file" && + [[ $(rclone cat "$file") == "$token" ]] && + rclone deletefile "$file" +} + +case ${1:-} in +push) push ;; +list) complete ;; +fetch) fetch "${2:-}" ;; +probe) probe ;; +loop) + while true; do + push || true + sleep 3600 & + wait $! + done + ;; +*) + echo 'usage: offsite.sh loop | push | list | fetch | probe' >&2 + exit 2 + ;; +esac diff --git a/deploy/local/sipges b/deploy/local/sipges index 24f0c88c..c33c2998 100755 --- a/deploy/local/sipges +++ b/deploy/local/sipges @@ -34,6 +34,9 @@ compose() { die "SIPGES_COMPOSE_OVERRIDE names $override, which does not exist. Fix the path in $ENV_FILE, or remove that line" files+=(-f "$override") fi + # With an off-site remote set (world-class-local T13), every call sees the offsite service, so + # stop and status include it. + [[ ! -f $ENV_FILE || -z $(env_value SIPGES_BACKUP_OFFSITE) ]] || files+=(--profile offsite) local replicas replicas=$(api_replicas) || exit 1 if [[ $replicas == 2 ]]; then @@ -288,6 +291,7 @@ start() { wait_ready mark_ready refresh_copy_mount + [[ -z $(env_value SIPGES_BACKUP_OFFSITE) ]] || start_offsite } # A container keeps the mount it started with: a disk plugged in after it started, or plugged @@ -532,10 +536,13 @@ cmd_status() { say "WARNING: the copy to the second disk failed at $when: $reason" elif [[ -n $(env_value SIPGES_BACKUP_COPY_DIR) ]]; then say "Backups copied to: $(env_value SIPGES_BACKUP_COPY_DIR)" + elif [[ -n $(env_value SIPGES_BACKUP_OFFSITE) ]]; then + : # the off-site lines below say where the copy goes else # One dead disk loses the data and every backup beside it (world-class-local T3). say 'WARNING: the backups are only on this computer: a dead disk loses them with the data. Plug in a second disk and run ./sipges copy-backups-to ' fi + offsite_status "$dir" kit_confirmed || say 'WARNING: no recovery kit confirmed: without SIPGES_DATA_KEY and SIPGES_BACKUP_PASSPHRASE no backup can be opened. Run ./sipges recovery-kit' } @@ -575,6 +582,7 @@ Keep this sheet on paper, away from this computer. Anyone holding it and a backu Site: $(env_value SIPGES_SITE_HOST) Backups folder: $(env_value SIPGES_BACKUP_DIR) Copy folder: $(env_value SIPGES_BACKUP_COPY_DIR) +Off-site copy: $(env_value SIPGES_BACKUP_OFFSITE) SIPGES_DATA_KEY=$key SIPGES_BACKUP_PASSPHRASE=$pass @@ -582,7 +590,9 @@ SIPGES_BACKUP_PASSPHRASE=$pass To restore on another computer: 1. Install SIPGES there: ./sipges install 2. In its .env, replace SIPGES_DATA_KEY and SIPGES_BACKUP_PASSPHRASE with the two lines above. -3. Copy a backup folder (such as 20261121T070000Z) into its backups folder. +3. Copy a backup folder (such as 20261121T070000Z) into its backups folder. With an off-site copy, + put a copy of the rclone folder next to ./sipges instead (keep it with the .env, not on paper), + then run ./sipges offsite-to with the remote above and ./sipges backups --offsite. 4. Run ./sipges restore KIT chmod 600 "$file" @@ -632,8 +642,86 @@ check_copy_folder() { say "WARNING: $dir is not marked as the backup copy (is the disk plugged in?). Backups go on without a copy until it is back and ./sipges start runs again." } +# An off-site copy of every backup (world-class-local T13): the offsite service pushes the sealed +# backups, already encrypted, to an rclone remote such as SFTP or S3-compatible storage. Its +# credentials live in rclone/rclone.conf (folder SIPGES_RCLONE_DIR), never in the .env: only a +# remote named there is accepted, so no password ends up in the .env, status or the recovery kit. +rclone_dir() { local d; d=$(env_value SIPGES_RCLONE_DIR); printf '%s' "${d:-./rclone}"; } + +# Made before any run, private and owned by the installing user, whom the service runs as: Docker +# would otherwise create the folder as root. +ensure_rclone_conf() { + local dir + dir=$(rclone_dir) + (umask 077 && mkdir -p "$dir" && touch "$dir/rclone.conf") || die "cannot create $dir/rclone.conf" + { chmod 700 "$dir" && chmod 600 "$dir/rclone.conf"; } || die "cannot make $dir private" # either fails: die +} + +start_offsite() { + ensure_rclone_conf + compose up -d offsite +} + +cmd_offsite_config() { + need_env + ensure_rclone_conf + say "Answer rclone's questions to add a remote; its settings go to $(rclone_dir)/rclone.conf. Then run ./sipges offsite-to :." + say "For SFTP, save the server's key first (ssh-keyscan >$(rclone_dir)/known_hosts) and answer known_hosts_file with /config/known_hosts." + compose run --rm --no-deps --entrypoint rclone offsite config +} + +cmd_offsite_to() { + need_env + local remote=${1:-} + [[ -n $remote ]] || die 'say where: ./sipges offsite-to nas:sipges-backups (see ./sipges offsite-config), or --off' + if [[ $remote == --off ]]; then + [[ -z $(env_value SIPGES_BACKUP_OFFSITE) ]] || compose rm -sf offsite + sed -i '/^SIPGES_BACKUP_OFFSITE=/d' "$ENV_FILE" + say 'Backups are no longer pushed off-site. What is already on the remote stays there.' + return + fi + [[ $remote != :* ]] || + die 'use a remote named in rclone.conf (./sipges offsite-config), not a connection string: it would put a password in the .env' + [[ $remote =~ ^[A-Za-z0-9_][A-Za-z0-9_.\ -]*:.*$ ]] || + die "$remote is not an rclone remote such as nas:sipges-backups. For a folder on another disk, use ./sipges copy-backups-to" + ensure_rclone_conf + compose run --rm --no-deps -e SIPGES_BACKUP_OFFSITE="$remote" offsite probe || + die "could not write to $remote. Is it set up? See ./sipges offsite-config" + sed -i '/^SIPGES_BACKUP_OFFSITE=/d' "$ENV_FILE" + [[ ! -s $ENV_FILE || -z $(tail -c 1 "$ENV_FILE") ]] || printf '\n' >>"$ENV_FILE" + printf 'SIPGES_BACKUP_OFFSITE=%s\n' "$remote" >>"$ENV_FILE" + start_offsite + say "Every backup will also be pushed to $remote, the newest within minutes, then hourly." + say 'They leave this computer already encrypted: keep the recovery kit, or the remote copies cannot be opened.' +} + +# What status says about the off-site copy: where, the newest that arrived, and any failure. +offsite_status() { + local dir=$1 remote when newest reason + remote=$(env_value SIPGES_BACKUP_OFFSITE) + [[ -n $remote ]] || return 0 + if [[ -f $dir/.last-offsite-failure ]]; then + read -r when reason <"$dir/.last-offsite-failure" + say "WARNING: the off-site push failed at $when: $reason. See ./sipges logs offsite" + fi + if [[ -f $dir/.last-offsite ]]; then + read -r when newest <"$dir/.last-offsite" + say "Backups pushed off-site to $remote (newest ${newest:-none yet})" + fi + # The service records every hourly round that works, so 26 hours of silence is a stopped push. + if [[ ! -f $dir/.last-offsite || -z $(find "$dir/.last-offsite" -mmin -1560 2>/dev/null) ]]; then + say "WARNING: no backup reached $remote in the last 26 hours. See ./sipges logs offsite" + fi +} + cmd_backups() { need_env + if [[ ${1:-} == --offsite ]]; then + [[ -n $(env_value SIPGES_BACKUP_OFFSITE) ]] || die 'no off-site copy is set: see ./sipges offsite-to' + ensure_rclone_conf + compose run --rm --no-deps offsite list + return + fi find "$(env_value SIPGES_BACKUP_DIR)" -mindepth 1 -maxdepth 1 -type d -name '20*Z' -printf '%f\n' | sort } @@ -642,7 +730,16 @@ cmd_restore() { local name=${1:-} confirm=${2:-} [[ -n $name ]] || die 'usage: ./sipges restore (see ./sipges backups)' [[ $name =~ ^20[0-9]{6}T[0-9]{6}Z$ ]] || die "\"$name\" is not a backup name" - [[ -d "$(env_value SIPGES_BACKUP_DIR)/$name" ]] || die "no backup named $name" + if [[ ! -d "$(env_value SIPGES_BACKUP_DIR)/$name" ]]; then + local remote + remote=$(env_value SIPGES_BACKUP_OFFSITE) + [[ -n $remote ]] || die "no backup named $name" + # Fetched and checked before anything stops (world-class-local T13). + say "Fetching $name from $remote..." + ensure_rclone_conf + compose run --rm --no-deps offsite fetch "$name" || + die "no backup named $name here, and it could not be fetched from $remote. See ./sipges backups --offsite" + fi if [[ $confirm != --yes ]]; then say "This replaces everything in SIPGES with backup $name. Type RESTORE to go on:" read -r answer @@ -743,8 +840,10 @@ status) cmd_status ;; logs) need_env; shift; compose logs --tail=200 "$@" ;; backup) cmd_backup ;; rollback) cmd_rollback ;; -backups) cmd_backups ;; +backups) shift; cmd_backups "$@" ;; copy-backups-to) shift; cmd_copy_backups_to "$@" ;; +offsite-config) cmd_offsite_config ;; +offsite-to) shift; cmd_offsite_to "$@" ;; restore) shift; cmd_restore "$@" ;; recovery-kit) shift; cmd_recovery_kit "$@" ;; update) cmd_update ;; @@ -758,11 +857,13 @@ help | -h | --help) ./sipges import ... Read client files. Only tries, unless given --apply. ./sipges start | stop Start or stop everything. ./sipges status What is running, the latest backup, any backup failure. -./sipges logs [service] Recent logs: api, db, caddy, backup. +./sipges logs [service] Recent logs: api, db, caddy, backup, offsite. ./sipges backup Take a backup now. -./sipges backups List the backups. +./sipges backups [--offsite] List the backups, here or on the off-site remote. ./sipges copy-backups-to Also copy every backup to a folder on another disk. -./sipges restore Replace all data with a backup. +./sipges offsite-config Set up an rclone remote (SFTP, S3-compatible...) for off-site copies. +./sipges offsite-to | --off Also push every backup to that remote, hourly. +./sipges restore Replace all data with a backup; fetched from the remote if not here. ./sipges recovery-kit [file] Write the sheet with the backup secrets to print, and confirm it. ./sipges update Back up, get the new version, rebuild, restart. ./sipges rollback Go back to the version before the last update. The data stays. diff --git a/deploy/local/test/unit.sh b/deploy/local/test/unit.sh index 5a5a7880..eb7f0e9b 100755 --- a/deploy/local/test/unit.sh +++ b/deploy/local/test/unit.sh @@ -34,6 +34,9 @@ compose) ;; run) [[ $* != *migrate* || ! -f $FAKE/migrate-fails ]] || exit 1 + [[ $* != *' offsite '* || ! -f $FAKE/offsite-fails ]] || exit 1 + # An off-site fetch lands the backup where ./sipges restore looks for it. + if [[ $* == *' offsite fetch '* ]]; then mkdir -p "$(sed -n 's/^SIPGES_BACKUP_DIR=//p' "$SIPGES_ENV_FILE")/${*: -1}"; fi echo "gid=${SIPGES_HOST_GID:-unset}" >"$FAKE/run-env" stat -c '%a %g' "$SIPGES_IMPORT_REPORTS" >"$FAKE/reports-during-run" for arg in "$@"; do @@ -910,6 +913,233 @@ run backup check 'with 20 GB free the backup runs' called 'backup.sh' rm -f "$FAKE/df-free" +# --- an off-site copy of the sealed backups (world-class-local T13) + +offsite_env() { printf 'SIPGES_RCLONE_DIR=%s/rclone\n' "$work" >>"$SIPGES_ENV_FILE"; } + +fresh +offsite_env +if run offsite-to; then fail 'offsite-to with no remote is refused'; else ok 'offsite-to with no remote is refused'; fi +if run offsite-to ':sftp,host=nas,pass=secret:sipges'; then fail 'a connection string is refused'; else ok 'a connection string is refused'; fi +check 'because it would put a password in the .env' said 'a remote named in' +if run offsite-to /media/disk/sipges; then fail 'a local folder is refused'; else ok 'a local folder is refused'; fi +check 'and copy-backups-to is named for it' said 'copy-backups-to' +check 'nothing refused is written' test -z "$(grep '^SIPGES_BACKUP_OFFSITE=' "$SIPGES_ENV_FILE" || true)" + +fresh +offsite_env +run install +touch "$FAKE/offsite-fails" +if run offsite-to nas:sipges; then fail 'a remote that cannot be reached is refused'; else ok 'a remote that cannot be reached is refused'; fi +check 'and is not written' test -z "$(grep '^SIPGES_BACKUP_OFFSITE=' "$SIPGES_ENV_FILE" || true)" +check 'and the way to set it up is named' said './sipges offsite-config' +command rm -f "$FAKE/offsite-fails" +: >"$FAKE/calls" +run offsite-to nas:sipges +check 'offsite-to tries the remote before writing it' called 'run --rm --no-deps -e SIPGES_BACKUP_OFFSITE=nas:sipges offsite probe' +check 'then writes it to the .env' env_is SIPGES_BACKUP_OFFSITE nas:sipges +check 'and starts the off-site service' called 'up -d offsite' +check 'the rclone settings file exists for the mount' test -f "$work/rclone/rclone.conf" +check 'and only its owner may read it' test "$(stat -c %a "$work/rclone/rclone.conf")" = 600 +check 'nor open its folder' test "$(stat -c %a "$work/rclone")" = 700 +run offsite-to nas:other +check 'a new remote replaces the old one, one line only' test "$(grep -c '^SIPGES_BACKUP_OFFSITE=' "$SIPGES_ENV_FILE")" = 1 +: >"$FAKE/calls" +run start +check 'start with a remote starts the off-site service' called 'up -d offsite' +run offsite-to --off +check 'offsite-to --off removes the remote' test -z "$(grep '^SIPGES_BACKUP_OFFSITE=' "$SIPGES_ENV_FILE" || true)" +check 'and stops the service' called 'rm -sf offsite' +: >"$FAKE/calls" +run start +check 'start without a remote leaves the off-site service off' bash -c "! grep -qF 'up -d offsite' '$FAKE/calls'" + +fresh +offsite_env +: >"$FAKE/calls" +run offsite-config < /dev/null || true +check 'offsite-config runs rclone config in the service' called 'run --rm --no-deps --entrypoint rclone offsite config' +check 'on a settings file only its owner may read' test "$(stat -c %a "$work/rclone/rclone.conf")" = 600 +check 'and says how to pin an SFTP server key' said 'known_hosts_file' + +# status: where the backups go, and when the push fails or stops. +fresh +offsite_env +printf 'SIPGES_BACKUP_OFFSITE=nas:sipges\n' >>"$SIPGES_ENV_FILE" +printf '2026-11-22T07:00:00Z 20261122T070000Z\n' >"$work/backups/.last-offsite" +run status || true +check 'status names the off-site remote and its newest backup' said 'Backups pushed off-site to nas:sipges (newest 20261122T070000Z)' +check 'an off-site copy is a copy off this computer' said_not 'the backups are only on this computer' +touch -d '-30 hours' "$work/backups/.last-offsite" +run status || true +check 'status warns when no push succeeded for 26 hours' said 'WARNING: no backup reached nas:sipges in the last 26 hours' +printf '2026-11-22T08:00:00Z could not push 20261122T070000Z to nas:sipges\n' >"$work/backups/.last-offsite-failure" +run status || true +check 'status shows a failed push' said 'WARNING: the off-site push failed at 2026-11-22T08:00:00Z: could not push' +check 'every call names the off-site profile while a remote is set' called '--profile offsite' + +# restore and backups read from the remote. +fresh +offsite_env +if run restore 20261120T070000Z --yes; then fail 'restoring a backup that is nowhere is refused'; else ok 'restoring a backup that is nowhere is refused'; fi +check 'without a remote it says there is no such backup' said 'no backup named 20261120T070000Z' +if run backups --offsite; then fail 'backups --offsite without a remote is refused'; else ok 'backups --offsite without a remote is refused'; fi +printf 'SIPGES_BACKUP_OFFSITE=nas:sipges\n' >>"$SIPGES_ENV_FILE" +: >"$FAKE/calls" +run backups --offsite +check 'backups --offsite lists the remote' called 'offsite list' +: >"$FAKE/calls" +run restore 20261120T070000Z --yes || true +check 'a backup missing here is fetched from the remote' called 'offsite fetch 20261120T070000Z' +check 'and then restored' called 'run --rm restore 20261120T070000Z' +check 'saying where it came from' said 'Fetching 20261120T070000Z from nas:sipges' +touch "$FAKE/offsite-fails" +command rm -rf "$work/backups/20261121T070000Z" +: >"$FAKE/calls" +if run restore 20261121T070000Z --yes; then fail 'a fetch that fails stops the restore'; else ok 'a fetch that fails stops the restore'; fi +check 'before anything is stopped' bash -c "! grep -qE ' stop |run --rm restore' '$FAKE/calls'" +command rm -f "$FAKE/offsite-fails" + +# The kit names the remote: on another computer the backups are there. +fresh +offsite_env +printf 'SIPGES_DATA_KEY=synthetic-data-key-0000\nSIPGES_BACKUP_PASSPHRASE=synthetic-passphrase-a1b2\nSIPGES_BACKUP_OFFSITE=nas:sipges\n' >>"$SIPGES_ENV_FILE" +run recovery-kit "$work/kit.txt" <<<"zzzz" || true +check 'the recovery kit names the off-site remote' grep -qF 'Off-site copy: nas:sipges' "$work/kit.txt" +check 'and says to keep the rclone settings with the .env' grep -qF 'rclone folder' "$work/kit.txt" + +# The push itself (ops/offsite.sh), against a stand-in rclone whose fake: remote is a folder. +cat >"$root/rclone" <<'RCLONE' +#!/usr/bin/env bash +# Answers like rclone for the calls ops/offsite.sh makes; fake: is $RCLONE_ROOT/. +printf '%s\n' "$*" >>"$RCLONE_ROOT/.calls" +[[ ! -f $RCLONE_ROOT/.down ]] || exit 1 +at() { if [[ $1 == fake:* ]]; then printf '%s/%s' "$RCLONE_ROOT" "${1#fake:}"; else printf '%s' "$1"; fi; } +cmd=$1 +shift +exclude= args=() +for a in "$@"; do + case $a in + --exclude=*) exclude=${a#--exclude=/} ;; + -*) ;; + *) args+=("$a") ;; + esac +done +case $cmd in +mkdir) mkdir -p "$(at "${args[0]}")" ;; +lsf) [[ -d $(at "${args[0]}") ]] || exit 3; (cd "$(at "${args[0]}")" && find . -mindepth 1 -maxdepth 2 -type f -printf '%P\n' | sort) ;; +copy) + src=$(at "${args[0]}") dst=$(at "${args[1]}") + [[ -d $src ]] || exit 3 + mkdir -p "$dst" + for f in "$src"/*; do + [[ $(basename "$f") != "$exclude" ]] || continue + if [[ -f $RCLONE_ROOT/.copy-fails && $(basename "$f") == uploads.tar.gpg ]]; then exit 1; fi + cp "$f" "$dst/" + done + ;; +check) + src=$(at "${args[0]}") dst=$(at "${args[1]}") + for f in "$src"/*; do + [[ $(basename "$f") != "$exclude" ]] || continue + cmp -s "$f" "$dst/$(basename "$f")" || exit 1 + done + ;; +copyto) mkdir -p "$(dirname "$(at "${args[1]}")")" && cp "$(at "${args[0]}")" "$(at "${args[1]}")" ;; +purge) rm -rf -- "$(at "${args[0]}")" ;; +rcat) mkdir -p "$(dirname "$(at "${args[0]}")")" && cat >"$(at "${args[0]}")" ;; +cat) cat "$(at "${args[0]}")" ;; +deletefile) rm -f -- "$(at "${args[0]}")" ;; +*) exit 2 ;; +esac +RCLONE +chmod +x "$root/rclone" + +offsite_step() { # mode [name] + PATH="$root:$PATH" RCLONE_ROOT=$work/remote SIPGES_BACKUPS_PATH=$work/backups SIPGES_BACKUP_OFFSITE=fake:sipges \ + SIPGES_BACKUP_KEEP=2 SIPGES_BACKUP_KEEP_WEEKLY=0 SIPGES_BACKUP_KEEP_MONTHLY=0 \ + bash "$(dirname "$script")/ops/offsite.sh" "$@" >"$work/out" 2>&1 +} +sealed() { # name: a backup as backup.sh leaves it + mkdir -p "$work/backups/$1" + echo "dump $1" >"$work/backups/$1/db.dump.gpg" + echo "files $1" >"$work/backups/$1/uploads.tar.gpg" + (cd "$work/backups/$1" && sha256sum db.dump.gpg uploads.tar.gpg >SHA256SUMS) +} +remote= +fresh +remote=$work/remote/sipges +mkdir -p "$work/remote" +for stamp in 20261118T070000Z 20261119T070000Z 20261120T070000Z; do sealed "$stamp"; done +offsite_step push +check 'a first push sends only the newest backup' test -f "$remote/20261120T070000Z/SHA256SUMS" +check 'not every older one' test ! -e "$remote/20261119T070000Z" +check 'the checksums go up last, after the files are checked' \ + test "$(grep -nE '^(check|copyto)' "$work/remote/.calls" | head -n 1 | cut -d: -f2 | cut -d' ' -f1)" = check +check 'a push records the newest backup that reached the remote' grep -q ' 20261120T070000Z$' "$work/backups/.last-offsite" +sealed 20261121T070000Z +sealed 20261122T070000Z +mkdir -p "$remote/notes" +touch "$remote/notes/keep.txt" +offsite_step push +check 'a computer that was off pushes every backup it missed' test -f "$remote/20261121T070000Z/SHA256SUMS" +check 'up to the newest' test -f "$remote/20261122T070000Z/SHA256SUMS" +check 'the remote keeps SIPGES_BACKUP_KEEP of them' test ! -e "$remote/20261120T070000Z" +check 'and touches nothing that is not a backup' test -f "$remote/notes/keep.txt" +offsite_step list +check 'list names the backups on the remote' test "$(cat "$work/out")" = $'20261121T070000Z\n20261122T070000Z' + +# A push cut short never counts, is recorded, and is finished on the next round. +fresh +remote=$work/remote/sipges +mkdir -p "$work/remote" +sealed 20261122T070000Z +touch "$work/remote/.copy-fails" +if offsite_step push; then fail 'a push that fails says so'; else ok 'a push that fails says so'; fi +check 'and leaves no checksums on the remote' test ! -e "$remote/20261122T070000Z/SHA256SUMS" +check 'so list does not show it' bash -c "PATH='$root:$PATH' RCLONE_ROOT='$work/remote' SIPGES_BACKUPS_PATH='$work/backups' SIPGES_BACKUP_OFFSITE=fake:sipges bash '$(dirname "$script")/ops/offsite.sh' list | grep -c . | grep -qx 0" +check 'and the failure is recorded for status' grep -q 'could not push 20261122T070000Z' "$work/backups/.last-offsite-failure" +command rm -f "$work/remote/.copy-fails" +offsite_step push +check 'the next round finishes it' test -f "$remote/20261122T070000Z/SHA256SUMS" +check 'and clears the failure' test ! -e "$work/backups/.last-offsite-failure" +# A half pushed backup that is gone here is removed from the remote. +mkdir -p "$remote/20261101T070000Z" +echo partial >"$remote/20261101T070000Z/db.dump.gpg" +offsite_step push +check 'a half pushed backup no longer here is removed' test ! -e "$remote/20261101T070000Z" + +fresh +mkdir -p "$work/remote" +touch "$work/remote/.down" +sealed 20261122T070000Z +if offsite_step push; then fail 'an unreachable remote fails the push'; else ok 'an unreachable remote fails the push'; fi +check 'and is recorded' grep -q 'cannot reach fake:sipges' "$work/backups/.last-offsite-failure" +if offsite_step probe; then fail 'probe fails on an unreachable remote'; else ok 'probe fails on an unreachable remote'; fi +command rm -f "$work/remote/.down" +offsite_step probe +check 'probe passes on a remote it can write, read and clean' test -z "$(find "$work/remote" -name '.sipges-offsite-probe')" + +# Fetch: the files come back only when they match their checksums. +fresh +remote=$work/remote/sipges +mkdir -p "$work/remote" +sealed 20261122T070000Z +offsite_step push +command rm -rf "$work/backups/20261122T070000Z" +offsite_step fetch 20261122T070000Z +check 'fetch brings a backup back' test -f "$work/backups/20261122T070000Z/uploads.tar.gpg" +check 'checked against its checksums' bash -c "cd '$work/backups/20261122T070000Z' && sha256sum --quiet -c SHA256SUMS" +if offsite_step fetch 20261122T070000Z; then fail 'fetch refuses a backup already here'; else ok 'fetch refuses a backup already here'; fi +command rm -rf "$work/backups/20261122T070000Z" +echo tampered >"$remote/20261122T070000Z/db.dump.gpg" +if offsite_step fetch 20261122T070000Z; then fail 'a fetched backup that does not match is refused'; else ok 'a fetched backup that does not match is refused'; fi +check 'and is not kept' test ! -e "$work/backups/20261122T070000Z" +check 'nor its partial' test -z "$(find "$work/backups" -name '.partial-*')" +command rm -f "$remote/20261122T070000Z/SHA256SUMS" +if offsite_step fetch 20261122T070000Z; then fail 'a half pushed backup cannot be fetched'; else ok 'a half pushed backup cannot be fetched'; fi +if offsite_step fetch ../etc; then fail 'fetch refuses a name that is not a backup'; else ok 'fetch refuses a name that is not a backup'; fi + command rm -rf "$root" if ((failures > 0)); then printf '%d failed\n' "$failures" diff --git a/docs/deployment/local-install.md b/docs/deployment/local-install.md index 19371580..8a2e40fd 100644 --- a/docs/deployment/local-install.md +++ b/docs/deployment/local-install.md @@ -81,7 +81,7 @@ Without `SIPGES_DATA_KEY` and `SIPGES_BACKUP_PASSPHRASE` from `.env`, no backup | --- | --- | | `./sipges status` | Shows what is running, which build (the commit it came from), the latest backup, any backup failure, and what still protects your data poorly (no copy on a second disk, no recovery kit). | | `./sipges stop` / `./sipges start` | Stops or starts everything. It also starts by itself after a restart of the computer. | -| `./sipges logs api` | Shows recent activity. Other parts: `db`, `caddy`, `backup`. | +| `./sipges logs api` | Shows recent activity. Other parts: `db`, `caddy`, `backup`, `offsite`. | Check `./sipges status` once a week. It is how you find out a nightly backup failed. @@ -89,7 +89,7 @@ Check `./sipges status` once a week. It is how you find out a nightly backup fai SIPGES backs itself up every night at 2:00, Lima time. It keeps the latest 14, plus the newest backup of each of the last 8 weeks and of each of the last 12 months, so you can go back up to a year. A backup holds the database and every evidence file, encrypted. It counts only after SIPGES has read it back. -If the computer was off or asleep at 2:00, SIPGES backs up as soon as it starts again, whenever the newest backup is more than a day old. `./sipges status` warns when the newest backup is more than 26 hours old, and on every run while the backups have no copy on a second disk (see below). +If the computer was off or asleep at 2:00, SIPGES backs up as soon as it starts again, whenever the newest backup is more than a day old. `./sipges status` warns when the newest backup is more than 26 hours old, and on every run while the backups have no copy on a second disk or off-site (see below). Backups are in `deploy/local/backups`. **A backup on the same computer does not protect you from a dead disk.** Let SIPGES copy each one to a folder on another disk (an encrypted external disk, or another computer's shared folder mounted here): @@ -101,11 +101,26 @@ Backups are in `deploy/local/backups`. **A backup on the same computer does not The folder must exist. SIPGES marks it with a `.sipges-backup-copy` file, copies every backup there after it is read back, checks the copy against its checksums and keeps the same ones as the backup folder (the latest, weekly and monthly). It copies only into the marked folder: with the disk unplugged, nothing goes to this computer's disk in its place, the backup itself still counts, and `./sipges status` says the copy failed and why. Plug the disk back in and run `./sipges start`: a running service keeps seeing the empty folder it started with, and start gives it the disk again, so the next backup is copied. `copy-backups-to` warns when the folder is on the same disk as the backups, as happens when it was made while the other disk was unplugged. To stop the copies, remove the `SIPGES_BACKUP_COPY_DIR` line from `.env` and run `./sipges start`. +### Off-site copy + +A disk in the same office does not survive a fire or a theft. SIPGES can also push every backup to a server elsewhere, a NAS over SFTP or S3-compatible storage, through [rclone](https://rclone.org/). The backups leave already encrypted with `SIPGES_BACKUP_PASSPHRASE`, so the server only ever holds data it cannot read, and without the recovery kit nobody can open them, you included. + +```bash +./sipges offsite-config # answer rclone's questions to add a remote, such as "nas" +./sipges offsite-to nas:sipges-backups # tries the remote, then pushes every backup there +``` + +The remote's settings and password go to `deploy/local/rclone/rclone.conf`, readable only by you, never to `.env`: `offsite-to` refuses a connection string with a password in it. For SFTP, pin the server's key first, so a machine pretending to be your NAS cannot catch the password: run `ssh-keyscan > rclone/known_hosts` and answer `known_hosts_file` with `/config/known_hosts` in `offsite-config`. + +The `offsite` service pushes the newest backup within minutes, then checks every hour, so a computer that was off catches up on its own with every backup it missed. A backup counts on the remote only once its files are there and checked and its checksums have gone up last. The remote keeps the same ones as the backup folder. `./sipges status` names the remote and the newest backup on it, says when a push failed and why, and warns when no push worked for 26 hours. To stop, run `./sipges offsite-to --off`: what is already on the remote stays. + +`./sipges restore ` with a backup that is no longer on this computer fetches it from the remote and checks it against its checksums before anything stops. To restore on a new computer, install SIPGES, put your `.env` secrets and a copy of the `rclone` folder in place, run `./sipges offsite-to` with the same remote, then `./sipges backups --offsite` and `./sipges restore`. + | Command | What it does | | --- | --- | | `./sipges backup` | Takes a backup now. | -| `./sipges backups` | Lists the backups by date. | -| `./sipges restore 20261106T193243Z` | Replaces everything with that backup. Asks you to type RESTORE. | +| `./sipges backups` | Lists the backups by date. `--offsite` lists those on the remote. | +| `./sipges restore 20261106T193243Z` | Replaces everything with that backup, fetched from the remote if it is not here. Asks you to type RESTORE. | To change the hour, the numbers kept or the time zone, edit `SIPGES_BACKUP_HOUR`, `SIPGES_BACKUP_KEEP` (latest backups), `SIPGES_BACKUP_KEEP_WEEKLY`, `SIPGES_BACKUP_KEEP_MONTHLY` and `SIPGES_TIMEZONE` in `.env`, then run `./sipges start`. @@ -346,6 +361,7 @@ When the bridge is stopped, your login expired or your subscription quota ran ou | Browser says the certificate is not trusted | Install `sipges-root-ca.crt` on that computer. After `./sipges wipe` the certificate is new, so install it again. | | A blank page | You used a different name or address from the install. Use that one, or change it with `./sipges install `. | | The status shows a backup failure | Run `./sipges logs backup`. Disk space is the usual cause. | +| The status shows an off-site push failure | Run `./sipges logs offsite`. Usually the server is unreachable or its password changed: fix it with `./sipges offsite-config`. The next hourly round retries. | | `the database did not become ready` | Run `./sipges logs db`. After a power cut it may need a while to recover, so wait and try again. | | `the app has already run here` | `prepare` is only for an unused install. To start over: `./sipges wipe`, then `./sipges prepare`. | | `SIPGES did not become ready` | Run `./sipges logs api`, and keep the output for support. It holds no passwords. | diff --git a/odd/tasks/world-class-local.md b/odd/tasks/world-class-local.md index ea832240..74a5135b 100644 --- a/odd/tasks/world-class-local.md +++ b/odd/tasks/world-class-local.md @@ -21,7 +21,7 @@ Branch per task from `origin/main`; delivery `ask-on-risk`; runners: `deploy/loc - T9 [x] — S1: Territorio freeze and the 3D loading state (audit B6). The lead reviewer marked the freeze unconfirmed; 2026-11-21 measurements without CDP network capture showed 0 blocking frames. Route: reproduce first, fix only what reproduces. Commit: pending. - T10 [x] — S1: analyst eval set, prompt caching, token accounting and a robust reply format (audit B13). Route: inline. Commit: pending. - T11 [ ] — S1: retire the dual backend: one migration path, Go-only features, Go checks required in CI (audit B11). Route: after go-rust-stack T44 and T72. Commit: pending. -- T13 [ ] — S1, S2: optional off-site push of the already sealed backup folders (restic or rclone to SFTP or S3-compatible storage), and `restore` reading from it (audit B2). Route: inline once the owner names the destination. Commit: pending. +- T13 [x] — S1, S2: optional off-site push of the already sealed backup folders (restic or rclone to SFTP or S3-compatible storage), and `restore` reading from it (audit B2). Route: inline once the owner names the destination. Commit: see PR. - T14 [~] dropped — S1, S2: a password change also revokes every API key the person owns (verifier advisory on T8a). Needs `integration/infrastructure` to expose a revoke-by-owner inside a transaction; a person may own keys in several tenants, each audited in its own tenant, before identity enters its tenant for its own audit row. Assumes `api_keys.created_by` is the owner: confirm first. Route: inline plus independent verifier (identity). Commit: pending. Dropped 2026-11-22: API keys are machine identities (ADR 0014, «API keys for machines, not people»; `created_by` only records the issuing admin), so revoking them on a password change would cut legitimate integrations and stop no attacker. - T12 [ ] — S1: owner items: the USB for the Excel importer (audit B1, go-rust-stack T70), the off-site backup destination, the AI provider for real data, the Ley 29733 / DS 016-2024-JUS decisions with counsel (audit B9), the imagery licence for a commercial client (audit B12), phone access on the LAN, the production backend date, the laptop profile (closure-roadmap T27), the IRSA wording and the thesis text. Route: owner. Commit: n/a. @@ -66,3 +66,4 @@ Branch per task from `origin/main`; delivery `ask-on-risk`; runners: `deploy/loc - L37 — T8 cerrada: 2026-11-22. Completa: cambio de contraseña propia (#597, #598) y formulario web (#599); restablecimiento por administrador (#600) que levanta el bloqueo por intentos fallidos (#601); lista de contraseñas comunes en la política (T8a); error de inicio de sesión genérico (ya existía: usuario inexistente, contraseña errónea y cuenta desactivada responden «Credenciales inválidas» con tiempo igualado); cierre por inactividad de 60 min con tope de 8 h (#602, #603). - L38 — T9, Territorio: 2026-11-22. Reproducido con una sonda de long tasks (Playwright, PerformanceObserver): abrir 2D 803 ms; volver de 3D a 2D 14 tareas, 3,0 s. Causa (CDP): trabajo de GPU por software (ReadPixels en el hilo principal), no JavaScript; el globo 3D quieto redibujaba cada frame (~165 ms), y el primer dibujo del PathLayer de deck.gl de los distritos costaba ~700 ms al recrear el mapa. Arreglo: requestRenderMode en Cesium, contornos de distrito como capa de línea de MapLibre, mapa 2D montado y oculto mientras se ve el 3D (al volver redimensiona y encuadra igual). Después: abrir 2D máximo 103–130 ms; volver a 2D 0 tareas; 3D quieto 0. Queda: con registros, el primer dibujo de puntos y números al abrir 2D (~340–390 ms, una vez por visita). Estado de carga del relieve con aria-busy y «Cargando el relieve…». Guardia e2e territorio-long-tasks (falla con el código viejo: 2979 ms). Web 987; typecheck, lint, boundaries; e2e chromium 54 pasan; móvil del mapa 11 pasan. - L39 — T10, analista: 2026-11-22. El dueño eligió evaluación solo sin conexión. Caché: system como bloque con breakpoint (cachea herramientas y system) y breakpoint en el último bloque del último mensaje; prefijo idéntico entre preguntas comprobado byte a byte. Tokens: ambos proveedores leen usage (OpenAI: cached_tokens restado de prompt_tokens); una línea analyst_ask_usage por pregunta con request_id, modelo, vueltas, herramientas, los cuatro conteos, duración y ok, sin texto. Formato robusto: citas de 5+ cifras rechazadas, pause_turn y model_context_window_exceeded son error, el turno completo (thinking y bloques desconocidos) se devuelve sin cambios, argumentos JSON inválidos marcan la llamada como mal formada y no ejecutan la herramienta. Evaluación sin conexión: 21 casos en testdata/eval reproducidos por TestEvalSet a través del loop real. Narrador sin tocar (bytes fijados por claude_test.go y paridad; prompt de ~150 tokens, bajo el mínimo cacheable). Pendiente: confirmar cache_read_input_tokens en la primera pregunta real. Go analyst/app/cli/platform, vet, golangci-lint 0. +- L40 — T13, copia fuera del equipo: 2026-11-22. El dueño autorizó avanzar («yes autorizo todo , confirmo y avanza con cada T»); como no nombró destino, se construyó el mecanismo para cualquier remoto de rclone y queda que el dueño configure el suyo con ./sipges offsite-config. Servicio offsite (perfil, imagen postgres:17 + rclone 1.75.2 fijados por digest, como el usuario instalador, red propia sin acceso a la base, 256 MiB): sube en minutos el respaldo más nuevo y luego cada hora todos los más nuevos que el último del remoto (una laptop apagada se pone al día); un respaldo cuenta en el remoto solo cuando sus archivos están comprobados y SHA256SUMS subió al final; misma retención; se borran los subidos a medias. restore trae del remoto el respaldo ausente y lo verifica con sha256 antes de detener nada; backups --offsite; status con remoto, el más nuevo, fallas y 26 h sin subir. Credenciales en rclone/rclone.conf (700/600), nunca en .env: se rechaza la cadena de conexión. Los ensayos reales encontraron dos fallas: rclone reescribe su configuración (montar la carpeta, no el archivo: de ~2 min a 2,5 s) y SFTP no valida la clave del host (documentado known_hosts_file; clave equivocada rechazada). RED/GREEN: unit.sh 308 (antes abortaba en offsite-to); ensayos con rclone real contra remoto local y SFTP (atmoz/sftp), y ./sipges real con Docker en un proyecto aislado: probe, push, retención, list, fetch, adulterado rechazado, --off. shellcheck y prettier limpios. From e80a6646883b5482da71d37d47001cbd16a0eb4d Mon Sep 17 00:00:00 2001 From: DreamCoder08 Date: Sun, 22 Nov 2026 17:43:39 -0500 Subject: [PATCH 2/3] fix(local): take one checked listing per off-site round so a failed listing removes nothing --- deploy/local/ops/offsite.sh | 40 ++++++++++++++++++++----------------- deploy/local/test/unit.sh | 26 +++++++++++++++++++++++- 2 files changed, 47 insertions(+), 19 deletions(-) diff --git a/deploy/local/ops/offsite.sh b/deploy/local/ops/offsite.sh index 159c23ae..3abeb573 100644 --- a/deploy/local/ops/offsite.sh +++ b/deploy/local/ops/offsite.sh @@ -35,18 +35,16 @@ failed() { return 1 } -# Backups on the remote with their checksums, oldest first. Anything else there is left alone. -complete() { - local listing - listing=$(rclone lsf -R --files-only --max-depth=2 "$remote") || return 1 - sed -nE 's#^(20[0-9]{6}T[0-9]{6}Z)/SHA256SUMS$#\1#p' <<<"$listing" | sort -} +# The files on the remote, two levels down. Every decision below reads one listing taken here, with +# its status checked: a second listing that failed unseen would make every backup look half pushed. +listing() { rclone lsf -R --files-only --max-depth=2 "$remote"; } + +# From a listing: the backups with their checksums, oldest first. Anything else is left alone. +complete_in() { sed -nE 's#^(20[0-9]{6}T[0-9]{6}Z)/SHA256SUMS$#\1#p' <<<"$1" | sort; } -# Folders named like a backup on the remote that never got their checksums: pushes cut short. -incomplete() { - local listing - listing=$(rclone lsf -R --files-only --max-depth=2 "$remote") || return 1 - comm -23 <(sed -nE 's#^(20[0-9]{6}T[0-9]{6}Z)/.*#\1#p' <<<"$listing" | sort -u) <(complete) +# From a listing: folders named like a backup that never got their checksums, pushes cut short. +incomplete_in() { + comm -23 <(sed -nE 's#^(20[0-9]{6}T[0-9]{6}Z)/.*#\1#p' <<<"$1" | sort -u) <(complete_in "$1") } local_backups() { @@ -66,12 +64,12 @@ push() { failed "cannot reach $remote" return 1 } - local on_remote newest todo name old - on_remote=$(complete) || { + local files newest todo name old + files=$(listing) || { failed "cannot reach $remote" return 1 } - newest=$(tail -n 1 <<<"$on_remote") + newest=$(complete_in "$files" | tail -n 1) # A first push sends only the newest backup; after that, every one newer than the remote's newest, # so a computer that was off for days catches up without sending what retention would drop. if [[ -z $newest ]]; then @@ -87,8 +85,13 @@ push() { echo "pushed $name to $remote" done + # A fresh listing after the pushes; if it fails, nothing is removed. + files=$(listing) || { + failed "pushed, but could not list $remote to apply retention" + return 1 + } # Retention as for the backups (ops/retain.sh), on the backups the remote holds. - complete | bash "$(dirname "${BASH_SOURCE[0]}")/retain.sh" "$keep" "${SIPGES_BACKUP_KEEP_WEEKLY:-8}" "${SIPGES_BACKUP_KEEP_MONTHLY:-12}" | + complete_in "$files" | bash "$(dirname "${BASH_SOURCE[0]}")/retain.sh" "$keep" "${SIPGES_BACKUP_KEEP_WEEKLY:-8}" "${SIPGES_BACKUP_KEEP_MONTHLY:-12}" | while read -r old; do rclone purge "$remote/${old:?}" || exit 1 done || { @@ -96,14 +99,15 @@ push() { return 1 } # Every push that remains unfinished has been retried above, so these are gone from here. - incomplete | while read -r old; do + incomplete_in "$files" | while read -r old; do rclone purge "$remote/${old:?}" || exit 1 done || { failed "could not remove half pushed backups from $remote" return 1 } - newest=$(complete | tail -n 1) + # Retention always keeps the newest (SIPGES_BACKUP_KEEP is 1 or more). + newest=$(complete_in "$files" | tail -n 1) printf '%s %s\n' "$(now)" "$newest" >"$backups/.last-offsite" rm -f -- "$backups/.last-offsite-failure" } @@ -141,7 +145,7 @@ probe() { case ${1:-} in push) push ;; -list) complete ;; +list) files=$(listing) && complete_in "$files" ;; fetch) fetch "${2:-}" ;; probe) probe ;; loop) diff --git a/deploy/local/test/unit.sh b/deploy/local/test/unit.sh index eb7f0e9b..35888751 100755 --- a/deploy/local/test/unit.sh +++ b/deploy/local/test/unit.sh @@ -1027,7 +1027,12 @@ for a in "$@"; do done case $cmd in mkdir) mkdir -p "$(at "${args[0]}")" ;; -lsf) [[ -d $(at "${args[0]}") ]] || exit 3; (cd "$(at "${args[0]}")" && find . -mindepth 1 -maxdepth 2 -type f -printf '%P\n' | sort) ;; +lsf) + # .lsf-fails-at N: the Nth listing fails, as a flaky SFTP or S3 listing would. + count=$(($(cat "$RCLONE_ROOT/.lsf-count" 2>/dev/null || echo 0) + 1)) + echo "$count" >"$RCLONE_ROOT/.lsf-count" + [[ $count != "$(cat "$RCLONE_ROOT/.lsf-fails-at" 2>/dev/null)" ]] || exit 1 + [[ -d $(at "${args[0]}") ]] || exit 3; (cd "$(at "${args[0]}")" && find . -mindepth 1 -maxdepth 2 -type f -printf '%P\n' | sort) ;; copy) src=$(at "${args[0]}") dst=$(at "${args[1]}") [[ -d $src ]] || exit 3 @@ -1109,6 +1114,25 @@ echo partial >"$remote/20261101T070000Z/db.dump.gpg" offsite_step push check 'a half pushed backup no longer here is removed' test ! -e "$remote/20261101T070000Z" +# A listing that fails partway through a round removes nothing from the remote. +fresh +remote=$work/remote/sipges +mkdir -p "$work/remote" +sealed 20261121T070000Z +offsite_step push +sealed 20261122T070000Z +offsite_step push +sealed 20261123T070000Z +for n in 2 3 4 5 6; do + echo 0 >"$work/remote/.lsf-count" + echo "$n" >"$work/remote/.lsf-fails-at" + offsite_step push || true +done +command rm -f "$work/remote/.lsf-fails-at" +# SIPGES_BACKUP_KEEP is 2 here: retention may drop 20261121, never the two newest. +check 'a listing that fails mid-round keeps every complete backup retention keeps' \ + test -f "$remote/20261122T070000Z/SHA256SUMS" -a -f "$remote/20261123T070000Z/SHA256SUMS" + fresh mkdir -p "$work/remote" touch "$work/remote/.down" From 2eccdfdf6988118ce6245f3418e8d59346605657 Mon Sep 17 00:00:00 2001 From: DreamCoder08 Date: Sun, 22 Nov 2026 17:45:04 -0500 Subject: [PATCH 3/3] chore(engram): sync memories for world-class-local T13 --- .engram/chunks/fab42e40.jsonl.gz | Bin 0 -> 27310 bytes .engram/manifest.json | 8 ++++++++ 2 files changed, 8 insertions(+) create mode 100644 .engram/chunks/fab42e40.jsonl.gz diff --git a/.engram/chunks/fab42e40.jsonl.gz b/.engram/chunks/fab42e40.jsonl.gz new file mode 100644 index 0000000000000000000000000000000000000000..d054afe73b3612a2eaa9c24c4f145d94f3b11e60 GIT binary patch literal 27310 zcmV)pK%2iGiwFP!00000|K$DKZY0OmFNnX&LfeL`&NZRln;_T1VV7+^5KKo_$Cq0txL=wbub%nkV_dV+a`L97*# zm31InhnB~C=0<8(MP_BjVXfc#t<#?#7&Jzz%sdGH@TUhdeh@yG4Lb8!OykyE3}&rC zr;Dvg6wg|-&V1aPjRy1Kxbq-*kZbiBM#Y2hfsy$F&4b{9dX=FzOPOD$D#iz)A9HEH zh#v$GVyQ7IlwLgu9~>-IiU+Yqkwz*;-I*LbQc;;=R+xj+v**7*et7Zx{GhtIDTFRC zz7+N+d!62>)$O)=J?Qkp{y6Lp+T;GP*X<0t{RhDV%;J4R2VrLr4u%i@9JqHK_4?yM zJdaxQSsz=23HDmE2t}(i8qG%WxI3E9$Nxm{+8u?%Vc6}phr`iiJn9aIcfP9|I$FOg ziWqyMKWj~g!%=I{=?q)5Nq5kSqe;{oj5;Xd$v@G%_IhDw8g_c^et$R`411H_`c=B! zevD#_E$npXtwB5(wvzY~ z>EOYi{}?<_GlTkC6dUKTJDB#m!2`3(qDy*dH8ZVv5D%xbcr@wshT|xj+uz~?eEFj$ zrdZ|n-Dl-uE??WfWs%qq{!N-fK>ra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