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

    (@bcrodua)

    Hi Franco,

    May I know what is the exact error message you are getting please?
    Please could you send us a copy of the latest full backup log?

    Regards,
    Bryle

    Thread Starter francourbano

    (@francourbano)

    Hi Bryle,

    Thank you very much for your answer.

    Actually, I don’t see an error message, only that when I run the full backup from cronjob, it is not stored in the cloud (google drive).

    But if I run it manually it works.

    Here I attach the log file.

    https://drive.google.com/file/d/17_3VHpyj0m-waEQ3nEpd74qx0hNr2yf_/view?usp=sharing

    Thank you very much for your help.

    Franco.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi Franco,

    The log shows “0067.205 (0) Cloud backup selection (1/1): none with instance (1/1) (last)”. Google Drive remote storage seems to have not been set? Please check this video tutorial.

    Thanks,
    Bryle

    Thread Starter francourbano

    (@francourbano)

    Google drive is well established.

    In fact when I do a manual backup it is stored in drive.

    But when I backup through cronjob, it doesn’t work.

    Will there be any more parameters to be passed in order for it to be stored in the cloud?

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Apologies, please disregard my previous reply.

    I am asking one of our colleague about this.

    Thanks,
    Bryle

    • This reply was modified 3 years, 2 months ago by bcrodua.
    Thread Starter francourbano

    (@francourbano)

    Thank you!

    I wait for a new answer ??

    Franco.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi Franco,

    Apologies for the delay. The colleague I’ve asked to check has been away.

    I’ve asked another colleague to check.

    Thanks,
    Bryle

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi Franco,

    Our developer is asking if you can send to us the code that you are using to boot the backup via cron?

    Thanks,
    Bryle

    Thread Starter francourbano

    (@francourbano)

    Hello,

    Thanks for your answer.

    This is the code:

    <?php
    define('UPDRAFTPLUS_CONSOLELOG', true);
    require_once('wp-load.php');
    do_action('updraft_backupnow_backup_all');
    ?>

    And this is the cron:

    00 01 * * 6 /usr/bin/php /directory/filename.php >/dev/null 2>&1

    Thanks!

    Franco.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Can you add this instead please?

    define(‘UPDRAFTPLUS_CONSOLELOG’, true);
    define(‘DOING_CRON’, true);
    require_once(‘wp-load.php’);
    do_action(‘updraft_backupnow_backup_all’);

    Here’s our guide – https://updraftplus.com/faqs/can-i-run-backups-from-the-shell/

    Thanks,
    Bryle

    Thread Starter francourbano

    (@francourbano)

    Hi Bryle, how are you?

    I just tried this new code and I get the same result.

    The backup is successful but it is not stored in GoogleDrive as when I do it manually.

    Any other idea?

    Thanks for your help,

    Franco.

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi Franco,

    Apologies for the late reply.

    I will ask one of my colleagues to check.

    Thanks,
    Bryle

    Thread Starter francourbano

    (@francourbano)

    Hi Bryle, how are you?

    Do you have any answer about this problem?

    Thanks,
    Franco.

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Apologies for the ongoing inconvenience.

    Please could you send us a backup log from a manual backup where the upload to Google Drive did succeed, so we can compare?

    The backup triggered by the script should use the exact same paramters as a manual backup. Only the trigger mechanism is different.

    Best Wishes,
    Dee

    Thread Starter francourbano

    (@francourbano)

    Hi Dee, how are you?

    Here I share the “manual backup log” and the “cronjob backup log”.

    Manual:

    https://drive.google.com/file/d/1f0B5GEPngiXr8slTJmLkRqiEsuPSmD6c/view?usp=sharing

    Cronjob:

    https://drive.google.com/file/d/11vaHxUujl3cKjq1vVCGCy9OYguziSXGJ/view?usp=sharing

    The manual was stored in Drive, the other was not.

    Thanks for your help,

    Franco.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Cloud backup function’ is closed to new replies.