When Snebu reaches an out-of-memory condition (after eating all system memory + swap) running snebu expire or during a backup, it crashes, leaving a corrupted catalog DB. Further tries (either using various snebu commands or sqlite3 directly) often lead to SQLITE_CORRUPT (11) errors.
Recovery with sqlite3 snebu-catalog.db .dump | sqlite3 recovered-snebu-catalog.db is (usually) possible
PS: After a few months backuping 4 Linux boxes, my catalog DB is now 27GiB (mostly due to the various indices Snebu creates), which means that its DB journal often gets bigger than the available memory+swap (8GiB).
When Snebu reaches an out-of-memory condition (after eating all system memory + swap) running
snebu expireor during a backup, it crashes, leaving a corrupted catalog DB. Further tries (either using varioussnebucommands orsqlite3directly) often lead toSQLITE_CORRUPT(11) errors.Recovery with
sqlite3 snebu-catalog.db .dump | sqlite3 recovered-snebu-catalog.dbis (usually) possiblePS: After a few months backuping 4 Linux boxes, my catalog DB is now 27GiB (mostly due to the various indices Snebu creates), which means that its DB journal often gets bigger than the available memory+swap (8GiB).