Closed dengjoy2000 closed 1 month ago
Just searched all backup issues raised by the community, just for reference if anyone is interested: https://starrocks.snowshoe.dev/search?q=backup+
We have marked this issue as stale because it has been inactive for 6 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to StarRocks!
If a view is created in the database, an error occurs during the full-database backup: ERROR 1064 (HY000): Unexpected exception: Table 'view_name' is not a OLAP table, so it cannot be backed up. Since the view does not contain actual data, it is recommended to back up the 'SHOW CREATE TABLE' statement of the view, or simply ignore the backup of the view, so as not to affect the backup of other data tables in the database.
Now, backing up a database that contains views, it is necessary to specify the specific table names using ON in the backup. This is inconvenient when there are many tables, and it is also troublesome to restore them one by one.