mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 09:01:31 +00:00
c918f6834a
* feat: back up the ochre pgvector schema to object storage Adds account-scoped pg_dump/restore of the per-account kb_<accountID> schema to predastore, gzip-compressed and keyed under the account's own prefix. Backup shells out to pg_dump (--no-owner --no-privileges --clean --if-exists) behind a PgDumper seam; restore runs psql then repairs the account role's grants via EnsureAccount/RegrantAccount since the dump carries no ownership. Exposed as `spx admin ochre vector backup/restore --account <id>`. * test: cover ochre vector backup dump/restore and error paths