WordPress.org

Ready to get started?Download WordPress

Forums

UpdraftPlus - WordPress Backup and Restoration
[resolved] Creating UpdraftPlus Backup's (12 posts)

  1. cjhunter
    Member
    Posted 1 year ago #

    Am wanting to back-up my site before upgrading to WordPress 3.5.1. After installing UpdraftPlus Backup I have set-up for manual back-ups to Google Drive and have attempted to run a back-up, while it appears to have completed (I have various zip & log files in the wp-content/updraft folder, in the "Download backups and logs:" option there is "1 available") and if I click Restore I get the option to choose a backup to restore. This is not copying to Google Drive and when attempting to download get the following error
    "Download failed. File /websites/123reg/LinuxPackage21/cj/hu/nt/cjhunter.net/public_html/wp-content/updraft/backup_2013-02-06-1525_non_alpha_name_67d18e132a55-db.gz.crypt did not exist or was unreadable. If you delete local backups then remote retrieval may have failed.0" on all 5 tabs and a "(no backup log)" at the end.

    On the "Last Backup Message" I occasionally get the following message "An error condition has occurred for the first time on this run (Feb 06 18:55:58)".

    I followed the steps to set-up Google Drive as directed on the plug-in (completed successfully), have tried setting scheduled back-ups and e-mail as the "Choose your remote storage" - with same result.

    Under the folder public_html/wp-content/updraft I am getting logs with the following:

    0000.000 Opened log file at time: Wed, 06 Feb 2013 18:32:17 +0000
    0000.002 UpdraftPlus: 1.4.2 WordPress: 3.5 PHP: 5.2.17 (Linux linweb10.atlas.pipex.net 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64) PHP Max Execution Time: 900 ZipArchive::addFile exists: Y
    0000.003 Backup run: resumption=6, nonce=ff538c21cabe, begun at=1360166912
    0000.005 Scheduling a resumption (7) in case this run gets aborted
    0000.008 Creation of backups of directories: had begun; will resume
    0000.014 Beginning creation of dump of plugins
    0002.578 Zip: backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-plugins.zip.tmp: 100 files added
    0005.714 Zip: backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-plugins.zip.tmp: 200 files added
    0006.278 Created plugins zip - file size is 1110.1 Kb in 6.3 s (177.6 Kb/s)
    0006.281 Beginning creation of dump of themes
    0009.048 Zip: backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-themes.zip.tmp: 100 files added
    0010.269 Zip: backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-themes.zip.tmp: 200 files added
    0010.934 Created themes zip - file size is 428 Kb in 4.6 s (92.3 Kb/s)
    0010.937 Beginning creation of dump of uploads
    0011.206 Created uploads zip - file size is 170.8 Kb in 0.3 s (648.9 Kb/s)
    0011.208 Beginning backup of other directories found in the content directory
    0011.209 Looking for candidates to back up in: /websites/123reg/LinuxPackage21/cj/hu/nt/cjhunter.net/public_html/wp-content
    0011.211 others: plugins: skipping: this is the plugins directory
    0011.212 others: uploads: skipping: this is the uploads directory
    0011.213 others: languages: adding to list
    0011.214 others: themes: skipping: this is the themes directory
    0011.215 others: index.php: skipping: excluded by options
    0011.215 others: upgrade: skipping: excluded by options
    0011.216 others: gallery: adding to list
    0011.217 others: updraft: skipping: this is the updraft directory
    0011.218 others: a7204197d5-backups: adding to list
    0012.526 Zip: backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-others.zip.tmp: 100 files added
    0015.949 Zip: backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-others.zip.tmp: 200 files added
    0000.000 Opened log file at time: Wed, 06 Feb 2013 18:48:54 +0000
    0000.001 UpdraftPlus: 1.4.2 WordPress: 3.5 PHP: 5.2.17 (Linux linweb10.atlas.pipex.net 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64) PHP Max Execution Time: 900 ZipArchive::addFile exists: Y
    0000.002 Backup run: resumption=7, nonce=ff538c21cabe, begun at=1360166912
    0000.004 Scheduling a resumption (8) in case this run gets aborted
    0000.007 Creation of backups of directories: had begun; will resume
    0000.010 Beginning creation of dump of plugins
    0000.011 backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-plugins.zip: this file has already been created
    0000.012 Beginning creation of dump of themes
    0000.013 backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-themes.zip: this file has already been created
    0000.014 Beginning creation of dump of uploads
    0000.016 backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-uploads.zip: this file has already been created
    0000.017 Beginning backup of other directories found in the content directory
    0000.017 Looking for candidates to back up in: /websites/123reg/LinuxPackage21/cj/hu/nt/cjhunter.net/public_html/wp-content
    0000.019 others: plugins: skipping: this is the plugins directory
    0000.020 others: uploads: skipping: this is the uploads directory
    0000.021 others: languages: adding to list
    0000.022 others: themes: skipping: this is the themes directory
    0000.023 others: index.php: skipping: excluded by options
    0000.023 others: upgrade: skipping: excluded by options
    0000.024 others: gallery: adding to list
    0000.025 others: updraft: skipping: this is the updraft directory
    0000.026 others: a7204197d5-backups: adding to list
    0000.029 File exists (/websites/123reg/LinuxPackage21/cj/hu/nt/cjhunter.net/public_html/wp-content/updraft/backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-others.zip.tmp), but was apparently not modified within the last 30 seconds, so we assume that any previous run has now terminated (time_mod=1360175553, time_now=1360176534, diff=981)
    0000.036 backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-others.zip.tmp: Zip file already exists, with 216 files
    0000.352 Zip: backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-others.zip.tmp: 100 files added
    0000.485 Zip: backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-others.zip.tmp: 200 files added
    0020.333 Zip: backup_2013-02-06-1608_non_alpha_name_ff538c21cabe-others.zip.tmp: 300 files added

    I really have no idea what I am doing wrong and any help much appreciated.

    http://wordpress.org/extend/plugins/updraftplus/

  2. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    From the log, it looks rather like your web hosting company kills off PHP processes rather aggressively, and the problem is simply that UpdraftPlus keeps getting terminated before it gets the opportunity to do anything useful.

  3. cjhunter
    Member
    Posted 1 year ago #

    Thanks, have now e-mailed my web host and will see what they come back with and let you know.

  4. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    If you upgrade to the latest (1.4.6), then you could well find it now working - I've added some more code for resuming at any point, more fine-grained, so even with being killed off by the web host every few seconds it's got a good chance - I'd be grateful if you could give it a try and post the new log so that I could check out the results.

    David

  5. cjhunter
    Member
    Posted 1 year ago #

    Have upgraded, but still seem to have same results. Below latest log:

    0000.000 Opened log file at time: Sat, 09 Feb 2013 15:07:45 +0000
    0000.004 UpdraftPlus: 1.4.7 WordPress: 3.5 PHP: 5.2.17 (Linux linweb8.atlas.pipex.net 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64) PHP Max Execution Time: 900 ZipArchive::addFile exists: Y
    0000.015 Tasks: Backup files: 1 (schedule: manual) Backup DB: 1 (schedule: manual)
    0000.016 Processed schedules. Tasks now: Backup files: 1 Backup DB: 1
    0000.026 Backup run: resumption=0, nonce=31ea5ab478d4, begun at=1360422465
    0000.038 Scheduling a resumption (1) in case this run gets aborted
    0000.045 Creation of backups of directories: beginning
    0000.123 Beginning creation of dump of plugins
    0001.922 Zip: backup_2013-02-09-1507_non_alpha_name_31ea5ab478d4-plugins.zip.tmp: 100 files added (size: 127 Kb)
    0003.506 Zip: backup_2013-02-09-1507_non_alpha_name_31ea5ab478d4-plugins.zip.tmp: 200 files added (size: 831.2 Kb)
    0003.805 Created plugins zip - file size is 1110.5 Kb in 3.7 s (301.9 Kb/s)
    0003.807 Beginning creation of dump of themes
    0005.277 Zip: backup_2013-02-09-1507_non_alpha_name_31ea5ab478d4-themes.zip.tmp: 100 files added (size: 155.2 Kb)
    0006.379 Zip: backup_2013-02-09-1507_non_alpha_name_31ea5ab478d4-themes.zip.tmp: 200 files added (size: 367.5 Kb)
    0006.477 Created themes zip - file size is 428 Kb in 2.7 s (160.5 Kb/s)
    0006.478 Beginning creation of dump of uploads
    0006.692 Created uploads zip - file size is 170.8 Kb in 0.2 s (810.9 Kb/s)
    0006.694 Beginning backup of other directories found in the content directory
    0006.695 Looking for candidates to back up in: /websites/123reg/LinuxPackage21/cj/hu/nt/cjhunter.net/public_html/wp-content
    0006.696 others: plugins: skipping: this is the plugins directory
    0006.697 others: uploads: skipping: this is the uploads directory
    0006.698 others: languages: adding to list
    0006.699 others: themes: skipping: this is the themes directory
    0006.700 others: index.php: skipping: excluded by options
    0006.701 others: upgrade: skipping: excluded by options
    0006.702 others: gallery: adding to list
    0006.703 others: updraft: skipping: this is the updraft directory
    0006.704 others: a7204197d5-backups: adding to list
    0008.605 Zip: backup_2013-02-09-1507_non_alpha_name_31ea5ab478d4-others.zip.tmp: 100 files added (size: 590.8 Kb)
    0013.668 Zip: backup_2013-02-09-1507_non_alpha_name_31ea5ab478d4-others.zip.tmp: 200 files added (size: 4953.6 Kb)

    Here's the reply I got from my hosting company (123-reg) regarding the problem:

    There is indeed a limit for the maximum number of allowed simultaneous php processes which may cause the plugin to crash.

    However, that limit is a reasonable one and cannot be increased as this is a shared hosting platform and these limitations are in place to ensure a smooth usage of the platform for all users.

    "In order to avoid such limitations and to be able to configure your server environmental variables yourself, please consider a VPS package: http://www.123-reg.co.uk/vps-hosting"

    Thanks

  6. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi CJ,

    That log file just shows the first attempt... there should be new attempts to further the process every 5 minutes... so if you wait, say, half an hour, there should be further progress... what does it show now?

    "Cause the plugin to crash" is weasel-speak for "We forcibly kill it off" !

    David

  7. cjhunter
    Member
    Posted 1 year ago #

    Hi David,

    Current log files reads:
    [Too many lines - moderated - Use PasteBin instead]
    Cliff

  8. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Cliff,

    Thank you - that shows it still progressing; though the resumptions are coming quite far apart. They are scheduled for every 5 minutes, but not happening for up to an hour - presumably your site is not very busy? (It relies upon visitors dropping by to invoke WordPress so that the resumptions can get going). It's still got a few resumptions to go, so may make it eventually, depending on how many megabytes you've got in there.

    You might want to check out what you have in your wp-content folder; the log is showing that there's at least 470Mb of "other" stuff - other than plugins, themes and uploads. Is there stuff dumped by other backup plugins (so, you'd be creating backups of backups)? You may want to add some things to the list of stuff to exclude.

    Dear moderator - "Too many lines" - too many lines for what? What is the particular problem which is solved by going to Pastebin?

    David

  9. cjhunter
    Member
    Posted 1 year ago #

    Hi David,

    Am only running 1 backup, yours (it is the easiest I have seen to use so far!!) Am guessing most of the "other stuff" will be my photo gallery's (have about 257 photo's in the various gallery's) the other folders contain very little in terms of file size's, except the updraft folder (would it be worth emptying and starting again? - there are currently 17 backups all dating from the 6th).

    Thanks
    Cliff

  10. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Cliff,

    UpdraftPlus knows to not backup its own internal stuff, so I suppose it must be the galleries.

    David

  11. cjhunter
    Member
    Posted 1 year ago #

    Hi David,

    Just to let you know the backup completed successfully at 01.58 this morning, started at 20.56 (received an e-mail letting me know). So the updates you made worked - just takes a longer period of time to run that maybe normal.

    Thanks for all your help:-)
    Cliff

  12. David Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Cliff,

    Great!

    If you find UpdraftPlus useful, then please do make a donation - http://david.dw-perspective.org.uk/donate

    Best wishes,
    David

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.