I used this script for years on my VPS. And it\'s still working.
DBLIST=`mysql -uroot -pROOT_PASSWORD -ANe\"SELECT GROUP_CONCAT(schema_name) FROM information
Check if the folder exist in your location, /home/backup/db/
if no, create every subfolder.
Command: mkdir /home/backup/db/
then run your command again.