Quantcast
Channel: Backup and restore
Viewing all 6639 articles
Browse latest View live

Re: Unable to backup beyond 2GB backup files

$
0
0
by Eugene Matusov.  

Thanks, Ken. I Googled and found the following information about 2GB limitation of uploading big files on IIS8/ASP.NET: http://ajaxuploader.com/large-file-upload-iis-asp-net.htm

But I followed their suggestions of how to increase the limit to 4GB (by changing maxAllowedContentLength to 4294967290 in web.config), I still was not able to backup or restore a course with its back of 2.9GB sad

Any other ideas?

Eugene


Re: Unable to backup beyond 2GB backup files

$
0
0
by Ken Task.  

Nope!  No other ideas on a 'foreign platform' (for me anyway).

Surely your chosen platform can do this, however. ;)

Keep digging!

'spirit of sharing', Ken

Re: Unable to backup beyond 2GB backup files

$
0
0
by Colin Fraser.  

Servers can be throttled. Anyone looked at the server? 

Try this: https://msdn.microsoft.com/en-us/library/ee677221(v=azure.10).aspx. You using products from the Dark Side.  

2GB is pretty big file and most network admins would thing "Ahh who would ever use a file that size?" but put the throttle in place as field that can be filled, irrespective of whether it is useful or not. Not that long ago we were marveling at having 40MB HDD, then it was 1GB, then 1TB. A throttle setting may have been set in the original install and not adjusted since without anyone realizing it. My understanding is that since about V2.5 or v2.6 the "experimental" backup routines became core, allowing 4GB backup filesizes. Server maybe.    

Re: Unable to backup beyond 2GB backup files

$
0
0
by Ken Task.  

Working out of my element here ... ie, don't run 'Wonder' ... but can Google! ;)

http://www.webtrenches.com/post.cfm/iis7-file-upload-size-limits

article suggest there are two places for settings ...

there is an alternate solution that can be enabled at the site level rather than server-wide.

<system.webServer>
        <security>
            <requestFiltering>
                <requestLimits maxAllowedContentLength="524288000"/>
            </requestFiltering>
        </security>
</system.webServer>

IIS7 article.

Was the service restarted after making changes?

And, think I'd set the value to something higher than 2 or 4 Gig ... Moodles only grow, they don't shrink.   From what you've described, 30 Gig may not be in-appropriate.

Ok, now I am REALLY out of ideas for that platform! ;)

'spirit of sharing', Ken

Re: Unable to backup beyond 2GB backup files

$
0
0
by Eugene Matusov.  

Dear Ken--

Thanks for the suggestion that I tried. Unfortunately, it did not help to exceed 2GB for Moodle backup (or restore).

Let me check it with you (and other colleagues). Is it true that on non-Window, non-ISS server platform, it is possible to make Moodle back up bigger than 2GB? In other words, I want to make sure that the problem is in ISS.

Thanks,

Eugene

Re: Unable to backup beyond 2GB backup files

$
0
0
by Eugene Matusov.  

Dear Colin--

Thanks for your reply.

I am running Moodle 2.9.1 that is supposed to allow 4GB back filesizes but I cannot make back up bigger than 2GB. Ken Task has a suspicion that the problem is rooted in my Windows 2012R platform , in some settings of IIS 8. I checked it but I couldn't find anything wrong in my settings that should allow to handle 4GB files. I cannot find any settings in PHP, MySQL or moodle that can solve the problem.

Any ideas?

Eugene

Re: Unable to backup beyond 2GB backup files

$
0
0
by Ken Task.  

Even if I don't run Windows, it is in-deed a setting in IIS ... Google searches show it's a common problem with IIS 7 (at least) and IIS 8.

Can large courses (over 2Gig) be backed up and restored on other platforms?

yes.

Example of one I help administer:

CentOS el6.x86_64

PHP 5.5.30 Zend Engine v2.5.0, mysql  5.5.31, Apache/2.2.15 (Unix)

16 Gig Mem, 2 TB disk, Intel(R) Xeon(R) CPU X5550 @ 2.67GHz, 4 cores
on VMWare:

site is for an ISD 5044 Students/Teachers - used daily.   So much so the only time I can update/upgrade is after midnight!

423 courses total ... courses whose backup are over 1 Gig:

1.1G    .//backup-moodle2-course-184-ap_psych-20150830-1526.mbz
1.1G    .//backup-moodle2-course-385-hpmala-20150830-1735.mbz
1.2G    .//backup-moodle2-course-47-diabetes-20150830-1342.mbz
1.2G    .//backup-moodle2-course-9-pre-calculus-20150830-1321.mbz
1.3G    .//backup-moodle2-course-223-drawing_ii-20150830-1612.mbz
1.4G    .//backup-moodle2-course-4-government-20150830-1248.mbz
1.5G    .//backup-moodle2-course-126-algebra_1-20150830-1435.mbz
1.5G    .//backup-moodle2-course-243-tag-20150830-1641.mbz
1.5G    .//backup-moodle2-course-61-geometry_preap-20150830-1348.mbz
1.6G    .//backup-moodle2-course-215-bio_bb-g-20150830-1602.mbz
1.6G    .//backup-moodle2-course-224-ceramics-20150830-1614.mbz
1.6G    .//backup-moodle2-course-40-forensics-20150830-1337.mbz
1.8G    .//backup-moodle2-course-266-psy-20150830-1651.mbz
1.8G    .//backup-moodle2-course-426-psych-20150830-1742.mbz
2.1G    .//backup-moodle2-course-323-7thtcela-20150830-1714.mbz
2.1G    .//backup-moodle2-course-7-fa-photo-20150830-1317.mbz
2.1G    .//backup-moodle2-course-90-español_1-20150830-1408.mbz
2.2G    .//backup-moodle2-course-108-fa-arti-20150830-1425.mbz
2.7G    .//backup-moodle2-course-287-simoneaux-20150830-1704.mbz
2.7G    .//backup-moodle2-course-370-bsoccer-20150830-1723.mbz
2.7G    .//backup-moodle2-course-99-geo-20150830-1416.mbz
2.8G    .//backup-moodle2-course-222-art_one-20150830-1608.mbz
3.3G    .//backup-moodle2-course-231-algebra_2_pap_tag-20150830-1618.mbz
3.4G    .//backup-moodle2-course-180-alg2pap-20150830-1518.mbz
3.6G    .//backup-moodle2-course-128-powers-20150830-1440.mbz
6.1G    .//backup-moodle2-course-242-pre-ap_wg-20150830-1628.mbz
9.4G    .//backup-moodle2-course-148-sp1b-20150830-1454.mbz

And that was back just before the start of this academic year.   The last 2 probably had not been re-set at the time of the command line backup run.

The last two courses have to be backed up via command line as the OS has an issue with *copying* files over 4Gig from one location to another.   Must use 'mv' instead.   Known issue with this OS.

Restores of such courses have to be made from file system repo.   Courses are uploaded to a file system repo via scp.

'spirit of sharing', Ken


Re: Unable to backup beyond 2GB backup files


Re: Unable to backup beyond 2GB backup files

$
0
0
by Colin Fraser.  

Well, if it is not a setting in IIS Manager, then the only other thing it may be is that there is an AppFrabric cmdlet that is throttling the server. That is of course, if the server is the issue. But reading Matteo's post that suggests a limitation that is just not going to be gotten around programmatically. The throttling was my one shot, as I can't see if anyone else suggested it and it is pretty uncommon these days but it is possible. 

I suspect Matteo is correct, then until you change your version of PHP to a 64 bit, you have hit your limit. AFAIK, 2GB is the limit of PHP 32bit simply because the used integer type is signed which limits file sizes to 231-1, ie. 2GB. 

Re: Unable to backup beyond 2GB backup files

$
0
0
by Ken Task.  

Thanks, Matteo!  Had reached beyond my 'comfort zone'! ;)   So I was wrong ... not IIS but PHP.

Wondering ...

http://windows.php.net/qa/

x86_64 Builds

The x64 builds of PHP 5 for Windows are experimental, and do not provide 64-bit integer or large file support.

PHP 7 provides full 64-bit support. The x64 builds of PHP 7 support native 64-bit integers, LFS, memory_limit and much more.

QA binaries are NOT intended for production use; please use the binaries at PHP Windows downloads.

http://windows.php.net/download/

Anyone run PHP 7 on Windows verify 2gig+ file support backups?   Supposedly, PHP 7 supports in Moodle have been 'back-ported' to 2.9.latest when 3.0.1 was released.

'spirit of sharing', Ken

Re: Unable to backup beyond 2GB backup files

Re: Unable to backup beyond 2GB backup files

$
0
0
by Eugene Matusov.  

Dear Ken--

Thanks for your reply but it seems not what I asked you. I can backup many-many courses. But EACH course backup has to be less than 2GB. One of the courses that I could successfully back up (and restore) was 1.7GB. Sorry for being not very articulate. I have courses, which backups are up to 5GB that I cannot back up (or restore).

My question is the following. Could you back up A course, which backup is bigger than 2GB on non-Windows, non-IIS server?

Thanks,

Eugene

Re: Unable to backup beyond 2GB backup files

$
0
0
by Ken Task.  

Uhhh ... nope!  Not what you asked ...

"Let me check it with you (and other colleagues). Is it true that on non-Window, non-ISS server platform, it is possible to make Moodle back up bigger than 2GB? In other words, I want to make sure that the problem is in ISS."

So was verifying that indeed backups larger than 2 Gigs could be made on Linux platforms - 64bit systems.

Thought @Matteo Scaramuccia determined that it is a Windows/PHP issue ... 32bit.   Follow the link he provided.

'spirit of sharing', Ken


Re: Unable to backup beyond 2GB backup files

$
0
0
by Eugene Matusov.  

Dear Matteo--

I run Moodle 2.9.1 that runs the mbz new type of Moodle backup.

Thanks for the tip about 32-bit PHP. My system is all 64-bit (Windows and MySQL) but not PHP.

Eugene

Re: Unable to backup beyond 2GB backup files

$
0
0
by Eugene Matusov.  

Thanks, Colin! My system is 64-bit (Windows 2012R and MySQL) but my PHP is 32-bit.

Eugene


Re: Unable to backup beyond 2GB backup files

$
0
0
by Eugene Matusov.  

Thanks, Ken. This is very helpful.

I wonder if I should try to experiment with PHP 7.0.1 (64-bit) on Moodle 2.9.1. I know that Moodle 3.0.1 was successfully tested with PHP7.0.1. I wonder if Moodle 2.9.1 will work as well (at least for making backups)...

What do you think?

Eugene

Re: Unable to backup beyond 2GB backup files

$
0
0
by Eugene Matusov.  

Thanks, Matteo. After reading your helpful links, I wonder if I should wait for summer before installing 64-bit PHP 7.X and Moodle 3.x to make sure that they are stable and all my used plugins are updated as well.

Take care,

Eugene

Re: Unable to backup beyond 2GB backup files

$
0
0
by Ken Task.  

See @Matteo's response and link.

'spirit of sharing', Ken

Re: Unable to backup beyond 2GB backup files

$
0
0
by Eugene Matusov.  

Thanks a lot, Ken, for all your help!

Eugene

Re: IMS CC not woking in backup

$
0
0
by Darko Miletić.  

Could you clarify your issue a bit?

Viewing all 6639 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>