Fail to restore database ERPNext 10.1.x to 12.13

Check if this helps?

Edit: use bench new-site to restore db into site that doesn’t exist yet