Repository navigation
0.1.0
Pre-release
Pre-release
First release.
db:backup create|list|verify|restore-prepare|pruneace command, asqlite.backupservice and
node ace configure(writesconfig/backup.ts, registers the provider and command).- Immutable bundles: online copy, full
integrity_checkandforeign_key_check, SHA-256 manifest,
READYwritten last. Optional migration-journal metadata, checked on verify and restore. - Backups through an already-open better-sqlite3 handle, which is never closed by the package.
- Prepare-only restore: stages and verifies a copy, never replaces the live database.
- Prune keeps the newest N READY bundles and removes unfinished ones, under a SQLite directory lock.
- Private backup roots (
0700), a disabled configuration,--directoryrecovery overrides and a
BackupExceptionwith six codes.
Install
pnpm add https://github.com/Kevinjohn/oss-adonisjs-sqlite-backup/releases/download/v0.1.0/kevinjohn-adonisjs-sqlite-backup-0.1.0.tgzSHA-256: d32cd2ae9345b594bab09ff19c3edb5a67a50777c3652d83fb88128a3ae6e8ce