SnapCenter backup with Mysql plugin fails with error "error=7, Argument list too long"
Applies to
- NetApp SnapCenter 4.6
- Mysql custom plugin 2.0
- SnapCenter Backup including pre-scripts and/or post-scripts
- Mysql running in Linux system
Issue
Backup of mysql database fails with the error:
Command [/var/opt/snapcenter/spl/script/myscript.sh] failed with return code [-1] and stderr [] and stdout [Failed to execute command: /var/opt/snapcenter/spl/script/myscript.sh
Reason:
Cannot run program "/bin/sh" (in directory "/opt/NetApp/snapcenter/scc"): error=7, Argument list too long]