wp-media / backwpup

BackWPup - WordPress Backup Plugin
https://backwpup.com
GNU General Public License v2.0
88 stars 37 forks source link

[Bug]: no destination defined by running with wp cli #126

Open steffenster opened 1 year ago

steffenster commented 1 year ago

Description of the bug

This is my log entry if i try to run a backwpup job with wp cli. Dropbox is defined as destination.

[29-Dec-2022 09:33:10] ERROR: No destination correctly defined for backup! Please correct job settings. [29-Dec-2022 09:33:10] ERROR: Job has ended with errors in 0 seconds. You must resolve the errors for correct execution.

Reproduction instructions

  1. define a backwpup job with Dropbox as destination
  2. run this job by clicking "run job" in WordPress backend, everything as aspected
  3. run this job thru WP CLI on command line, get errors in terminal and log file

Expected behavior

the execution aborts with errors

Environment info

WP Core 6.1.1 BackWpUp 4.0.0 WP-CLI 2.6.0 PHP 7.4.18

Relevant log output

ERROR: No destination correctly defined for backup! Please correct job settings.
ERROR: Job has ended with errors in 0 seconds. You must resolve the errors for correct execution.

Additional context

No response

Code of Conduct