planetscale/cli

pscale database dump [database] [branch] just download table schemas

Closed this issue · 2 comments

I have used pscale database dump [database] [branch] but it only downloaded the schema of each table. Where is the data or how can I fix it?

After run pscale database dump <database> <branch> everything seems to be okay.
image

However, looking into the folder created, it just contains the table schemas, but data was not downloaded
image

Hi @ireneeromero,

Could you double check that those tables on your main branch have records in them? Usually this only happens if the table is empty.

If they do, could you share the schema of the tables? I'm curious if we're hitting some error here.

I tried to make the copy from the initial-setup branch and it downloaded everything, both tables and data.

So it was my confusion. Thank you.