The "Export" button correctly creates a copy of a site backup file in /data/disk/o1/backup-exports, and the "Get" button downloads that file to your local computer. Works fine for *.gz backup files at least up to 50MB, but fails for files over 200MB or so.

Fortunately, the fix is quite simple. In the function 'hosting_site_backup_manager.module' add two flush related statements:

line 347:

      while (!feof($fd)) {
        print fread($fd, 1024);
+     ob_flush();
+     flush();
      }

Thanks for all the fish!

-- Cronin

PS - Here's where I found a discussion of downloading large files:
http://stackoverflow.com/questions/597159/downloading-large-files-reliab...

Comments

cvining created an issue. See original summary.

cvining’s picture

Issue summary: View changes

  • helmo committed b3aff4c on 7.x-3.x
    Issue #2788995 by cvining: 'Get' fails for exporting large backup files
    
helmo’s picture

Status: Active » Fixed

Thanks, committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.