On Feb 7, 2009, at 4:56 PM, Alexey Pechnikov wrote: > Hello! > > В сообщении от Thursday 05 February 2009 02:48:25 D. Richard Hipp > написал(а): >> The SQLite core will call the locking methods, but they can be no- >> ops. The read method can be a no-op too, I suppose, if you are only >> using the VFS to make a backup. Oh, and the writes will all be >> page- >> sized and page-aligned. > > Can I use online baclup feature to restore disk-based database with > 4k page instead of 1k default > page (and vice versa)? I did see in online backup code commentary > about only 1k pages...
Yes. The backup code should work with all page sizes. There is some example code up on the draft website now. This is meant to complement the existing API documentation. http://www.sqlite.org/draft/backup.html Please post feedback and bug-fixes etc. Dan. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users