sixhop / AutoMySQLBackup

A fork and further development of AutoMySQLBackup from sourceforge. http://sourceforge.net/projects/automysqlbackup/
GNU General Public License v2.0
340 stars 103 forks source link

Improve text in the help #33

Closed Peterr-K closed 4 years ago

Peterr-K commented 4 years ago

Hi

as a new user I have no idea what means this: "-b Use backup method."

thx

BigAndini commented 4 years ago
  1. You can hand over a separate config file and it looks like the -b switch is needed to run the backup method then. Looks like this enables to create full backups from diffs without backing up the databases in a run. That's part of the script I've taken over from sourceforge.

  2. the system user that runs the script and the user that accesses the database are two different things. The file permissions always need to be in a way that the user who runs the script can write into the directory the backup should go to. Regardless with which database user the backup is created.

Peterr-K commented 4 years ago

1.so can you create Pull request and add this explanation in command line -h and readme file?

  1. the backup script is started by sudo crontab, that is not an issue, but I do not want enter mysql's root password in the config file, that is what I asked for what permissions the mysql user need to create the backup (which I expect will be mostly read only).