WordPress.org

Ready to get started?Download WordPress

Forums

Backup
Backup not happening (56 posts)

  1. Lee Hayward
    Member
    Posted 2 years ago #

    hel.io , what did you fix in 2.1.3 , I just got the update but there wasn't anything mentioned on your change log..

  2. danny80
    Member
    Posted 2 years ago #

    Hi

    Thanks for your plugin.
    I tried to get backup and got this error on my error log:

    Received response code '400 Bad Request' while trying to get 'https://docs.google.com/feeds/default/private/full/mydomain'. Response body: <errors xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain>InvalidEntryException<internalReason>Invalid document id: mydomain</internalReason></error></errors>

  3. hel.io
    Member
    Plugin Author

    Posted 2 years ago #

    Hi danny,

    I think you entered the name of your Drive folder instead of the ID.

  4. danny80
    Member
    Posted 2 years ago #

    hi hel.io

    Yes that was my problem. I left it empty and I got the backup.

    Thanks

  5. PaBLoX
    Member
    Posted 2 years ago #

    @hel.io

    I'm sorry, I updated the plugin, but I'm getting the same error (I did a forced reload to make sure I wasn't using and I'm running into the same issue:

    White screen and no log. The thing that I found kind of curious it's that when I first installed the plugin the local folder path was some kind of random alpha numeric value, that was the same argument in the "backup now" button: site.com/?backup=id. No matter if I change the local path, that "uri" doesn't change.

    EDIT:

    I removed and re-installed the plugin: Now I have a different local-folder .../backup-id and the manual backup still doesn't work (changing the local fold doesn't change the uri from the button either).

  6. hel.io
    Member
    Plugin Author

    Posted 2 years ago #

    The thing that I found kind of curious it's that when I first installed the plugin the local folder path was some kind of random alpha numeric value, that was the same argument in the "backup now" button: site.com/?backup=id. No matter if I change the local path, that "uri" doesn't change.

    This is for security reasons.

    There might be another plugin interfering with Backup. If you would like, I can take a look at your setup. Just send me an email.

  7. monkseo
    Member
    Posted 2 years ago #

    Hi Hel.io I hope you can please help me - I installed this on one website, hooked up google drive and everything worked lovely - so I installed on another server... and its not working so nicely...

    here are the issues:

    google is authorized
    click back up now - takes to blank page that doesn't do anything
    DOES do the backup and puts on server in the ?backup folder in zip with log - but in plugin still says last backup never, and also not going to google drive... any suggestions? or can I send you an email to take a look?

  8. PaBLoX
    Member
    Posted 2 years ago #

    @Hel.io

    Hm, that installation is a mess and I'm in changing the whole stuff... I'll keep the pluging waiting then until I fix that. As soon as I get it done I'll try again :)

  9. hel.io
    Member
    Plugin Author

    Posted 2 years ago #

    @monkseo,

    Yes, please send me an email.

  10. monkseo
    Member
    Posted 2 years ago #

    where can I find your email bud?

  11. hel.io
    Member
    Plugin Author

    Posted 2 years ago #

    In the first few lines of the plugin's source code for example.

  12. asmayasrib
    Member
    Posted 2 years ago #

    just finished installation. doing on time backup now. process loading... so i hope backup will happen sometime today.

    just dropped a line to say thank you. Really appreciate you writing the plugin and giving the amazing support that i see on this forum!

  13. hel.io
    Member
    Plugin Author

    Posted 2 years ago #

    @asmayasrib,

    Thank you for your kind words!

  14. asmayasrib
    Member
    Posted 2 years ago #

    :( Configured and thought it should work but nothing happens. Both with on time backup and scheduled backup.

  15. cgail914
    Member
    Posted 2 years ago #

    Had the same issue after upgrading to 2.1.3.
    Manual backup wouldn't start (blank screen), scheduled backups wouldn't either.

    after some debugging it seemed obvious the backup.php script was exiting at this line :

    if ( get_transient( 'backup_lock' ) )
      exit; // Exit if another backup process is running.

    I'm not too familiar with how these transient stuffs work in WP, but it was clearly the issue. I commented out the 2-3 lines after and now it runs ok. Still have the issue that I can't upload my 400Meg file to GDrive, but I imagine this is due to the memory config of my shared host. Would be nice to have a more verbose log once the upload starts.

    nice tool but a bit complex to have up and running if you're not admin of your site.

    But it's freeware.. let's contribute to make it better.

  16. monkseo
    Member
    Posted 2 years ago #

    hey Sorin, I waited a few days to backup again

    it still says last backup never after I ran the backup

    i think it is that transient thing still not fixed

    I tried increasing the time from 300 to 500 and running backup again - now it just freezes on this page: /?backup=kz78CVflYjEU

    Here is an image of that one:
    https://skitch.com/createchicago/ecdwm/airbrush-academy-airbrush-makeup-and-classes-chicago

    and where it still is not updating the last backup, still says never:
    https://skitch.com/createchicago/ecdwq/backup-settings-airbrush-academy-airbrush-makeup-and-classes-wordpress

    I installed the plugin on another site - also and just got the same error about timed out

    here is an image of the second site:
    https://skitch.com/createchicago/ecdwk/backup-process

  17. hel.io
    Member
    Plugin Author

    Posted 2 years ago #

    @cgail914

    There seems to be a problem with the transient as I've seen it happen to other people as well so I'm investigating the issue. Could you tell me what caching plugins (if any) you're using?

    Uploading large files should be no problem even on low memory because the file is split and uploaded in small parts. What does the backup log say?

    @mokseo

    What you are experiencing has nothing to do with the transient bug and is in fact working properly. The backup process times out because it reaches the time limit you set but after timing out it will resume automatically as long as you have someone visiting your site (to trigger wp-cron).

    On the Backup Settings page if you click on Screen (top right) and then select Log File you will see the contents of the log file for that backup which tells you a bit more about what's happening.

  18. cgail914
    Member
    Posted 2 years ago #

    @Hel.io
    I'm not using any caching plugins. WP 3.4.1 only. As said without the transient code everything seems to run fine as well so..

    As far as the upload, it seems to stop unexpectedly. I've added some traces in the do-while loop but can't figure out why it stops. I have now bumped the chunk size to 1Meg and was able to upload twice a full file of 250Meg. I will let it soak for a while with the daily backup and restart the troubleshooting if need be. My next step would be to put some traces in the GDocs functions.

    Thanks for the feedback though.
    Take care

  19. hel.io
    Member
    Plugin Author

    Posted 2 years ago #

    After talking with some of you guys in private about the transient issue it seems the cause of the plugin not working is that only one connection to the database is allowed in your specific setups.

    When someone visits your site while the backup process is running the MySQL connection gets stolen from it so that the visitor can access your site. When this happens Backup obviously fails and there is no way for it to let you know about it because it can't write to the database.

    This usually happens on shared hosting environments.

    @cgail914, can you confirm that you also have this limitation?

  20. hharikris
    Member
    Posted 2 years ago #

    backup's not happening i thought...then i found the new backup-xxx directory. it seems to do it locally, but not to google drive. Used to work before 2.1.2 i want to say, but after the backup-directory name changed it hasn't worked to google.

    also, see the note display below...next backup is before current time. is it blocking backup?

    I like the plug-in.
    thanks.

    Status

    Current date and time:
    August 22, 2012 5:40 am
    Most recent backup:
    never
    Next scheduled backup:
    August 21, 2012 7:25 pm

  21. asmayasrib
    Member
    Posted 1 year ago #

    Hi there,
    Following your input (talking to host and removing cloudflare) - I still get the last backup - never.
    ---------------------------
    Current date and time:
    August 25, 2012 5:33 am
    Most recent backup:
    never
    Next scheduled backup:
    August 25, 2012 12:00 am
    ------------------------------
    and manual backup gives a blank screen.

    however,I see two backup files in my gdrive and a backup file at the server. So I presume backup is happening. :|

  22. giraffasus
    Member
    Posted 1 year ago #

    I am having a similar problem as most have posted before. I have a scheduled back up, but constantly read under status, Most recent backup:never. When I hit back up now to do a manual back up it s opens this page http://www.giraffasusfoundation.com/?backup=mFRVeKnwBCyk

    I have set the Google Drive folder to a specific folder using the instructions you listed, pasting in the section after the /#folders/, yet nothing shows up in that folder. I have authorization in place, so I am not sure what is happening, or not happening.

    Here is the log of my most recent attempt at creating a back up.

    2012-09-12 03:07:45 NOTICE Environment: Backup 2.2; WordPress 3.4.2; PHP 5.2.17; SAPI cgi-fcgi; OS Linux; ZIP false; CURL 7.18.2; Time limit 600s; Memory limit 256M
    2012-09-12 03:07:45 NOTICE Attempting to dump database.
    2012-09-12 03:07:46 NOTICE The database dump was completed successfully in 0.897 seconds.
    2012-09-12 03:07:46 NOTICE Attempting to create archive 'Giraffasus-Foundation-ma76cs.zip'.
    2012-09-12 03:08:45 NOTICE Successfully archived 4,375 files in 59.544 seconds. Archive file size is 66.52 MB.
    2012-09-12 03:08:46 NOTICE Attempting to upload archive to Google Drive.
    2012-09-12 03:08:47 NOTICE Uploading file with title 'Giraffasus Foundation (ma76cs)'.
    So... not sure. Any help would be great.

  23. jpdeboer
    Member
    Posted 1 year ago #

    Just installed this plugin.
    Authorization to use Google Drive has been granted.

    Nothing happens when I hit Back up now. Only new tab with white screen.
    There is no log file to display.

    Any suggestions? Would really like to get this plugin to work, so hopefully someone has an solution by now?

    Kind regards,
    Jeroen

  24. Microwork
    Member
    Posted 1 year ago #

    Hi
    I had the same problem. Finally I tried a solution mentioned above to work around the problem.
    HERE IS SIMPLE A FIX !!!

    Use Plugin Editor to exclude (//) the 'exit' command in the following lines of code in the backup.php plugin file.

    if ( get_transient( 'backup_lock' ) )
    exit; // Exit if another backup process is running.

    i.e. change to;

    if ( get_transient( 'backup_lock' ) )
    // exit; // Exit if another backup process is running.

    So for those that did enjoy using this plugin I hope it helps and I hope they update with a newer version as it is a great tool.

  25. RussPete
    Member
    Posted 1 year ago #

    I was experiencing the problem of clicking the Back Up Now button but nothing appeared to happen. A new tab would be open and I'd end up at the home page of the site and no backup was performed. But I have several other wordpress sites that don't have this problem. I use the backup plugin on the other sites without any problem.

    Finally I remembered another plugin named 404 Redirected is automatically trying to redirect the backup request url. After unchecking the Create automatic redirects option in the Automatic Redirects section of the Options the Backup Up Now worked wonderfully.

    Thanks for a great plugin.

  26. Mobile PC Rescue
    Member
    Posted 1 year ago #

    Microwork
    Member
    Posted 2 months ago #

    Hi
    I had the same problem. Finally I tried a solution mentioned above to work around the problem.
    HERE IS SIMPLE A FIX !!!

    Use Plugin Editor to exclude (//) the 'exit' command in the following lines of code in the backup.php plugin file.

    if ( get_transient( 'backup_lock' ) )
    exit; // Exit if another backup process is running.

    i.e. change to;

    if ( get_transient( 'backup_lock' ) )
    // exit; // Exit if another backup process is running.

    So for those that did enjoy using this plugin I hope it helps and I hope they update with a newer version as it is a great tool.

    That worked perfect

    massive THANK YOU for the fix :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic