mysqldumper
mysqldumper copied to clipboard
RuntimeException - Too many arguments
When I run the code, I get the following error from the cron:
Symfony\Component\Console\Exception\RuntimeException] Too many arguments.
What is the command you are trying to run?
/usr/bin/php mysqldumper.phar --keep-local >/dev/null 2>&1
I am using the master version. Also, tried version 1.0.6. Tried dropbox and ftp settings.
What happens if you try without the /dev/null ?
Same issue with just /usr/bin/php mysqldumper.phar.
When I run just /usr/bin/php mysqldumper.phar, I now get this error:
No mysqldumper.json found
mysqldumper [--dir DIR] [--keep-local] [--skip-remote] [--ignore-table IGNORE-TABLE] [--self-update]```
Even though `mysqldumper.json` is in the same directory as `mysqldumper.phar`.
Vey weird. We are running this no problem on some production servers.
Can't look into it at the moment, as I'm away for the festive period and don't have access to my dev machine.
Will take a look when I'm home in a few days.
Let me know if you figure anything out in the mean time
Thanks
@shefik Did you get anywhere with this?
Not yet.