Ideas for a wizard's backup spell book.

I'm new to DND and starting with a 4th level character in Descent into Avernus soon. Not too versed on how making a backup spell book works. Sure would hate to get caught with my pants down and without spells 😂