2009/2/10 Gorshkov <listsubscripti...@oghma.on.ca>:
> I am developing an application, and I need the ability to create
> backups, and restore, from withing the program.
>
> Telling the user "download sqllite.exe, open a dos box, cd to XXX, and
> then ......" isn't an option, but I don't see any easy, straightforward
> way get the information I need regarding fields, data types, etc from
> sqlite_master without having to parse the creation sql - which would be
> a major pain in the butt.
>
> Is there an equivalent to the .dump and .restore commands accessable via
> the C interface, or any data structures/functions exposed to the
> programmer that would allow me to do this?

http://www.sqlite.org/draft/c3ref/backup_finish.html

> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>


Rgds,
Simon
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to