I\'ve been doing development using SQLITE database with production in POSTGRESQL. I just updated my local database with a huge amount of data and need to transfer a specifi
The sequel gem (a Ruby library) offers data copying across different databases: http://sequel.jeremyevans.net/rdoc/files/doc/bin_sequel_rdoc.html#label-Copy+Databases
First install Ruby, then install the gem by running gem install sequel
.
In case of sqlite, it would be like this:
sequel -C sqlite://db/production.sqlite3 postgres://user@localhost/db