1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["2240"],{66740(e,n,t){t.r(n),t.d(n,{metadata:()=>s,default:()=>d,frontMatter:()=>r,contentTitle:()=>a,toc:()=>l,assets:()=>u});var s=JSON.parse('{"id":"updraftplus/backing-up/explanations/not-enough-visitors-warning-explained","title":"Why you\u2019re seeing a \u201Cnot enough visitors\u201D warning","description":"Learn why you\u2019re seeing a \u201Cnot enough visitors\u201D warning, what triggers it, and whether it affects your data.","source":"@site/markdown/docs/updraftplus/backing-up/explanations/not-enough-visitors-warning-explained.md","sourceDirName":"updraftplus/backing-up/explanations","slug":"/updraftplus/backing-up/explanations/not-enough-visitors-warning-explained","permalink":"/docs/updraftplus/backing-up/explanations/not-enough-visitors-warning-explained","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Why you\u2019re seeing a \u201Cnot enough visitors\u201D warning","description":"Learn why you\u2019re seeing a \u201Cnot enough visitors\u201D warning, what triggers it, and whether it affects your data."},"sidebar":"updraftPlus","previous":{"title":"What\u2019s the largest site UpdraftPlus can back up?","permalink":"/docs/updraftplus/backing-up/explanations/largest-site-updraftplus-can-back-up"},"next":{"title":"\u201COperation timed out\u201D backup error explained","permalink":"/docs/updraftplus/backing-up/explanations/operation-timed-out-error-explained"}}'),i=t(74848),o=t(28453);let r={title:"Why you\u2019re seeing a \u201Cnot enough visitors\u201D warning",description:"Learn why you\u2019re seeing a \u201Cnot enough visitors\u201D warning, what triggers it, and whether it affects your data."},a="Why you\u2019re seeing a \u201Cnot enough visitors\u201D warning",u={},l=[];function h(e){let n={a:"a",h1:"h1",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"why-youre-seeing-a-not-enough-visitors-warning",children:"Why you\u2019re seeing a \u201Cnot enough visitors\u201D warning"})}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Short-cut"}),":\xa0If you are developing a new website and see this warning, then simply keep the UpdraftPlus settings page open whilst you back up. You don\u2019t need to read any of the rest!"]}),"\n",(0,i.jsx)(n.p,{children:"UpdraftPlus is a WordPress plugin; as such, it relies on WordPress running and handing it the opportunity to do something; in particular, it relies upon WordPress\u2019s scheduled task engine running properly."}),"\n",(0,i.jsx)(n.p,{children:"Thus if WordPress\u2019s scheduled task engine (\u201CWP Cron\u201D) does not run, then neither can UpdraftPlus. So, if your website has zero visitors between midnight and 5am, and if your backup is scheduled to run just after midnight, then it won\u2019t actually get to run until a visitor turns up at 5 am."}),"\n",(0,i.jsx)(n.p,{children:"There is usually no danger of this becoming a problem, because even very unpopular websites tend to get visited by several search engines as long as those search engines are aware of them."}),"\n",(0,i.jsx)(n.p,{children:"However, if enough of the following factors are present, then your backup may not be able to complete:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Your website is not known by search engines"}),"\n",(0,i.jsx)(n.li,{children:"Your website has almost no other visitors (e.g. is under development, and only the developer visits it, during office hours)"}),"\n",(0,i.jsx)(n.li,{children:"Your webserver only allows code to run for a short time"}),"\n",(0,i.jsx)(n.li,{children:"Your website is larger, and is being uploaded to a cloud backup service"}),"\n",(0,i.jsx)(n.li,{children:"You schedule backups to run very frequently (e.g. every 4 hours) so that multiple backup jobs may be competing for resources"}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Another way that this can happen is if your WordPress scheduler has been disabled (you\u2019d usually know if this is so and understand the rest of this paragraph), and you\u2019re instead running the scheduler via an automated task you\u2019ve set up to call wp-cron.php directly. If you only call wp-cron.php once an hour, then this is like just having one visitor per hour as far as WordPress\u2019s scheduler is concerned."}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Note"}),":\xa0If you were sent to this page by a warning from your copy of UpdraftPlus, then this does not mean for sure that your backups are definitely failing because of this problem \u2013 it just means that UpdraftPlus has detected a lack of visitors. It may be that there are still enough. The warning is advisory of a\xa0potential\xa0problem."]}),"\n",(0,i.jsx)(n.p,{children:"This issue is not a novelty of UpdraftPlus; it is the case for every WordPress backup plugin with scheduled backups."}),"\n",(0,i.jsx)(n.p,{children:"What are the solutions? Any of these should help:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"If you\u2019re a developer, or your site was only just launched, then don\u2019t set your backup time to 1 a.m. until after you lau
1nch the site and have some visitors and your site is known by search engines."}),"\n",(0,i.jsx)(n.li,{children:"Your web hosting company\u2019s control panel may have the facility to set up automated tasks \u2013 you could set up a task to visit the site every 1 minute. This has a negligible impact upon on performance. If you want to look at this option, you should ask your web hosting company for help \u2013 we can\u2019t provide specific guidance."}),"\n",(0,i.jsxs)(n.li,{children:["Sign up with a facility like ",(0,i.jsx)(n.a,{href:"https://uptimerobot.com/",children:"UptimeRobot"}),",\xa0",(0,i.jsx)(n.a,{href:"https://www.pingdom.com/free/",children:"Pingdom"})," or\xa0",(0,i.jsx)(n.a,{href:"https://www.easycron.com/tutorials/how-to-set-up-cron-job-for-updraftplus",children:"Easy Cron"}),"\xa0to get some more automated visits to your website."]}),"\n",(0,i.jsx)(n.li,{children:"If you\u2019re just developing the site and need a backup *now*, then just keep the UpdraftPlus settings page open \u2013 it will make silent calls to the WP scheduling code in the background every few minutes (UpdraftPlus 1.7.15 and later)."}),"\n",(0,i.jsx)(n.li,{children:"Load up the site\u2019s front page and hit \u201Creload\u201D every 5 minutes until the backup has completed."}),"\n",(0,i.jsx)(n.li,{children:"If you disabled WordPress\u2019s default \u201Ccron\u201D engine, and attempted to call it another way, then seeing this message means that you are not calling it regularly enough. Call it each minute. This has a negligible impact upon performance; if your web hosting company says otherwise, then this is bad advice (your author is someone who has both run a web hosting company and analysed and contributed to cron code in WordPress core)."}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Note"}),":\xa0When using automated visits, certain caching plugins (such as WP Super Cache) can prevent the scheduler from being triggered. If you are having issues, ensure that the automated visit is directed to an uncached page or file."]})]})}function d(e={}){let{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},28453(e,n,t){t.d(n,{R:()=>r,x:()=>a});var s=t(96540);let i={},o=s.createContext(i);function r(e){let n=s.useContext(o);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.