Data Migration to another host.
Hey guys I need to migrate my database from testing server to the main one.
Can someone actually help me on this?
31 Replies
Do you want to migrate the whole data ? why not using pg_dump / psql to dump and restore?
Hi @Nathan
What I do (and I use the same logic to backup my prod server):
On old server :
On new server :
yes charles I want to move the whole thing.
I'll try it out later today.
For the record, my backup script :
(And yes after I have other scripts that move the files on other locations)
Hey guys so first I was trying to upgrade my twenty to 0.22 abd now I'm getting this error.
followed the upgrade guide https://twenty.com/developers/section/self-hosting/upgrade-guide but same thing
any help @charles @greg [iero]
HI @Nathan, sure we can help! you are migrating from 0.21 right?
could you tell us more about these errors? what do you see in your server logs when hitting these + what do you see in your network tab (browser dev tools)
@charles yes, I was trying to migrate from 0.21 but downgraded to 0.20 right now it's running from 0.20. Here are the server logs and network logs.
Let me know what else you need @charles
@charles Need your help here!
Any help guys!!
My twenty is completly dead
I tried to downgrade
but nothing works
Hi, will look into this on Monday! And @charles will be back from PTOs as well
Hi @thomast any help today
cc @charles I think you had more context on this one
Thanks @thomast only @charles can save me now
I'm back!
It seems that your database is not successfully migrated. Would you have a time window tomorrow so we can look together. Looks tricky to solve on the chat
Sure thing Charles
Let me know
@charles Let do this at 5:30 pm EST!
whould that work for you?
it's a bit too late (11:30pm in Paris), could you do earlier in your day?
Hi @charles Sure thing let's do this tomorrow. Let me know when you are available.
tomorrow at 6:30pm Paris Time? would that work for you?
yeah @charles that sounds great!
great!
@Nathan ping me when available
@charles sorry about yesterday
are you free today
?
Hi @Nathan, no worries!
Would you be available today?
or tomorrow? :p
I see you typing haha
oh yes
This week I'm away
we can do it this weekend though
next Monday?
Well we can try it
what time?
morning at 11:30 am Paris time?
My timezone is IST
😂
11:30 am Paris time is perfect!
I've booked a slot in my agenda
see you on Monday
See you Charles
We haven't synced yet :p any other availability 😉
let me know @Nathan 🙂
closing the issue, feel free to re-open it 🙂