0

Can I use taosdump to back up the data, create a new database, and import the data into the new database?

The expected parameters can be adjusted. If not, is there a suitable solution?

Version 3.0.1.8

  1. if you use taosdump to back up one copy and then restore it to the same library and table, will it also lead to multiple versions of data? Will it cause query performance problems?

  2. If I make a backup like this

    taosdump -h tdengine-server -uroot -ptaosdata -o F:\taos_backup dbA properties_a
    

Import into a new database. Can you specify the new database name and table name?

taosdump -h tdengine-server -uroot -ptaosdata -i F:\taos_backup dbB properties_b

Is this correct?

Anton Menshov
  • 2,266
  • 14
  • 34
  • 55
zeje
  • 1
  • 1

1 Answers1

0

yes ,for TDengine database, you can use taosdump to restore a new same database in a new server.

before you run "taosdump -i xxxx" , you could modify the dbs.sql to change the buffer value (or other configuration you want to change).

but you could not change the database name or table name .

Yu Chen
  • 70
  • 1
  • 5