'Unable to import snapshot meta file in YugabyteDB, table not found

[Question posted by a user on YugabyteDB Community Slack]

I’m getting the following error while importing the snapshot:

Error running import_snapshot: Invalid argument (yb/master/catalog_manager_ent.cc:1315): Unable to import snapshot meta file FOOBAR.snapshot: YSQL table not found: notes: OBJECT_NOT_FOUND (master error 3)

I am following this document - https://docs.yugabyte.com/preview/manage/backup-restore/snapshot-ysql/#restore-a-snapshot



Solution 1:[1]

After carefully reading the error, I realized it's failing for the table notes.

Schema import was failing because tservers were not distributed properly across the available AZs, once that got fixed.. it worked.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 dh YB