Elxis CMS Forum

Support => General => Topic started by: bledi on December 22, 2016, 17:07:21

Title: BackUp File System
Post by: bledi on December 22, 2016, 17:07:21
When i try to backup the files in back end I get this notice by email:

A fatal error occured ...

The detailed error message was:
ERROR in file /home2/mtitrave/public_html/includes/libraries/elxis/helpers/zip.helper.php line 206 Maximum execution time of 30 seconds exceeded.

The file system also it is not completed, it keeps running... but not saving the fs_www.domai...
Title: Re: BackUp File System
Post by: webgift on December 25, 2016, 14:31:39
Hello!
This PHP Fatal error is triggered when 'max_execution_time' value from php.ini (configuration
file) has lower value (in seconds) in compare with the time script needed in order to complete
the request.

You can increase it in order to complete the request. Contact with your hosting provider.
Title: Re: BackUp File System
Post by: bledi on December 27, 2016, 17:15:35
OK, thanks webgift.My host (hostgator) does not increase the 'max_execution_time' on shared servers... :-[
So i will use ftp in the future.
Title: Re: BackUp File System
Post by: datahell on December 28, 2016, 18:45:48
This can happen if
1. your server is slow, or overloaded, or has small RAM (especially if your file-system is huge - see case 2). You can try at night, when server processes as less
and/or
2. your site's file-system is very big (you have for example many images uploaded, many extensions installed, etc).

In order for the file-system backup to succeed a zip containing all site's files must be generated and this is a CPU/RAM demanding task. In most cases a file-system backup takes 5 to 15 seconds to be generated.