• Resolved dygresywa

    (@dygresywa)


    I use the UpdraftPlus Backup / Restore plugin to back up my WP. I have a cron task set up for this purpose. The files, in addition to being saved on the server, should also be sent to my Google Drive. However, this has not been the case for some time. Backup files are only sent to GD when I make a copy manually by clicking the ‘Back up’ button, and when the job is being performed by cron – no. I reauthorized the plug on GD several times, but it didn’t help. Below is the content of the log from creating such a copy set in cron, where its files were not sent to GD.

    https://pastebin.com/raw/CuG3rcMF

    I created a cron job according to this guide:

    https://updraftplus.com/faqs/can-i-run-backups-from-the-shell/

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Do you have security and caching plugins installed? If yes, please temporarily deactivate and then re-authenticate Google Drive storage. See if it works if those type of plugins are disabled.

    Thanks,
    Bryle

    Thread Starter dygresywa

    (@dygresywa)

    Hi,

    Thank you for your response.
    I don’t have the plugins you mentioned.
    I have successfully resolved the problem.
    Until now, your plugin worked in such a way that the ‘Manual’ option had to be set in the settings, in the schedule of file copies and database copies. The rest was done by setting the task in Cron (system). This way, the backup was made at a specific time and the backup files were automatically sent to Google Drive.
    Currently, in the settings, in the schedule of file copies and database copies, I have to set an option, e.g. ‘Every day’. Then, using the WP Control plugin, set the time of execution of WP Cron events ‘UpdraftPlus-> backup_files ()’ and ‘UpdraftPlus-> backup_database ()’. Finally, in the system cron I have to set the task ” wget -q –spider https://www.dygresywa.pl ” at the same time that WP Cron is set to execute the previously mentioned events. And that’s because my site doesn’t have enough visitors, so WP Cron events would be late. Only in this way is the copy made at a strictly specified time and the backup files are sent to Google Drive.

    Either way, it’s an unnecessary complication. Why are currently backup files made using the cron system job not uploaded to Google Drive, but only saved to localhost?

    • This reply was modified 2 years, 11 months ago by dygresywa.
    • This reply was modified 2 years, 11 months ago by dygresywa.
    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Base on the last log, it shows that you the remote storage has not been properly setup. This is what the log shows “0007.732 (0) Cloud backup selection (1/1): none with instance (1/1) (last)”.

    If you can send me a copy of the latest log then I can check if it is the same issue or something else.

    Thanks,
    Bryle

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot upload backup to Google Drive’ is closed to new replies.