Hi,
The first option is not possible, the second one is possible. But why not do the following:
A) Create empty database on 9.4
B) Run script with sql made with dbschema of complete database
- Only create tables part
C) Define connectivity between two servers
D) Put both servers in unlogged mode
E) remote select and insert
F) Create indexes, views, constraints etc on new db.
This may take some extra preparation, but the migration time is less.
Greetz,
Rob Prop