I made a backup script to backup a domain, a sub-domain, and a MySQL DB. The domain is standard HTML/Flash, the subdomain is a Magento Store, and the DB is the Magento DB. Here is what the script looks like:
A couple of problems:
1. The username and passwords for the MySQL Dump are stored in plain text. How can I make this more secure? Can other DreamHost users navigate into my home directories and read this?
2. When I run the script I get the following messages:
Why is that? Should I be worried?
Any/All idea's on how to make this script better &/or more secure would be greatly appreciated.