Formatting the wrong disk is the mistake I fear most. I first list only the drives I just plugged in.
diskutil list external physical
diskutil info disk4 | grep -E 'Device Node|Media Name|Disk Size'
The filter words external and physical hide the internal drive and disk images, so only USB or Thunderbolt disks remain. diskutil info then confirms the model name and size of one identifier.
Identifiers like disk4 can change after you reconnect a drive, so read them again right before a command such as diskutil eraseDisk, which has no undo. A quick look at the size and name in diskutil info is usually enough to tell a backup drive from a stick.
Further reading: diskutil manual page