Se non è tantissima roba, in phpmyadmin c'è la funzione "esporta" che ti crea un file sql con struttura ed eventualmente i contenuti.