mysqldumper icon indicating copy to clipboard operation
mysqldumper copied to clipboard

RuntimeException - Too many arguments

Open shefik opened this issue 8 years ago • 9 comments

When I run the code, I get the following error from the cron:

Symfony\Component\Console\Exception\RuntimeException] Too many arguments.

shefik avatar Dec 24 '16 08:12 shefik

What is the command you are trying to run?

JayBizzle avatar Dec 24 '16 08:12 JayBizzle

/usr/bin/php mysqldumper.phar --keep-local >/dev/null 2>&1

shefik avatar Dec 24 '16 08:12 shefik

I am using the master version. Also, tried version 1.0.6. Tried dropbox and ftp settings.

shefik avatar Dec 24 '16 08:12 shefik

What happens if you try without the /dev/null ?

JayBizzle avatar Dec 24 '16 08:12 JayBizzle

Same issue with just /usr/bin/php mysqldumper.phar.

shefik avatar Dec 24 '16 08:12 shefik

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`.

shefik avatar Dec 24 '16 08:12 shefik

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

JayBizzle avatar Dec 24 '16 09:12 JayBizzle

@shefik Did you get anywhere with this?

JayBizzle avatar Jan 09 '17 11:01 JayBizzle

Not yet.

shefik avatar Jan 09 '17 22:01 shefik