Repository navigation
0.3.0
Pre-release
Pre-release
db:upgradesnapshots use the primary connection's migrations table and the backup config's
lockTimeoutMsandrequireWal, and report the non-WAL warning. Before, they always read
adonis_schema, never waited for the lock and ignoredrequireWal.- Operator commands pin the primary SQLite handle and serialize queries through it. Lucid and pool
lifecycle failures remain visible; work and cleanup failures are both preserved. - Filesystem paths are resolved segment by segment, so
..follows symlink targets. Package-owned
sources and restore targets are refused if the native SQLite driver changes the selected filename
spelling; this does not promise support for every kernel filename form. Borrowed handles remain
supported. db:backup createchecks source-layout eligibility before directory preparation. Preparation
makes missing directories and tightens an existing directory to mode0700, and refuses an
existing non-directory root. First-use root and bundle metadata are synced in publication order;
failed publication is unpublished when cleanup succeeds.- Native close and cleanup failures are preserved in diagnostics, including contention and retry
paths. Cleanup is attempted; the package does not guarantee every native close succeeds. - Lock waits are cooperative and asynchronous for create operations. Timeouts are bounded to
integer milliseconds from 0 through 2,147,483,647, and damaged multiply-linked lock files are
refused before repair. - Restore preparation classifies damaged READY bundles and refuses targets whose resolved spelling
aliases the live database or its sidecars. - Retention counts READY markers without verifying bundle contents. Verification connections do not
load application-only SQL functions, collations or extensions; a bundle is refused only when
their absence prevents verification. Idle server processes are not detected: EXCLUSIVE locking
blocks conflicting work but does not prevent another process from opening a handle. No blanket
power-loss guarantee is made. - Deadline checks, child-process fixture readiness and benchmark cleanup now follow their actual
process lifecycles. The release gate builds and packs the candidate, then installs that archive in
a consumer fixture and exercises its exports, types, configure flow, provider and commands.
Install
pnpm add https://github.com/Kevinjohn/oss-adonisjs-sqlite-backup/releases/download/v0.3.0/kevinjohn-adonisjs-sqlite-backup-0.3.0.tgzSHA-256: 10bc95506807ea2a13957f0f8e0713bb72d5475feea7f0316aad67b3f3765d5f