Matthias Nott
2026-02-21 7300351bb9fb147f4de81a60423c4561a4924c21
refs
author Matthias Nott <mnott@mnsoft.org>
Saturday, February 21, 2026 16:53 +0100
committer Matthias Nott <mnott@mnsoft.org>
Saturday, February 21, 2026 16:53 +0100
commit7300351bb9fb147f4de81a60423c4561a4924c21
tree 603771eff37828b026244b250ca48409e3524805 tree | zip | gz
parent ed26def7d76ac011075c11e8c1679ed1f7a08abc view | diff
fix: Run backup/restore on host via nsenter for Python venv compatibility

Host Python venvs (3.12) cannot run inside the container (Python 3.11).
Added run_ops_host/stream_ops_host in ops_runner.py that use
docker run --privileged --pid=host alpine nsenter to execute ops
commands in the host namespace. Applied to backup and restore flows.
6 files modified
changed files
app/app/ops_runner.py diff | view | blame | history
app/app/routers/backups.py diff | view | blame | history
app/app/routers/restore.py diff | view | blame | history
app/ops_runner.py diff | view | blame | history
app/routers/backups.py diff | view | blame | history
app/routers/restore.py diff | view | blame | history