N
Neon9mo ago
fair-rose

Issues with Data Migration

Hi, I'm having issues with migrating my neon database. I have a Nextjs app thats hosted on Vercel and Ive been following this documentation https://neon.tech/docs/import/migrate-from-neon. Ive been running the command pg_dump -Fc -v -d <old_neon_database_connection_string> | pg_restore -v -d <new_neon_database_connection_string> however the last couple of lines return this. My datbase names are the same, however when refreshing my table in my new database I dont see the data reflected
pg_restore: warning: invalid creation date in header
pg_restore: connecting to database for restore
pg_restore: implied data-only restore
pg_restore: warning: invalid creation date in header
pg_restore: connecting to database for restore
pg_restore: implied data-only restore
2 Replies
correct-apricot
correct-apricot9mo ago
Hey! Are you still running into this issue?
fair-rose
fair-roseOP9mo ago
Hi Mahmoud I believe I was able to resolve this issue I just had to seperate the commands and store it in a dump file thank you!

Did you find this page helpful?