Use an open source TOTP manager and sync your codes using something like Standard Notes, not your regular password manager. This gives nice redundancy and two layers of security while staying synced.
Old phone stays in a safe, and only pull it out to add new TOTP codes.