generate copy of sqlite database file in data directory