• Resolved webdash

    (@webdash)


    Hi, hoping someone can help point me in he right direction to resolve this.

    As per the title, when backups are created through the schedule, http backups are made (site is fully https)..
    If I run the backup manually from the dashboard a https backup is made.

    Just storing backups locally if that makes any difference.

    If I try to restore one of the (http) scheduled backups, I get a warning that the site may break as it is http not https.

    thanks
    dave

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

    (@bcrodua)

    Hi Dave,

    You need to make sure that both sites have the same exact URL. A single character difference will already require yout o use the Migrator add-on.

    Thanks,
    Bryle

    Thread Starter webdash

    (@webdash)

    Thanks for the reply Bryle – it’s a single site.. not a migration.

    The only diference is that scheduled backups (for some reason) create a http backup, whereas if I run the backup manually (from the same site/installation) it creates a https version (which is what I want.)

    kind regards,
    dave.

    Plugin Author David Anderson

    (@davidanderson)

    Hi Dave,

    Please can you clarify what you mean by a backup “using” http or https? There is no such concept. I am guessing you are reading from the log file? This is just the URL reported by your WP install when the backup is run; but it actually makes zero difference to the contents of the backup.

    David

    Thread Starter webdash

    (@webdash)

    Hi David, thanks for the reply.

    Yes, in the log and the notification email I receive to confirm the backup status always reports the site as http if the backup was created by the scheduled run.

    If I create a backup by clicking ‘backup now’ in the updraftplus backup/restore dashboard the notification/log reports https.

    If i try to restore the database from a ‘http’ backup, updraft gives warnings about the database not using the correct protocol.

    Warnings:

    This backup set is of this site, but at the time of the backup you were using http, whereas the site now uses https. As long as your web hosting allows http (i.e. non-SSL access) or will forward requests to https (which is almost always the case), this is no problem. If that is not yet set up, then you should set it up, or use the migrator add-on so that the non-https links are automatically replaced.
    You can search and replace your database (for migrating a website to a new location/URL) with the Migrator add-on – follow this link for more information`

    The site is all https, I’ve tried uninstalling the plugin and reinstalling, but made no difference.
    I know in an emergency I could probably still use the ‘http’ backup, but if possible i would like to avoid this, and identify what is casuing this issue.

    Please let me know if you need any further information.

    Kind Regards
    Dave

    Plugin Support vupdraft

    (@vupdraft)

    In Settings>General Settings is the URL of your site written as http or https?

    The backup does not come “from” one website protocol or another. The log line is cosmetic, and records the output of WordPress’s?home_url()?function (https://codex.www.ads-software.com/Function_Reference/home_url). It has no effect on the mechanism or contents of the backup itself.

    Thread Starter webdash

    (@webdash)

    Hi. Thanks for the response.. both the site address and the wordpress address are https.

    I have no other issues with https on the site, everthing appears to be working as it should except scheduled Updraft backups

    It’s very odd! as i mentioned above if I manully trigger a backup the email notification and database backup are both https, the scheduled backup creates http..

    Kind Regards, Dave

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Scheduled backups use http, manual backup uses https’ is closed to new replies.