I took backup of all databases at once by using
--all-databases option of mysqldump

I don2t know how to restore all databases because by now, I used to get backup of only one database at once.

Thank you