Looks good, except that when we can't find a matching tablespace by id, we should recreate an existing tablespace with the same name, if any. So we don't apply incremental changes to a completely different table that was DROPed + CREATEed between full and incremental backups.
Looks good, except that when we can't find a matching tablespace by id, we should recreate an existing tablespace with the same name, if any. So we don't apply incremental changes to a completely different table that was DROPed + CREATEed between full and incremental backups.
Storing ids in .meta files is okay.