Re: One Button DB backup
| From: | David Harkness | Date: | Sat, 05 Nov 2016 23:23:28 +0000 |
| Subject: | Re: One Button DB backup | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-325819@lists.php.net to get a copy of this message | ||
On Sat, Nov 5, 2016 at 1:15 PM, Adam Jon Richardson <adamjonr@gmail.com>
wrote:
> 1) This approach shouldn't be used on a shared server, as the command-line
> logs could be viewed by others to gain the DB credentials.
You can store the credentials in ~/.my.cnf for the user that will be
executing the script (Apache?) so you can keep them off the command line.
Cheers!
David