When I run the command using a number – 2 which is the full backup profile no – instead of the profile name it does run. So this problem has been solved.
As a side note. I then I get this error: zip warning permission denied . I also see:
error - Error #3382: Backup FAILED. Unable to successfully generate ZIP archive.
error - Error #3382 help: http://ithemes.com/codex/page/BackupBuddy:_Error_Codes#3382
haltScript -
error - Failed function `backup_zip_files`. Backup terminated.
errorFunction - backup_zip_files
details - Peak memory usage: 42.82 MB
haltScript -
error - Sending email error notification with subject `BackupBuddy Error - http://www.site.org` to recipient(s): `[email protected]`.
details - Completed step function `backup_create_database_dump`.
Seems like hoster Dreamhost stops he script whether I use the plugin from the backend or the WP CLI.
But this new error is not related to the question asked. That one is solved. Just use a profile number instead of the profile name