libsql
libsql copied to clipboard
add a version of .restore to sqld
sqlite files can often get corrupted, as they lack a checksum.
sqlite has a .restore
command in the shell, and we should have a version of that for us to call, likely as a libsql-server API.