[DBD-SQLite] [PATCH] Add online backup support

Toby Corkindale toby.corkindale at strategicdata.com.au
Fri May 1 06:24:06 GMT 2009


The attached patch adds support for SQLite's Online Backup API via =

DBI->func() calls.

In this patch I chose to implement all the work in a single DBI func =

call, rather than exposing all the backup_*() functions individually.

I have an intention to improve the system to use the _step() method, and =

to have more resilience for database-locked conditions, but that won't =

change the API calls I defined.

I suck at naming functions, so I won't be hurt if you want to call them =

something better :)

Cheers,
Toby
-------------- next part --------------
A non-text attachment was scrubbed...
Name: online_backup.patch
Type: text/x-patch
Size: 4468 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/dbd-sqlite/attachments/20090501/8d=
868f54/online_backup.bin


More information about the DBD-SQLite mailing list