Backup the content of a blog
My problem is simple, but I want to be 100% sure of the answer. So, I have a blog, hosted at X . Because of the high prices of X I found host Y which is cheaper, and I want to move my blog to Y, but without losing it's content. I use Wordpress as platform.
The method that I think it's risk free of losing the content is that XML file obtained from Tools > Export and at the new host, after installed wordpress, I import the file from my computer. But also, I want to have another backup, and I thought that a backup for the database is necessary.
How do I import the content from the old host to the new host using the .sql file I obtain from the backup of the database? And is the method of backup with the XML risk free?