Please see the WordPress guide on how to backup your database.