import { Database } from "bun:sqlite";
import { databasePath } from "../src/db/config";
import { backupConfig, createBackup } from "../src/ops/backups";
const db = new Database(databasePath, { readonly: true, strict: true });
try { console.log(createBackup(db, backupConfig(databasePath))); } finally { db.close(); }
