Currently the bus from Dubrovnik to Sarajevo departs at 13,40 and 15,00 from the main bus terminal. Trip duration is ca. 6-7 hours, depending on traffic conditions. It is safe to visit Sarajevo and Bosnia and Hercegovina in general.