WordPress.org

Forums

BackUpWordPress
[resolved] not working manually or automated (31 posts)

  1. eltonic
    Member
    Posted 4 years ago #

    nothign doing. no errors.
    simple does nothing when i click/try anything

    previous versions at least ran automatically.

  2. matt_etheridge
    Member
    Posted 4 years ago #

    Hi there,

    I'm also getting no errors, but nothing works. I click the "Back Up Now" button - it reloads the page, but there are no messages, and there are no backups created in the backups folder.

    What's the best way to get some debugging messages from this to help figure out why?

    Thanks,

    Matt.

  3. dan.tee
    Member
    Posted 4 years ago #

    I recently added a bit of code to my .htaccess file which solved a similar problem with the auto-upgrader not working with very similar symptoms. The code forces your server to use PHP5 instead of defaulting to 4. Here it is:
    AddType x-mapp-php5 .php
    Naturally, I offer no guarantee of success, not did I write this code. Add it at your own risk (if it doesn't help, you can always take it out again)

    HTH.

  4. matt_etheridge
    Member
    Posted 4 years ago #

    Thanks HTH - I tried this, but to no avail. It seems quite strange that no errors are being logged at all (I've turned on logging) - however, I'm not sure if WordPress plugins usually log to the same file as the WordPress log?

    Please excuse my ignorance, I'm pretty new to WordPress.

    Thanks,

    Matt.

  5. christogeretz
    Member
    Posted 4 years ago #

    I'd also like to figure out why there aren't any backups made - manually results in a page refresh, automatic isn't happening.

    Thanks!
    Chris

  6. matt_etheridge
    Member
    Posted 4 years ago #

    Hi guys,

    I gave up with this plugin and tried a different one - BackWPup. Seems to do everything that BackUpWordPress is supposed to do.

    If I was more familiar with WordPress and PHP I would have attempted to figure out why BackupWordPress is not working as I like it's simplicity, however, it's just easier to go with something that works out of the box.

    Thanks,
    Matt.

  7. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    Hi Matt,

    My apologies that BackUpWordPress didn't work for you, it's most likely that both Your's and Chris's issues are something to do with wp-cron not working, BackUpWordPress uses wp-cron to run the backups in a separate process.

    I am working on improving the robustness of the plugin and have a new version in the wings.

    I'm glad that you found BackWPup and that it is working for you.

  8. Stingraynut
    Member
    Posted 4 years ago #

    I have backupwordpress working on a few sites, all hosted on my reseller account with jiffynet.

    Today, while building a new site, I found backupwordpress wasn't making any backups.

    An htaccess file was the only file in the backup folder. I removed it then clicked 'backup now' and a new backup appeared, but so did the ht access file again!

    Here's whats in the htacces file -
    # BEGIN BackUpWordPress
    deny from all
    # END BackUpWordPress.

    I don't know if backupwordpress is writing that file or if some security at the host is doing it. There are no problems with the other sites.

    I really like this plugin, it saves EVERYTHING - images, themes, database - it's a FULL backup.

    I emailed Tom Willmot a couple of weeks ago and he was very helpful. I also asked him if there is a way to set the plugin to work weekly, or even say every 4th day rather than daily. That would be very useful for some of my websites which i don't check daily.

    Rob

  9. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    Hi Rob,

    I'm sorry to hear BackUpWordPress has stopped working, did you manage to get it to start back up again?

    Regarding the .htaccess file, it's there for security to stop people browsing to your backups directory and downloading a copy of the site, I think I'll put a comment in the file detailing whats its for so that it's more obvious, thanks for the heads-up on that.

    I am planning on implementing the ability to change the schedule from daily, should be released in the next couple of weeks.

    Thanks for using BackUpWordPress and for reporting your issues, hopefully I can get them all fixed.

  10. christogeretz
    Member
    Posted 4 years ago #

    Just to reiterate: a backup hasn't happened for me since May 21.

    Thanks for your work in getting this fixed, Tom - I'm looking forward to a full backup again soon! :)

  11. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    I have released a beta version of 1.2 which hopefully fixes some of the issues you guys are having.

    I would love it if some of you would be kind enough to try it out and let me know whether it does indeed work before I make a general release.

    You can download the beta from http://downloads.wordpress.org/plugin/backupwordpress.zip

    Unfortunately WordPress doesn't provide a way to auto update to a beta version so you'll have to download it and manually upload it to your site replacing the version that is there already.

    Thanks again for all your patients and for helping make BackUpWordPress better.

  12. Stingraynut
    Member
    Posted 4 years ago #

    Hi Tom, I've downloaded the Beta and will install it at the site I'm building and report back.

    I did some testing this morning, with the version already installed and I'm working on the basis that clicking the 'backup now' button is the same as waiting a day for the auto backup, which of course may not be the case.

    I clicked backup now and it did not go faint with the 'whirring' symbol which shows it is backing up. I clicked again and nothing.

    I de activated maintenance mode and when I went back to the backup tab, the backup now sign was faint , there was the 'whirring' symbol and a backup was being made. I hadn't clicked it so it was stimulated from the before and activated by maintenance mode going off, or there was a delay in starting.

    I clicked backup now again and nothing, clicked it again and another backup was made.

    I activated maintenance mode and clicked backup now 5 times - no result. I deactivated maintenance mode and clicked backup now a few times with no result. waited a bit ,longer - 20 seconds - clicked again and another backup was made.

    If any of that makes sense to you or is useful then good!!

    I'll report back on the beta version just downloaded.

    Rob

  13. Stingraynut
    Member
    Posted 4 years ago #

    Here are my results using the beta version
    BTW I notice the date of the backup is much easier to read- good one!

    I removed the old version and installed the beta.

    Maintenance Mode plugin deactivated.

    First click of 'backup now' and a backup was made- Yay!

    I activated Maintenance Mode plugin - could not get a backup to be made

    de activated maintenance Mode and could again make backups.

    I don't know about the auto backup yet. I have left 3 backups in the folder (confirmed through CPanel) and will report back tomorrow.

    The Maintenance Mode plugin is by Michael Wohrer and I use it to put up a splash screen while working on the website. It's good because it blocks the site to everyone not logged in, so I can view the changes as I make them but others see the splash screen.

    I have left it activated.

  14. christogeretz
    Member
    Posted 4 years ago #

    I have a copy of my website on my laptop, use XAMPP to run it - it's awesome to do testing and such.

    Installed the beta, one click on "backup now" and the page refreshed and then took ab....til how long it took to write this far! To do the backup.

    Browsing to the .zip file ('cuz I can do that if I'm running locally, haha) and browsing through it, it's all there.

    I'm happy! Will let you know if the automatic update in an hour happens OK.

  15. christogeretz
    Member
    Posted 4 years ago #

    Yup, automatic backup worked fine.

    I'll wait for a few other people to say it's good for them too, and then look forward to the next release :)

  16. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    Hi all,

    Just wanted to thank you all for your patients with all the issues you have been experiencing and for your help testing 1.2 beta.

    I have just released 1.2 to the plugin directory, even if you are running the beta it should offer to auto update to 1.2.

    Now, any suggestions for 1.3?

  17. Stingraynut
    Member
    Posted 4 years ago #

    Automatic backup didn't work, but I had the Maintenance Plugin activated. I will now de-activate that plugin for 24 hrs and I expect the automatic backup will work.

    Tom - is 1.2 doesn't have the option to choose backup frequency, then that's is my suggestion for 1.3

    My other suggestion is to have clearer instructions on setting the defines (or make them part of the gui) Until you emailed me instructions I didn't know they had to be like this -
    define( 'HMBKP_MAX_BACKUPS', 4 );

    Rob

  18. christogeretz
    Member
    Posted 4 years ago #

    Interesting - the automatic backup occurred three times tonight after upgrading to the new version shortly before 11 :)

    May 6, 2011 23:01 77.55 MB Download | Delete
    May 6, 2011 22:59 77.55 MB Download | Delete
    May 6, 2011 22:59 77.55 MB Download | Delete

  19. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    Thanks for the suggestions rob, my plan is to eventually move to a gui for settings, I don't want to do that until the core backup engine is robust though.

    Changing the schedule will be in 1.3 unless there are some major as yet undiscovered bugs that I end up having to address.

    Better documentation is definitely something I'm looking at.

    Chris, did the multiple backups thing only happen once, or are you getting 3 every day?

  20. christogeretz
    Member
    Posted 4 years ago #

    Will let you know tonight! :)

  21. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    Also I'll look into what it isn't working with the maintenance plugin.

  22. christogeretz
    Member
    Posted 4 years ago #

    fyi, this is the plugin I'm using, which has the same issues (no scheduled or manual backups made) as Stingraynut - although he's using a different plugin.

  23. Stingraynut
    Member
    Posted 4 years ago #

    I deactivated maintenance mode and there were TWO automatic backups

    In WP they are dated May 7 2011 one at 7:52 & one at 23:40

    In C Panel the dates are 07-07=52-09 & 07-23-40-15

    Looking forward to 1.3 !!

    BTW I still have the earlier version of backupwordpress working on other sites, should I change back to this until everything is sorted?

    Rob

    (BTW Cairns Australia- in case the time differences matter)

  24. christogeretz
    Member
    Posted 4 years ago #

    I deactivated my maintenance mode at 8pm, and immediately it took a backup (is it possible to tell the difference between an 'automatic' and 'manual' backup?). Then it took a backup at 11pm, as it was supposed to.

    Chris

  25. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    I had a quick look at that maintenance plugin and can see that it would likely stop backupwordpress from working because it stops wp-cron.php from being pinged. I'll email the author as I dont think it should block wp-cron.php by default.

    As a work around it looks like there is an option to specify paths to exclude, putting 'wp-cron.php' in the exclude box should fix things.

  26. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    Manual and automatic backups work the same way.

  27. christogeretz
    Member
    Posted 4 years ago #

    With maintenance mode turned off ..

    May 12, 2011 23:14
    May 12, 2011 22:24

    Weird that the times in between automatic backups seem to vary - I'll keep posting here!

  28. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    Hi Chris,

    The scheduled backups will happen at slightly different times as they rely on wp-cron to fire and wp-cron will only fire when someone visits the site.

    A more truthful description is that the scheduled backup will run the first time someone visits your site after your scheduled time has passed, if the first person to visit the site (that includes you) is 30 min after the schedule then the backup would start 30 min late.

  29. Stingraynut
    Member
    Posted 4 years ago #

    wow I didn't realise the site needed a visitor to fire the backup - what happens if no-one visits?

    I guess then you could say there's no need of a backup?

    Rob

  30. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    I guess you could say that.

    Unfortunately thats just how the WordPress cron system works. You can setup a proper cron job to hit wp-cron.php at a regular interval if you want it to be on time.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BackUpWordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic