-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cli export doesn't support metric tables #5136
Comments
Do you see those tables after |
no, only output three SQL files, and only one line in the |
I don't see where the problem is. You should see those tables after executing the generated SQL files. Do you want to get the detailed table structures in SQL instead of copying databases? |
I was trying to backup the database. But no other files were saved but three SQL file
no were saved.
we deploy the greptime cluster with 4 frontend, 4 datanode, 2 flownode and 2 meta. |
the |
Hi @0neSe7en, in distributed mode, the data file will be stored on the node that executes the |
I see. even I run the |
It's the frontend node. For now, you may need to connect one of the frontend nodes (to obtain all exported data) and execute the CLI cmd on that node. We will improve the user experience ASAP. |
yeah thanks. I wrote a script to |
What type of bug is this?
Incorrect result
What subsystems are affected?
Other
Minimal reproduce step
greptime cli export ...
to export the database.What did you expect to see?
the exported data and sqls for creating database and tables.
What did you see instead?
create_database.sql
andcreate_tables.sql
are as expected.the
copy_from.sql
has one line:but no other files.
And it seems like it had retrieved the data as it takes minutes to finish the job.
What operating system did you use?
macos and ubuntu
What version of GreptimeDB did you use?
0.10.2 and 0.11
Relevant log output and stack trace
The text was updated successfully, but these errors were encountered: