doris数据备份的时候如何备份全库

Viewed 92

BACKUP SNAPSHOT demo.example_tbl6
TO aliyun_repo
ON (test)
PROPERTIES ("type" = "full","timeout" = "600");
执行上述命令的时候备份demo数据库下的test表,请问备份demo数据库下的所有表命令是什么呢?

1 Answers

Doris是支持整库备份的:

备份test db 下的所有表

BACKUP SNAPSHOT test.snapshot_label1 TO test_backup_restore_2 PROPERTIES ("type" = "full");