Magento 2 Tutorials

How to Fix Backup Issues in Magento 2?

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 4.75 out of 5)
Loading...Loading...
How to Fix Backup Issues in Magento 2

If you’re facing backup issues in your Magento 2 store, you’ve come to the right place.

Today, we’re going to teach you guys how to fix backup issues in Magneto 2.

Sometimes, automatic backups stop being created in both, Magento Open-Source as well as in Magento Enterprise stores. 

This happens mainly because of 4 different reasons. And in this post, we will show you how to fix this backup issue in each situation. 

#1 – Disabled Backups Issue

One of the most common reasons why backups stop being created in Magento 2 stores is because of the disabled functionality.

Many times, the automatic backup feature gets turned off for some reason occasionally and you start receiving the following notification.

“Backup functionality is disabled.”

Or

“Backup functionality is currently disabled. Please use other means for backups.”

When this happens, the solution is, of course, obvious. – You need to re-enable the functionality. 

And to do that, you need to execute the following CLI command:

bin/magento config:set system/backup/functionality_enabled 1

#2 – Disk Space Issue

If you have already confirmed that the automatic backup functionality is enabled and yet the backups are still not being created, then it might be because of insufficient disk space.

But the good news is, the solution to this problem is even simpler than the above. All you need to do is free up disk space.

Try moving some files to another storage or delete unwanted files from the server and that’s it!

Once you’ve freed up enough space, Magento 2 will automatically start creating backups again.

#3 – Trouble with Operating System

If you find that an operating system error is preventing your Magento 2 store to create automatic backups, you either need to contact your admin or look for external help on public forums.

Due to a huge variety of factors that ultimately caused the problem, there isn’t any specific solution for this. 

However, we do suggest checking GitHub as it has proven to be very helpful to many store owners facing operation system error causing backup issues.

#4 – File System Permissions

Another reason why automatic backup issues occur in Magento 2 store is due to wrong file system permissions

In simple words, if a Magento file system owner does not have required permissions, privileges or ownership rights, then it might cause the backup issue in Magento 2.

Now, if you believe that this is the cause of the backup issue in your Magento 2 store, we recommend checking the file system permissions and ownership of <magento_root>/var directory and its subfolders.

And if you do not have complete permissions and ownership, change it to gain the complete access and the issue will be resolved.

Concluding Thoughts…

So, these are the main solutions you can use if a backup issue occurs in your Magento 2 store.

We hope that you found this post useful. If you still have questions, please ask them in the comments below.

And if you need our professional help, feel free to contact us at any time.

Recommended: How to Fix Upgrade Issues in Magento 2?

You may also like
Disable Custom Block Caching in Magento 2
How to Disable Custom Block Caching in Magento 2?
How to Enable, Disable & Uninstall Module in Magento 2
How to Enable / Disable & Uninstall a Module in Magento 2?

Leave Your Comment

Your Comment*

Your Name*