I would recommend that you just download the nr database with update_blastdb.pl and then pipe blastdbcmd output where you filter all bacterial GIs from nr to blastdb_aliastool. All these tools ship with blast. The taxonomy ID for Bacteria is "2". See here.