Lines Matching defs:Backup
41 // Backup() successfully completed.
121 return r->Backup();
175 // is necessary for the final backup which rewrites things. It
228 bool Recovery::Backup() {
238 // The documentation for the backup system indicate a relatively
257 // and attempt the backup again.
262 // Backup the original db from the recovered db.
264 sqlite3_backup* backup = sqlite3_backup_init(db_->db_, kMain,
266 if (!backup) {
279 int rc = sqlite3_backup_step(backup, -1);
280 int pages = sqlite3_backup_pagecount(backup);
285 sqlite3_backup_finish(backup);