I am in process of dumping a huge database, and pg_dump is taking a lot of time. I have to transfer my database to a new server. i have searched a lot online, but everyone suggests the same method of dumping the database, then transferring the file and restoring it on the new server. Is there another way to do this fast?
I have to transfer data which is in v 8.4.20 to v 9.3.5. can i just transfer the folder /var/lib/pgsql/data/base??
I also looked at this: Copying PostgreSQL database to another server
Is this way faster than the usual way?
My db has 756,000 tables and is 200 GB in size.