---
title: Why does my SimpleRisk Backup fail during Upgrade?
description: why does my simplerisk backup fail during upgrade
---

[Skip to content](https://support.simplerisk.com/kb/why-does-my-simplerisk-backup-fail-during-upgrade#main-content)

English

Show submenu for translations

[Customer portal](https://support.simplerisk.com/tickets?hsLang=en)

[![SimpleRisk logo of a man walking a tight rope](https://support.simplerisk.com/hs-fs/hubfs/simplerisk_logo_long_small-4.png?width=377&height=72&name=simplerisk_logo_long_small-4.png)](https://www.simplerisk.com/)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Customer portal](https://support.simplerisk.com/tickets)
- [Contact us](https://www.simplerisk.com/about-us/contact-us)

[Contact us](https://www.simplerisk.com/about-us/contact-us)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [SimpleRisk Knowledge Base](https://support.simplerisk.com/kb?hsLang=en)
2. [Troubleshooting](https://support.simplerisk.com/kb/troubleshooting?hsLang=en)

# Why does my SimpleRisk Backup fail during Upgrade?

## With the release of SimpleRisk version 20200305-001 we have crossed a barrier in application size of 128MB. By default PHP in most builds has a memory\_limit of 128MB. In this short faq we will cover updating your php.ini so when the application tries to backup the app files the system is successful.

First, we need to locate your \`php.ini\` file, which is essential for configuring PHP settings on your server. The location of this file can vary based on the version of Linux you are using. Below are the common paths where you might find the \`php.ini\` file. Please replace the "X" with your specific PHP version number to navigate to the correct directory:

\- \`/etc/php.ini\`  
\- \`/etc/php/phpX.X/php.ini\`  
\- \`/etc/php/php.ini\`

Once you have identified and opened the \`php.ini\` file using your preferred file editor (for example, \`nano\`, \`vi\`, or \`vim\`), you will need to search for the \`memory\_limit\` configuration setting. In \`vi\`, you can do this by typing \`/memory\_limit\` and pressing Enter. It is important to set the memory limit carefully; avoid setting it close to the total RAM allocated for your server to prevent performance issues.

If you're uncertain about the right value to use, a safe starting point is to set the memory limit to 256MB. If you feel confident and your applications require more resources, you could increase it to 512MB. Keep in mind that the configuration requires a specific format for the size identifier. Here are some examples of valid configurations that you can use, all of which are acceptable:

\- \`memory\_limit=256M\` (This sets the limit to 256 megabytes.)  
\- \`memory\_limit=256000K\` (This sets the limit to 256,000 kilobytes.)  
\- \`memory\_limit=268435456\` (This sets the limit to 268,435,456 bytes, which is equivalent to 256 megabytes.)

After making the necessary changes in the \`php.ini\` file, make sure to save your edits. The next step is to restart the Apache server for the changes to take effect. Depending on the Linux distribution you are using, the command to restart Apache may differ. Below are the commands that you can use:

\- \`systemctl restart apache2\` (for systems that use systemd)  
\- \`systemctl restart httpd\` (for systems that use systemd)  
\- \`service apache2 restart\` (for older systems using the service command)  
\- \`service httpd restart\` (for older systems using the service command)

Once you have executed the appropriate command for your system, the changes you made to the \`memory\_limit\` will now be applied, completing the necessary adjustments for your PHP configuration.

 

### Summary

You have now updated your PHP memory\_limit to allow your SimpleRisk backup to go through. If you are still having problems with the backup phase of the update please review your apache error log “/var/log/apache2/error.log” in most cases and send the contents to [support@simplerisk.com](mailto:support@simplerisk.com) and we will be happy to assist you.

- [FAQs](https://support.simplerisk.com/kb/faqs?hsLang=en)
- [SimpleRisk Extras](https://support.simplerisk.com/kb/simplerisk-extras?hsLang=en#main-content)

    - [Vulnerability Management Extra](https://support.simplerisk.com/kb/simplerisk-extras?hsLang=en#vulnerability-management-extra)
    - [Team Separation Extra](https://support.simplerisk.com/kb/simplerisk-extras?hsLang=en#team-separation-extra)
    - [Import-Export Extra](https://support.simplerisk.com/kb/simplerisk-extras?hsLang=en#import-export-extra)
- [Administrator Guide](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#main-content)

    - [00 About This Guide](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#00-about-this-guide)
    - [01 Installation and Deployment](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#01-installation-and-deployment)
    - [02 Upgrades and Maintenance](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#02-upgrades-and-maintenance)
    - [03 Users and Permissions](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#03-users-and-permissions)
    - [04 Authentication](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#04-authentication)
    - [05 Customization](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#05-customization)
    - [06 Configuring Risk and Compliance](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#06-configuring-risk-and-compliance)
    - [07 Integrations](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#07-integrations)
    - [08 The API](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#08-the-api)
    - [09 Encryption and Data Security](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#09-encryption-and-data-security)
    - [10 Workflows and Automation](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#10-workflows-and-automation)
    - [11 Reporting and Auditing](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#11-reporting-and-auditing)
    - [12 Operations](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#12-operations)
    - [13 Reference](https://support.simplerisk.com/kb/administrator-guide?hsLang=en#13-reference)
- [User Guide](https://support.simplerisk.com/kb/user-guide?hsLang=en#main-content)

    - [00 Foundations of GRC](https://support.simplerisk.com/kb/user-guide?hsLang=en#00-foundations-of-grc)
    - [01 Risk Management](https://support.simplerisk.com/kb/user-guide?hsLang=en#01-risk-management)
    - [02 Compliance Management](https://support.simplerisk.com/kb/user-guide?hsLang=en#02-compliance-management)
    - [03 Governance](https://support.simplerisk.com/kb/user-guide?hsLang=en#03-governance)
    - [04 Asset and Data Inventory](https://support.simplerisk.com/kb/user-guide?hsLang=en#04-asset-and-data-inventory)
    - [05 Threat and Vulnerability Management](https://support.simplerisk.com/kb/user-guide?hsLang=en#05-threat-and-vulnerability-management)
    - [06 Assessments](https://support.simplerisk.com/kb/user-guide?hsLang=en#06-assessments)
    - [07 Incident Management](https://support.simplerisk.com/kb/user-guide?hsLang=en#07-incident-management)
    - [08 Audit and Reporting](https://support.simplerisk.com/kb/user-guide?hsLang=en#08-audit-and-reporting)
    - [09 Day-to-Day SimpleRisk](https://support.simplerisk.com/kb/user-guide?hsLang=en#09-day-to-day-simplerisk)
    - [10 Continuous Improvement](https://support.simplerisk.com/kb/user-guide?hsLang=en#10-continuous-improvement)
- [SimpleRisk User Guides](https://support.simplerisk.com/kb/simplerisk-user-guides?hsLang=en)
- [Troubleshooting](https://support.simplerisk.com/kb/troubleshooting?hsLang=en)
- [SimpleRisk Hosted](https://support.simplerisk.com/kb/simplerisk-hosted?hsLang=en)
- [How To videos](https://support.simplerisk.com/kb/how-to-videos?hsLang=en)

[![favicon-1](https://support.simplerisk.com/hs-fs/hubfs/favicon-1.png?width=35&height=35&name=favicon-1.png "favicon-1")](https://www.simplerisk.com)

<https://www.facebook.com/simplerisk/> <https://www.twitter.com/simpleriskfree/> <https://www.linkedin.com/company/simplerisk/>

Copyright © 2026, SimpleRisk, Inc.