I have been trying the following and want to make sure of some things:
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=list%3A#Copy-data-from-one-db-into-another
I used to run SQLite and now it is running postgres.
However, I would like to backup the DB to SQLight and also copy that for
my own use.
My thoughts it to do the example so I thought I would delete the items
from the databases folder and then do the copy.  However, when I move
the files away from that directoy, my system crashed out on me.
I didn't think I was using any of the data there and I can confirm that
I am only using prostgres for my database right now.
What could be wrong here?
Also, if I do the copy to the sqlite format it sounds like I may
overright something.  Could I do something like this?
python scripts/cpdb.py -f applications/app/databases -y
'postgres://username:password@localhost/mydb' -Y
'sqlite://backup.sqlite'

And then copy the entire app over to my computer for testing?
BR,
Jason Brower



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to