Hi Paolo the script mentioned in the book
python scripts/cpdb.py \
-f applications/app/databases \
-y 'sqlite://storage.sqlite' \
-Y 'postgres://username:password@localhost/mydb' \
-d ../gluon
can no longer find DAL. What is the correct -d ? (if you know)
thanks in advance,
Ben
On
Thanks paolo for the user permission idea.
And* cpdb.py* and also *oracle_extract_models.py* will be helpful.
--
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
Instantiate DAL with migrate=False is enough to guarantee the
read-only-mode operations.
In addition accessing the db using an user without write permissions is
better if you only have to dump data.
To copy data from one db to an other, have a look
at https://github.com/web2py/web2py/blob/maste
3 matches
Mail list logo