There currently is one option to travel by night train from Dresden (Germany) to Bratislava (Slovakia), taking between approximately 8 and 9 hours: Namely the EN 40457 operated by MÁV-Start.
MÁV-Start, Hungary's national passenger railway, operates domestic and cross-border trains throughout the region.