The chemical reactions and pathways resulting in the formation of cellulose, a linear beta1-4 glucan of molecular mass 50-400 kDa with the pyranose units in the -4C1 conformation, as it occurs in certain types of bacteria, mainly Acetobacter, Sarcina ventriculi and Agrobacteria.