db.export_to_csv_file(open('/path/to/file.csv', 'wb'))

db.import_from_csv_file(open('/path/to/file.csv', 'rb'))

-Thadeus




On Fri, Oct 30, 2009 at 10:50 PM, Jason Brower <encomp...@gmail.com> wrote:

>
> I have the unfortunate fact that I have been using sqlite3 for some
> time, but my data is getting a little unstable.  How do I best transfere
> that data from one database to another without direct access to the
> admin screens as it is hosted remotely?
> For right now, I guess my best approach would be to copy the sqlite3
> files to my computer and run the admin from here, but that just gets me
> the data, I still have to insert it some how.
> BR
> Jason
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to