Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
init ~dst ~dst_name ~src ~src_name
initializes a backup from the database src
/src_name
to the database dst
/dst_name
.
step backup pagecount
will copy up to pagecount
pages between the associated databases of backup
.
finish backup
destroys the association backup
; this is to be called after step
returns SQLITE_DONE
.
val remaining : t -> int
remaining backup
returns the number of pages still to be backed up in backup
.
val pagecount : t -> int
pagecount backup
returns the total number of pages in the source database of backup
.