Groups
Sign in
Groups
web2py-users
Conversations
Labels
About
Send feedback
Help
CSV again - complete database dump/restore
1 view
Skip to first unread message
mdipierro
unread,
Dec 22, 2008, 8:16:06 AM
12/22/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py Web Framework
New in trunk
db.export_to_csv_file(open('filename','w'))
db.import_from_csv_file(open('filename','r'))
obviously you can export in one DB (say mysql) and import in another
(say postgresql). It should fix all references.
Please give it a try and let me know if it works for you.
Massimo
Reply all
Reply to author
Forward
0 new messages