caoliang-web commented on code in PR #1906: URL: https://github.com/apache/doris-website/pull/1906#discussion_r1926427403
########## docs/sql-manual/sql-statements/data-modification/backup-and-restore/BACKUP.md: ########## @@ -28,30 +28,64 @@ under the License. ## Description -This statement is used to back up the data under the specified database. This command is an asynchronous operation. After the submission is successful, you need to check the progress through the SHOW BACKUP command. Only backing up tables of type OLAP is supported. +This statement is used to back up the data under the specified database. This command is an asynchronous operation. After the submission is successful, you need to check the progress through the [SHOW BACKUP](./SHOW-BACKUP.md) command. - Only root or superuser users can create repositories. - -grammar: +## Syntax ```sql -BACKUP SNAPSHOT [db_name].{snapshot_name} -TO `repository_name` -[ON|EXCLUDE] ( - `table_name` [PARTITION (`p1`, ...)], - ... -) -PROPERTIES ("key"="value", ...); +BACKUP SNAPSHOT <db_name>.{<snapshot_name>} +TO `<repository_name>` +[ON|EXCLUDE] Review Comment: [ON|EXCLUDE] 这个是可选的,是不是方括号就可以呢 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org