• Resolved clart

    (@clart)


    The backup runs on schedule but fails.
    I tried it several times manually and it always fails when creating the zip file around 11Mb in size. Heres the screen message:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Backup failed!

    Please advise.
    Thank you.

    https://www.ads-software.com/plugins/cyan-backup/

Viewing 15 replies - 46 through 60 (of 76 total)
  • Plugin Author Greg Ross

    (@gregross)

    It could be a memory issue. I downloaded all three and ran a backup on my test site without any issues.

    Make the following change in cyan-backup/includes/class-wp-backuper.php on line 321:

    private function write_log_file( $message ) {
    	if( $this->logfile != null ) {
    		fwrite($this->logfile, '[' . date("Y-m-d H:i:s") . '] ' . $message . "\n");
    	}
    }

    to

    private function write_log_file( $message ) {
    	if( $this->logfile != null ) {
    		fwrite($this->logfile, '[' . date("Y-m-d H:i:s") . '] ' . $message . "\n");
    		fwrite($this->logfile, '[' . date("Y-m-d H:i:s") . '] emalloc: ' . memory_get_usage() . ' total: ' . memory_get_usage(true) . "\n");
    	}
    }

    This will write out memory information after each line in the log file and should give us an idea of there is an unusual amount of memory being consumed.

    Thread Starter clart

    (@clart)

    I put the changes in the file, cleared the archive flag and temp files and ran backup again.
    It failed proper this time, no zip file, no email.

    First few lines of the log file;
    [2014-03-13 19:47:33] Calculating backup size…
    [2014-03-13 19:47:33] emalloc: 21443652 total: 21757952
    [2014-03-13 19:47:35] Backup started, processing SQL tables…
    [2014-03-13 19:47:35] emalloc: 22125492 total: 22806528
    [2014-03-13 19:47:35] Processing wsc_ai1ec_event_category_colors…
    [2014-03-13 19:47:35] emalloc: 22221920 total: 22806528
    [2014-03-13 19:47:35] Processing wsc_ai1ec_event_feeds…
    [2014-03-13 19:47:35] emalloc: 22133952 total: 22806528
    [2014-03-13 19:47:35] Processing wsc_ai1ec_event_instances…
    [2014-03-13 19:47:35] emalloc: 22133928 total: 22806528

    Last few lines of the log file;
    [2014-03-13 19:48:09] emalloc: 22374932 total: 22806528
    [2014-03-13 19:48:09] Archiving /homepages/35/d30352212/htdocs/winton/index.php…
    [2014-03-13 19:48:09] emalloc: 22374924 total: 22806528
    [2014-03-13 19:48:09] Archiving /homepages/35/d30352212/htdocs/winton/backup…
    [2014-03-13 19:48:09] emalloc: 22374928 total: 22806528
    [2014-03-13 19:48:09] Archiving /homepages/35/d30352212/htdocs/winton/wp-phpinfo.php…
    [2014-03-13 19:48:09] emalloc: 22374924 total: 22806528
    [2014-03-13 19:48:09] Archiving /homepages/35/d30352212/htdocs/winton/makezip.php…
    [2014-03-13 19:48:09] emalloc: 22374932 total: 22806528
    [2014-03-13 19:48:09] Archiving /homepages/35/d30352212/htdocs/winton/plugins…
    [2014-03-13 19:48:09] emalloc: 22374932 total: 22806528
    [2014-03-13 19:48:09] Archiving SQL dump…
    [2014-03-13 19:48:09] emalloc: 22132768 total: 22806528

    status.log contains this;
    71
    Archiving SQL dump…
    active
    /homepages/35/d30352212/htdocs/winton
    2014-03-13 19:48:090

    Plugin Author Greg Ross

    (@gregross)

    That looks fine from a memory usage perspective.

    Let me try adding some files to my test install and see if I can get it to fail based on file count.

    Plugin Author Greg Ross

    (@gregross)

    Ok, I’ve done a test backup with over 10,000 files, no issues, though it did take a while.

    Can you check your last log, just before the archiving starts there should be a line like “Using ZipArchive class.” or “Using PclZip class.” and let me know which one?

    Thread Starter clart

    (@clart)

    Here it is ;

    [2014-03-13 19:48:07] emalloc: 22373708 total: 22806528
    [2014-03-13 19:48:07] Archiving files…
    [2014-03-13 19:48:07] emalloc: 22131364 total: 22806528
    [2014-03-13 19:48:07] Using ZipArchive class.
    [2014-03-13 19:48:07] emalloc: 22132572 total: 22806528
    [2014-03-13 19:48:07] Archiving /homepages/35/d30352212/htdocs/winton/blogs…
    [2014-03-13 19:48:07] emalloc: 22374888 total: 22806528
    [2014-03-13 19:48:07] Archiving /homepages/35/d30352212/htdocs/winton/blogs/media…
    [2014-03-13 19:48:07] emalloc: 22374924 total: 22806528

    Plugin Author Greg Ross

    (@gregross)

    I’ve done a new release that will allow you to disable the use of ZipArchive, go to the options page and select “Disable ZipArchive” and try the backup again.

    Thread Starter clart

    (@clart)

    I got the new release, disabled ziparchive and ran backup, still the same exclusions, the 3 mentioned previously.

    On the backup page, I got 2 internal server error messages, a red cross next to the backup button but no backup failed message.
    The zip file has created ok but there is no email and the backup.active file is still there.

    The status.log shows this;
    70
    Archiving /homepages/35/d30352212/htdocs/winton/wp-includes/SimplePie/Content/Type…
    active
    /homepages/35/d30352212/htdocs/winton
    2014-03-14 01:04:470

    The format of the log file is different in about a dozen places, here is the first section;

    [2014-03-14 01:04:39] files: a:101:{i:0;s:94:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/blogs/media/.hidden”;i:1;s:94:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/blogs/media/php.ini”;i:2;s:88:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/blogs/php.ini”;i:3;s:86:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/license.txt”;i:4;s:86:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/readme.html”;i:5;s:86:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/sitemap.xml”;i:6;s:89:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/sitemap.xml.gz”;i:7;s:90:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-activate.php”;i:8;s:93:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/about.php”;i:9;s:98:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/admin-ajax.php”;i:10;s:100:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/admin-footer.php”;i:11;s:103:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/admin-functions.php”;i:12;s:100:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/admin-header.php”;i:13;s:98:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/admin-post.php”;i:14;s:93:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/admin.php”;i:15;s:100:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/async-upload.php”;i:16;s:95:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/comment.php”;i:17;s:95:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/credits.php”;i:18;s:108:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/color-picker-rtl.css”;i:19;s:112:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/color-picker-rtl.min.css”;i:20;s:104:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/color-picker.css”;i:21;s:108:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/color-picker.min.css”;i:22;s:106:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/_admin.scss”;i:23;s:107:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/_mixins.scss”;i:24;s:110:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/_variables.scss”;i:25;s:114:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/blue/colors-rtl.css”;i:26;s:118:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/blue/colors-rtl.min.css”;i:27;s:110:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/blue/colors.css”;i:28;s:114:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/blue/colors.min.css”;i:29;s:111:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/blue/colors.scss”;i:30;s:107:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/blue/php.ini”;i:31;s:116:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/coffee/colors-rtl.css”;i:32;s:120:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/coffee/colors-rtl.min.css”;i:33;s:112:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/coffee/colors.css”;i:34;s:116:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/coffee/colors.min.css”;i:35;s:113:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/coffee/colors.scss”;i:36;s:109:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/coffee/php.ini”;i:37;s:119:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ectoplasm/colors-rtl.css”;i:38;s:123:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ectoplasm/colors-rtl.min.css”;i:39;s:115:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ectoplasm/colors.css”;i:40;s:119:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ectoplasm/colors.min.css”;i:41;s:116:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ectoplasm/colors.scss”;i:42;s:112:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ectoplasm/php.ini”;i:43;s:115:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/light/colors-rtl.css”;i:44;s:119:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/light/colors-rtl.min.css”;i:45;s:111:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/light/colors.css”;i:46;s:115:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/light/colors.min.css”;i:47;s:112:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/light/colors.scss”;i:48;s:108:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/light/php.ini”;i:49;s:118:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/midnight/colors-rtl.css”;i:50;s:122:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/midnight/colors-rtl.min.css”;i:51;s:114:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/midnight/colors.css”;i:52;s:118:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/midnight/colors.min.css”;i:53;s:115:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/midnight/colors.scss”;i:54;s:111:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/midnight/php.ini”;i:55;s:115:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ocean/colors-rtl.css”;i:56;s:119:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ocean/colors-rtl.min.css”;i:57;s:111:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ocean/colors.css”;i:58;s:115:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ocean/colors.min.css”;i:59;s:112:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ocean/colors.scss”;i:60;s:108:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/ocean/php.ini”;i:61;s:117:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/sunrise/colors-rtl.css”;i:62;s:121:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/sunrise/colors-rtl.min.css”;i:63;s:113:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/sunrise/colors.css”;i:64;s:117:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/sunrise/colors.min.css”;i:65;s:114:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/sunrise/colors.scss”;i:66;s:110:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/sunrise/php.ini”;i:67;s:102:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors/php.ini”;i:68;s:102:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors-rtl.css”;i:69;s:106:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors-rtl.min.css”;i:70;s:98:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors.css”;i:71;s:102:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/colors.min.css”;i:72;s:114:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/customize-controls-rtl.css”;i:73;s:118:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/customize-controls-rtl.min.css”;i:74;s:110:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/customize-controls.css”;i:75;s:114:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/customize-controls.min.css”;i:76;s:110:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/farbtastic-rtl.min.css”;i:77;s:102:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/farbtastic.css”;i:78;s:98:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/ie-rtl.css”;i:79;s:102:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/ie-rtl.min.css”;i:80;s:94:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/ie.css”;i:81;s:98:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/ie.min.css”;i:82;s:107:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/install-rtl.min.css”;i:83;s:99:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/install.css”;i:84;s:103:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/install.min.css”;i:85;s:101:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/media-rtl.css”;i:86;s:105:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/media-rtl.min.css”;i:87;s:97:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/media.css”;i:88;s:101:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/media.min.css”;i:89;s:104:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/wp-admin-rtl.css”;i:90;s:108:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/wp-admin-rtl.min.css”;i:91;s:100:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/wp-admin.css”;i:92;s:104:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/wp-admin.min.css”;i:93;s:95:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/css/php.ini”;i:94;s:105:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/custom-background.php”;i:95;s:101:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/custom-header.php”;i:96;s:97:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/customize.php”;i:97;s:101:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/edit-comments.php”;i:98;s:106:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/edit-form-advanced.php”;i:99;s:105:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/edit-form-comment.php”;i:100;s:102:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/wp-admin/edit-link-form.php”;}
    [2014-03-14 01:04:39] dir_to_strip: /homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358
    [2014-03-14 01:04:39] wp_dir: winton/
    [2014-03-14 01:04:39] Archiving /homepages/35/d30352212/htdocs/winton/wp-admin/edit-tag-form.php…
    [2014-03-14 01:04:39] Archiving /homepages/35/d30352212/htdocs/winton/wp-admin/edit-tags.php…

    ..and the last few lines of the same log file;

    alert.png”;i:98;s:114:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/templates/system/images/notice-info.png”;i:99;s:114:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/templates/system/images/notice-note.png”;i:100;s:117:”/homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358/winton/templates/system/images/selector-arrow.png”;}
    [2014-03-14 01:04:47] dir_to_strip: /homepages/35/d30352212/htdocs/winton/backup/winton.20140314.010358
    [2014-03-14 01:04:47] wp_dir: winton/

    Plugin Author Greg Ross

    (@gregross)

    It looks like your hitting the memory limit on your host, that’s the only reason I can see for it stopping so suddenly. Do you have access to your PHP logs?

    Thread Starter clart

    (@clart)

    I checked the hosting control panel and cannot see anything so have logged a support request.
    Will have to wait and see what they come back with.

    Thread Starter clart

    (@clart)

    Whilst waiting for the hosting support to come back to me, I had kept trying the backup and it kept failing, but creating the zip file as before. The largest zip file I got to with just 2 exclusions was 35Mb.

    Then I got this response from the hosting support;

    Thank you for contacting us.

    We would like to apologize for the duration it took us to reply back to your email. As much as we strive to respond to all emails within 48 hours, we occasionally experience extraordinary email volume, resulting in delayed response time and for this, we apologize profusely.

    Meanwhile, the issue you had with your wordpress site was an intermittent issue due to the limitation of shared hosting. The package limitations restrict the use of no more than:
    – 60 seconds of 100% CPU usage
    – 128MB of memory
    – 16 simultaneous processes

    It is common to experience 500 errors intermittently when the package limitations have been exceeded which may correspond to swells in traffic during the day.

    I think they took their time because they found a mistake with my hosting package, it should have upgraded from 30Mb memory to 90Mb last year when the servers were updated. I dont think it happened and now they are saying its up to 128Mb.

    I ran the backup again, same as before, it failed again but the zipfile is created ok, however it was only 20 Mb size.

    I took out the remaining exclusions and ran the backup again. It failed again, but the zipfile is created ok and its now 21.9 Mb.
    As before, there is an internal server error message, backup failed message and no email, the backup.active is still there.

    If I refresh the backup screen when it failed, it shows these messages and lists the zip file;

    Warning: filemtime(): stat failed for /homepages/35/d30352212/htdocs/winton/backup/backup.active in /homepages/35/d30352212/htdocs/winton/wp-content/plugins/cyan-backup/cyan-backup.php on line 528

    Warning: unlink(/homepages/35/d30352212/htdocs/winton/backup/backup.active): No such file or directory in /homepages/35/d30352212/htdocs/winton/wp-content/plugins/cyan-backup/cyan-backup.php on line 529
    {“result”:false,”method”:”status”,”0″:false}

    Backup Files
    File Name Date and Time Size

    winton.20140319.204044.zip [log] 19/03/2014 @ 20:40 21.90 MB

    Here is the status.log;
    55
    Archiving /homepages/35/d30352212/htdocs/winton/wp-content/plugins/front-end-editor/lib/aloha-editor/plugins/extra/attributes/nls/zh-hans…
    active
    /homepages/35/d30352212/htdocs/winton
    2014-03-19 20:40:580

    Here is the last few lines of the log file;

    [2014-03-19 20:40:58] Archiving /homepages/35/d30352212/htdocs/winton/wp-content/plugins/front-end-editor/lib/aloha-editor/plugins/extra/flag-icons/img/flags/ao.png…
    [2014-03-19 20:40:58] Archiving /homepages/35/d30352212/htdocs/winton/wp-content/plugins/front-end-editor/lib/aloha-editor/plugins/extra/flag-icons/img/flags/uk.png…
    [2014-03-19 20:40:58] Archiving /homepages/35/d30352212/htdocs/winton/wp-content/plugins/front-end-editor/lib/aloha-editor/plugins/extra/flag-icons/img/flags/ec.png…

    Plugin Author Greg Ross

    (@gregross)

    Your problem is probably:

    – 60 seconds of 100% CPU usage

    The backup process could easily peg the CPU for 60 seconds and your host will then kill the process.

    Thread Starter clart

    (@clart)

    Ok, I’ll ask them if its possible to increase the 60 secs limit.

    By the way, I just noticed these files in the root directory;

    winton/pclzip-532255af9c00f.tmp 3,661,824
    winton/pclzip-53229b35dbf7f.tmp 5,832,704
    winton/pclzip-53240a75444ce.tmp 19,224,576
    winton/pclzip-53253199f053c.tmp 13,109,248
    winton/pclzip-53253e44ec542.tmp 22,048,768
    winton/pclzip-53268fc65c780.tmp 11,143,168
    winton/pclzip-532939118cb2d.tmp 29,865,791
    winton/pclzip-5329fd6a27f00.tmp 15,706,112
    winton/pclzip-5329fec7064c7.tmp 20,856,787
    winton/pclzip-5329ffdf0b3a1.tmp 20,687,569
    winton/pclzip-532a00daa04a9.tmp 22,591,500

    It seems they are being left over when the backup fails and the option to delete temporary files is not picking them up.

    Plugin Author Greg Ross

    (@gregross)

    You can go back to using ZipArchive now instead of PclZip, then those files won’t be created.

    I might add an option to introduce a slight delay between files as they are archived, it would extend the backup time but wouldn’t trigger this kind of thing limit.

    Thread Starter clart

    (@clart)

    I switched back to ZipArchive and tried backup.
    It failed and produced an incomplete zip file of around 11Mb.
    The log file is twice the size of before at just over 2Mb.

    Here is the status.log;
    69
    Archiving SQL dump…
    active
    /homepages/35/d30352212/htdocs/winton
    2014-03-20 02:14:110

    and the last few lines of the log file;
    [2014-03-20 02:14:11] Archiving /homepages/35/d30352212/htdocs/winton/index.php…
    [2014-03-20 02:14:11] Archiving /homepages/35/d30352212/htdocs/winton/backup…
    [2014-03-20 02:14:11] Archiving /homepages/35/d30352212/htdocs/winton/wp-phpinfo.php…
    [2014-03-20 02:14:11] Archiving /homepages/35/d30352212/htdocs/winton/makezip.php…
    [2014-03-20 02:14:11] Archiving /homepages/35/d30352212/htdocs/winton/plugins…
    [2014-03-20 02:14:11] Archiving SQL dump..

    Plugin Author Greg Ross

    (@gregross)

    Try the 2.0 release and enable the artificial delay option, see if the backup completes.

Viewing 15 replies - 46 through 60 (of 76 total)
  • The topic ‘Backup Failed’ is closed to new replies.