It is crucial to ensure that your WordPress data is secure and can be restored in case of any issues. When hosting WordPress on the Cloudjiffy Application Platform, you can easily create and restore backups of your WordPress environment using the dedicated WordPress Backup/Restore add-on. It is compatible with all the pre-packaged WordPress installations on the Cloudjiffy Application Platform and provides the following benefits:
- Standalone and Cluster Compatibility: The add-on works with both standalone and cluster WordPress environments, allowing you to back up your application regardless of the deployment type.
- Automated Backups: The add-on allows you to schedule automatic backups of your WordPress environment, ensuring that your data is regularly saved without manual intervention.
- Flexible Scheduling: You can choose from pre-defined backup intervals (hourly, daily, weekly, monthly) or set a custom schedule based on your needs, including specific time zones.
- Manual Backups: In addition to scheduled backups, you can also create manual backups at any time, providing flexibility for urgent data protection needs.
- Easy Restoration: In case of data loss or corruption, you can quickly restore your WordPress environment from a backup, minimizing downtime and ensuring business continuity.
- Database and Files Backup: The add-on backs up both the WordPress database and files, ensuring that all your content, themes, plugins, and settings are preserved.
- Integration with Backup Storage: The add-on works seamlessly with the Backup Storage to automatically create and store backups on remote storage, providing an additional layer of security and reliability.
Add-On Installation
Before starting the add-on installation, you need to create a dedicated storage instance to keep all the backup data.
- If you don’t have one, it can be created in a few minutes using the dedicated Backup Storage package in the platform Marketplace.
If you already have such storage, you can skip to the fourth step.
- Within the installation window, you can choose between the Standalone and Cluster storage options. Next, specify the preferred Number of nodes (for the Cluster option) and Storage size. Finalize by providing the standard data:
-
- Environment – environment domain name
- Display Name – environment’s alias
- Region – environment’s region (if multiple ones are available)
- Click the Install button and wait several minutes for the storage to be created. It will be automatically added to the “Backup storage nodes” group.
- Once the storage is ready, you can install the backup add-on. Hover over your WordPress application server or database and click the Add-Ons icon.
Locate the required WordPress Backup/Restore add-on and click Install.
Provide the following data:
Choose scheduling option
- Pre-defined – select from a list of standard backup intervals (hourly, daily, weekly, monthly)
- Custom – choose the exact Time, required Days of the week, and Time Zone
Manual (crontab) - provide a simple cron-based expression (using the UTC zone) to schedule backups
- Backup storage – choose from the list of backup storages installed on the account
- Number of backups – set the number of the newest backups to keep
- Always unmount – enable to always unmount the backup storage after the backup process is completed
Click Install, and the add-on will be added to the selected node in a minute.
Now, you can just wait for the specified time for backups to be created. If you want to manually create a backup or make any changes to the add-on settings, you can do it via the add-on’s UI.
Manage Add-On
After the installation, the add-on will be available in the Add-Ons section of the application server. It provides the following actions:
- Backup Now – creates an immediate backup
- Configure – adjusts parameters specified during the creation (schedule, storage node, quantity of backups)
- Restore – restores from backup
- Uninstall – removes the backup add-on
Backup WordPress
Backup action can be started automatically according to the predefined schedule or manually via the add-on’s UI. Once the backup action is invoked, the following steps take place:
- Backup Storage is mounted via NFS4 to the application server node.
- A database dump is generated to the flat file.
- The backup snapshot is created.
- The backup snapshot comprises the database dump file and web application directory (/var/www/webroot/ROOT/).
Restore WordPress from Backup
WordPress restoration from the backup overrides all the existing data. Any recent changes that were made since the backup creation will be permanently lost.
In order to restore your WordPress application from a backup, you need to select the Restore option for the add-on. A dialogue window with the following options will be opened:
- Restore from – choose the target environment (multiple options may be available if the backup add-on is used on several environments)
- Backup – select from a list of backups for the selected environment (names contain timestamps for quick identification)
Click Restore and confirm via pop-up. Once initiated, the action cannot be canceled or reverted. You’ll see the success notification in the dashboard after the process completion.