http://code.google.com/p/web2py/source/browse/scripts/cpdb.py
Usage: python web2py.py -S app -M -N -R scripts/cpdb.py -A 'sqlite:// other_db.sqlite' It will copy all data from current db to other_db (sqlite or not) The -A argument can be any URI string for example 'mysql://username:password@localhost/ dbname'

