Can data restoration specify a database name? According to the documentation, data can only be restored to a database with the same name

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 还原数据能指定库名吗?看文档只能将数据恢复到同名的数据库

| username: 你说嗨我说拜

The image you provided is not visible. Please provide the text you need translated.

| username: forever | Original post link

Physical backup recovery can only restore to the original database name. After recovery, you can use “rename table a.a to b.a” to move the table to the desired database.

| username: cs58_dba | Original post link

Logical restoration provides room for operation, physical backup does not.

| username: Kongdom | Original post link

Yes, it can only be restored to an empty database with the same name.

| username: HACK | Original post link

Logical backups can be used.

| username: hey-hoho | Original post link

Yes, it can only be restored to a database with the same name. I’ve seen many people fall into this trap before, so I specifically added a “Note” section in the documentation. :rofl:

| username: BraveChen | Original post link

Learned.

| username: system | Original post link

This topic will be automatically closed 60 days after the last reply. No new replies are allowed.