Skip to content

args are picked up by Drone SSH instead of mysqldumpΒ #12

Open
@manuelmeurer

Description

I'm trying to pass args to mysqldump (--no-tablespaces to avoid err: mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces) but Drone SSH tries to use them instead.

My action:

- uses: valerianpereira/backup-action@master
  with:
    [...]
    args: --no-tablespaces

Output:

πŸ”‘ Loading the ssh key...
Done!! 🍻
πŸ—ƒοΈ Backup type: db
DB type: mysql
πŸƒβ€β™‚οΈ Running commands over ssh...
Incorrect Usage. flag provided but not defined: -no-tablespaces


________                                         _________ _________ ___ ___
\______ \_______  ____   ____   ____            /   _____//   _____//   |   \
 |    |  \_  __ \/  _ \ /    \_/ __ \   ______  \_____  \ \_____  \/    ~    \
 |    |   \  | \(  <_> )   |  \  ___/  /_____/  /        \/        \    Y    /
/_______  /__|   \____/|___|  /\___  >         /_______  /_______  /\___|_  /
        \/                  \/     \/                  \/        \/       \/
[...]

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions