support

Author Topic: Backup and Restore  (Read 6802 times)

Offline databit

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Backup and Restore
« on: April 20, 2025, 06:27:48 PM »
when selecting backup/restore I get a delay then an blank error page. PHP.ini memory is set to 512MB, upload to 1G, write permission to backup folder in admin/system/backup folder. tried turning other items on/off in there. still occurring. currently a "free" user and am trialing the software
PAGE:
This page isn’t working
websiteaddress.*.* is currently unable to handle this request.
HTTP ERROR 500

LOGS:
2025-04-20 22:40:31 - error:  AbanteCart core v.1.4.1 Maximum execution time of 30 seconds exceeded in /home/dir/sitename.*.*/admin/model/tool/backup.php on line 476

Not sure what else to do
« Last Edit: April 20, 2025, 06:42:08 PM by databit »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6126
  • Karma: +284/-2
    • View Profile
Re: Backup and Restore
« Reply #1 on: April 21, 2025, 01:09:49 AM »
Hello.
Backup script is running into the default PHP 30-second execution timeout, which is quite common when trying to back up large stores, especially if you’re including resources and core files in the backup.

If you’re attempting a full backup (database, images, and core files), it’s actually recommended to perform this via your hosting control panel.

Offline databit

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Backup and Restore
« Reply #2 on: April 21, 2025, 04:52:03 PM »
Thankyou for the reply, I do have a daily backup running in my Cpanel. My store is not very big. The issue has occurred from when the site was empty and cleanly setup with all my preferences.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6126
  • Karma: +284/-2
    • View Profile
Re: Backup and Restore
« Reply #3 on: April 22, 2025, 02:22:56 AM »
Hello.

Since the issue started even with a clean setup, it might be related to your hosting environment. Many shared hosting plans come with limited resources, particularly RAM or CPU, which can cause unexpected timeouts or slowdowns.

You might want to try increasing the PHP timeout in your hosting control panel (usually in the PHP settings section of cPanel).

Offline databit

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Backup and Restore
« Reply #4 on: May 22, 2025, 11:54:07 PM »
Thanks for the reply, The issue occurs when clicking on backup/restore. I actually cant get past that to start an actual backup or choose any options to backup. The page just goes blank and seems to timeout then return after a little while and I have to log back into the admin panel. I have increase php timeouts and memory options.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 6126
  • Karma: +284/-2
    • View Profile
Re: Backup and Restore
« Reply #5 on: May 23, 2025, 01:56:39 AM »
Hello.

Please note that the AbanteCart backup tool relies heavily on the server’s PHP configuration and available resources. It is not designed to override hosting limitations such as execution time, memory availability, or CPU usage. Because of this, we recommend treating the built-in backup feature as a convenience tool rather than a full-featured or primary backup solution — especially for limited hosting environments.

For reliable and complete backups (both database and files), it’s best to use the backup utilities provided by your hosting control panel (such as cPanel or Plesk). These tools operate outside the execution limits and are much more efficient for larger operations.

 

Powered by SMFPacks Social Login Mod