Create parent folder for database back up destination file
If the path to the file where the database dump is going to be saved does not exist, folders should be created so that pg_dump
doesn't fail.
If the path to the file where the database dump is going to be saved does not exist, folders should be created so that pg_dump
doesn't fail.