This page contains the most common problems related to the Snapshot backup plugin V.4.X.X.X and how to solve them.
In general, Snapshot gets some errors when WordPress is with limited access to the resources of the server. You can check if your WordPress installation has the necessary resources available in the following path:
Your WP Admin > Tools > Site Health > Info > Server
After access the path above you can check if your site has the necessary resource available. If not, you’ll need to do some additional configurations on your site. The additional configurations that you can put on wp-config.php file should be made according to the plugin API return that occurs when the backups fail and not get complete.
See the snippet below for learn how and when to do these additional configurations:
In some cases, the backup gets stuck on 0% or maybe the plugin gets some message like this:
A connection with the API couldn't be established.
To solve these problems, you can put the IP’s from Snapshot API in the allowed list on your server firewall or ask your host company to do this. If you use Cloudflare firewall or any other service like this, also put these IP’s in the allowed list of these services.
List of IP’s to put in the allowed list of your firewalls:
After implementing these recommendations above, you probably should be able to connect with the Snapshot API.
This section contains some fixes that need access to the database of the site.
Sometimes, when you tried to change the backup schedule date you gets this error:
Request for a backup schedule was not successful.
It uses to occur when the wp_snapshot_backup_schedule option gets corrupted on your database and the biggest problem is that when this occur, generally even the manual backup not works and gets stuck on 14%.
To solve this, you can search in the wp_options table (if you use a custom prefix, replace wp_ by it) for an option name called wp_snapshot_backup_schedule and delete it – see the following screenshot for more details…
If you don’t have access to the database but have (S)FTP access, use the snippet below:
Read the description and the comments of the Snippet above to learn how to use this option correctly. For more information about the folder mu-plugins, click here.
Another common problem is the error of backup when the database contains some views, the snippet below solves this problem.
IMPORTANT: You can install the snippet gs-snapshot-skip-views.php in your WordPress site like a normal plugin, but I recommend that you installing it like a must-use plugin to avoid that it was disabled by mistake. 😉