This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push: new f91d78b [doc] fix backup doc (#8529) f91d78b is described below commit f91d78bf8dfe63af332ec66bb62e578942b8f6bc Author: jiafeng.zhang <zhang...@gmail.com> AuthorDate: Sat Mar 19 15:45:45 2022 +0800 [doc] fix backup doc (#8529) --- docs/en/administrator-guide/backup-restore.md | 8 ++++++++ docs/zh-CN/administrator-guide/backup-restore.md | 9 ++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/en/administrator-guide/backup-restore.md b/docs/en/administrator-guide/backup-restore.md index b7ae9ca..4e9ce83 100644 --- a/docs/en/administrator-guide/backup-restore.md +++ b/docs/en/administrator-guide/backup-restore.md @@ -45,6 +45,14 @@ The backup operation is to upload the data of the specified table or partition d 2. Metadata preparation and upload After the data file snapshot is uploaded, Frontend first writes the corresponding metadata to the local file, and then uploads the local metadata file to the remote warehouse through broker. Finish the final backup job. + +3. Dynamic partition table description + + If the table is a dynamic partition table, the dynamic partition attribute will be automatically disabled after backup. When restoring, you need to manually enable the dynamic partition attribute of the table. The command is as follows: + + ```sql + ALTER TABLE tbl1 SET ("dynamic_partition.enable"="true") + ```` ### Restore diff --git a/docs/zh-CN/administrator-guide/backup-restore.md b/docs/zh-CN/administrator-guide/backup-restore.md index 3d1d631..15f3ff8 100644 --- a/docs/zh-CN/administrator-guide/backup-restore.md +++ b/docs/zh-CN/administrator-guide/backup-restore.md @@ -44,7 +44,14 @@ Doris 支持将当前数据以文件的形式,通过 broker 备份到远端存 2. 元数据准备及上传 - 数据文件快照上传完成后,Frontend 会首先将对应元数据写成本地文件,然后通过 broker 将本地元数据文件上传到远端仓库。完成最终备份作业。 + 数据文件快照上传完成后,Frontend 会首先将对应元数据写成本地文件,然后通过 broker 将本地元数据文件上传到远端仓库。完成最终备份作业 + +2. 动态分区表说明 + + 如果该表是动态分区表,备份之后会自动禁用动态分区属性,在做恢复的时候需要手动将该表的动态分区属性启用,命令如下: + ```sql + ALTER TABLE tbl1 SET ("dynamic_partition.enable"="true") + ``` ### 恢复(Restore) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org