Hello ! The sqlite rbu extension concept is interesting but it's missing the generation of the diff files on the fly, we need something like sqlite3_trace, sqlite3_update_hook or better yet a pragma:
PRAGMA generate_rbu=ON; And with that all insert/update/delete operation would generate the rbu diff and store in a hidden table sqlite_rbu_log. Please add this to the wish list of sqlite ! Cheers !