GO:0002780: antibacterial peptide biosynthetic process
The chemical reactions and pathways resulting in the formation of an antibacterial peptide.