backup
Last commit date
config
1 year ago
languages
10 months ago
public
18 hours ago
src
18 hours ago
templates
1 year ago
README.txt
18 hours ago
backup.php
18 hours ago
README.txt
286 lines
| 1 | === JetBackup - Backup, Restore & Migrate === |
| 2 | Plugin Name: JetBackup |
| 3 | Contributors: backupguard, elialum |
| 4 | Author: JetBackup |
| 5 | Donate link: https://www.jetbackup.com/jetbackup-for-wordpress |
| 6 | Tags: backup, restore, remote backup |
| 7 | Requires at least: 6.0 |
| 8 | Tested up to: 7.0.0 |
| 9 | Requires PHP: 7.4 |
| 10 | Stable tag: 3.1.22.3 |
| 11 | License: GPLv2 or later |
| 12 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 13 | |
| 14 | Backup, restore, and migrate WordPress sites fast. Supports TAR, remote backups, multi schedules, and full multisite compatibility. |
| 15 | |
| 16 | == Description == |
| 17 | JetBackup is a powerful, easy-to-use WordPress backup and migration plugin. Create full or partial backups, restore in 1 click, and migrate across domains or hosts. Supports TAR format, cloud storage, and full automation. |
| 18 | Download **JetBackup premium versions** here: [https://www.jetbackup.com/jetbackup-for-wordpress](https://www.jetbackup.com/jetbackup-for-wordpress). |
| 19 | [See JetBackup in Action Here!](https://youtu.be/IEyxa2zFS9o) |
| 20 | |
| 21 | ### **Free Features** |
| 22 | - **Free Cloud Storage** - 2 GB of free off site [premium cloud storage](https://www.jetbackup.com/jetbackup-storage/) |
| 23 | - **Unlimited backup** - create as many backups as you want, there is no limit |
| 24 | - **Backup files, database or both** - you can backup your database or files, or both |
| 25 | - **Unlimited restore** - restore any backup file whenever needed |
| 26 | - **Download backup** - download your backup files for migration |
| 27 | - **Import backup** - upload your backup file to restore it right away |
| 28 | - **Backup cancellation** - cancel the backup process while it is not finished yet |
| 29 | - **Manage backups** - delete backups, view backup or restore log |
| 30 | - **Backup customization** - you choose which folders you want to backup |
| 31 | - **Live progress** - precise progress of the current backup and restore process |
| 32 | - **Export Backups** - Export backups to hosting control panels (supports cPanel & DirectAdmin) |
| 33 | - **MultiSite** - Multisite support with selective subsite restore. |
| 34 | - **Website migration** - migrate your website from one hosting/domain to another one |
| 35 | - **Scheduled backup** - set the frequency and time to perform automatic backup |
| 36 | - **Multiple scheduled profiles** - schedule your database and files to backup with different frequencies |
| 37 | - **Backup retention** - specify the number of backups you want to keep on your server |
| 38 | |
| 39 | ### **Premium Features** |
| 40 | |
| 41 | - **Off Site Backups** - Support for offsite remote backup destinations: Amazon S3 (and compatible), FTP, SFTP, Google Drive, One Drive, DropBox, Box, pCloud |
| 42 | – **24/7 Premium Support** – Industry-leading support with a **15-minute SLA**. |
| 43 | |
| 44 | ### **Documentation** |
| 45 | The **documentation** can be found here: [https://www.jetbackup.com/jetbackup-for-wordpress](https://www.jetbackup.com/jetbackup-for-wordpress). |
| 46 | |
| 47 | ### **Why JetBackup?** |
| 48 | – **No extra libraries required** |
| 49 | – **Supports large websites** |
| 50 | – **Uses TAR archives for efficient storage** |
| 51 | – **Optimized for low-memory & shared hosting** |
| 52 | – **Seamless migration with serialized data refactoring** |
| 53 | |
| 54 | ### **Minimum Requirements** |
| 55 | – **WordPress**: 6.0 or higher |
| 56 | – **PHP**: 7.4 or higher (requires zlib & cURL) |
| 57 | |
| 58 | ### **Support** |
| 59 | [https://www.jetbackup.com/jetbackup-for-wordpress/support](https://www.jetbackup.com/jetbackup-for-wordpress/support) |
| 60 | |
| 61 | == Installation == |
| 62 | |
| 63 | ### **Installation Instructions** |
| 64 | - For **JetBackup Free**, follow [these steps](https://www.jetbackup.com/jetbackup-for-wordpress/doc/install-jetbackup-free). |
| 65 | - For **JetBackup Premium**, follow [these steps](https://www.jetbackup.com/jetbackup-for-wordpress/doc/install-jetbackup-pro). |
| 66 | |
| 67 | == Frequently Asked Questions == |
| 68 | |
| 69 | = Why is it important to back up my website? = |
| 70 | Your website is at risk of data loss due to hacking, hardware failure, or accidental deletions. Regular backups ensure you can restore your website anytime. |
| 71 | |
| 72 | = How often should I create backups? = |
| 73 | It depends on how frequently your website content changes. Daily backups are ideal for dynamic sites, while weekly backups may be sufficient for static websites. |
| 74 | |
| 75 | = What is included in the free version? = |
| 76 | The free version allows unlimited backups and restores, migration capabilities, and local storage management. |
| 77 | |
| 78 | = Why upgrade to JetBackup Premium? = |
| 79 | Premium users get cloud storage options, scheduled backups, priority support, and advanced backup management. |
| 80 | |
| 81 | = What are the minimum requirements? = |
| 82 | JetBackup requires PHP 7.4+ and a Linux-based server for optimal performance. Windows is supported but may have limitations due to known PHP issues. |
| 83 | |
| 84 | = Is JetBackup suitable for migration? = |
| 85 | Yes! JetBackup creates an exact snapshot of your website. When restored, it maintains the same state, making migrations effortless. |
| 86 | |
| 87 | == Screenshots == |
| 88 | |
| 89 | 1. Advanced Scheduling |
| 90 | 2. Cloud Destinations |
| 91 | 3. Customized Backups |
| 92 | 4. Smart Migration |
| 93 | 5. Feature Settings |
| 94 | |
| 95 | == Changelog == |
| 96 | |
| 97 | = 3.1.22.3 = |
| 98 | * Added support for WordPress Abilities API integration (WordPress 6.9+). |
| 99 | * Tightened archive extraction security. |
| 100 | * Fixed some edge cases where failed AJAX requests were not displayed. |
| 101 | * Fixed a minor GUI issue where the confirmation checkbox was not visible in the Import & Restore dialog. |
| 102 | * Fixed a PHP notice when aborting a queue item. |
| 103 | |
| 104 | = 3.1.21.3 = |
| 105 | * Fixed S3 multipart upload resume for large files |
| 106 | * Added support for JetBackup Linux (v5.4+) dedupe engine |
| 107 | * Fixed a bug where the upload progress indicator could show incorrect percentage when a chunked upload resumes across multiple execution cycles |
| 108 | |
| 109 | = 3.1.20.3 = |
| 110 | * Improved CLI management commands (fixed validation issues, corrected argument handling). |
| 111 | * Fixed schedule inconsistencies and next-run calculation issues. |
| 112 | * Improved file handling and cleanup logic in upload processes. |
| 113 | |
| 114 | = 3.1.19.8 = |
| 115 | * Improved compatibility when restoring WordPress.com / WP Cloud-powered backups to non–WP Cloud environments. |
| 116 | * Socket API integration now shows clearer, more user-friendly compatibility check errors. |
| 117 | * Imported backups are now indexed, allowing multiple restores from the same backup without re-uploading. |
| 118 | * Reduced memory usage when indexing server-level backups with paginated fetching, socket timeouts, and progress tracking. |
| 119 | * Fixed backup failures and queue corruption on systems with non-standard character encodings in file names. |
| 120 | * Improved error logging – task errors are now visible in the job log within the GUI. |
| 121 | * Improved execution time handling for systems with low PHP time limits (30 seconds). |
| 122 | * Fixed potential timeout during compression on resource-constrained environments. |
| 123 | * Settings validation now only applies to fields that were actually changed, preventing unchanged invalid values from blocking unrelated settings updates. |
| 124 | |
| 125 | = 3.1.18.9 = |
| 126 | * Fix: Improved stability on some servers by preventing a rare cron crash. |
| 127 | * Tweak: “Available disk space” in System Info is now hidden by default to avoid confusion on quota-based hosts (it may show server-wide free space instead of your quota). |
| 128 | * Suppressed the WordPress multisite “Upgrade Network” admin notice inside JetBackup's pages |
| 129 | * Fix: Hardened install initialization to avoid fatal errors if installation cannot complete. |
| 130 | * Improved: Improved detection/compatibility for WP Cloud-powered platforms (WordPress.com / WP Cloud / Porkbun). |
| 131 | * Fixed: Retention cleanup not running for hourly scheduled backups due to schedule types not being associated with snapshots |
| 132 | * Fixed: Old JetBackup data directories from migrations no longer included in backups, reducing backup size inflation |
| 133 | |
| 134 | = 3.1.17.5 = |
| 135 | * Expanded JetStorage support with additional regions (London, Copenhagen & New York) for improved global coverage. |
| 136 | * Improved filesystem reliability with a new unified atomic-write layer used across progress, temp, and database metadata files. |
| 137 | * Improved queue handling to prevent duplicate “Already in queue” messages for scheduled jobs and retention cleanup. |
| 138 | * Hardened cron/command execution and crontab updates for more reliable shell handling across environments. |
| 139 | |
| 140 | = 3.1.16.1 = |
| 141 | * Fixed A regression in 3.1.15.4 where exclude paths were not applied correctly when using the default data directory location, causing backups to include extra files and grow in size. |
| 142 | |
| 143 | = 3.1.15.4 = |
| 144 | * Improved detection of WordPress installation root path. |
| 145 | * Now shows a helpful message when critical PHP functions are missing or disabled. |
| 146 | * Corrected weekly scheduling logic to properly support Sunday as a valid starting day. |
| 147 | * Added verbosity for gzip operations to provide clearer information when an error occurs. |
| 148 | * Added safety check to detect mismatched installations and automatically reset the data folder when needed. |
| 149 | |
| 150 | = 3.1.14.16 = |
| 151 | * Added support for environments using SQL mode `ONLY_FULL_GROUP_BY`. |
| 152 | * Added support for using an alternate `wp-config.php` path during restore. |
| 153 | * Fixed an issue where the restore log console could crash the browser when displaying large logs. |
| 154 | * Improved plugin activation checks to ensure required PHP extensions (like PDO) and minimum version requirements are met before activation. |
| 155 | |
| 156 | = 3.1.13.2 = |
| 157 | * Added: POSIX availability safeguard to prevent fatal errors on systems without the POSIX extension (Needed for Socket API server level backups). |
| 158 | * Improved Socket API (server-level backups) with built-in safeguards |
| 159 | * Changed: Clarified JetBackup Storage usage description in the UI/help text for better understanding. |
| 160 | |
| 161 | = 3.1.12.3 = |
| 162 | * Removed unnecessary front-end REST API entry point |
| 163 | * Fixed issue with migrating schedules from legacy version 2 |
| 164 | * Ensured temp folder is cleaned after a failed or aborted queue task |
| 165 | * Disabled JetBackup server-level integration button when Socket API is unavailable to prevent confusion |
| 166 | * Added destination file browser |
| 167 | * Enhanced downloader class for improved performance and reliability |
| 168 | * Limited nonce cookies to the admin area only to improve privacy |
| 169 | |
| 170 | = 3.1.11.1 = |
| 171 | * Added ability to translate JetBackup WordPress integrated menu items |
| 172 | * Ensured JetBackup SocketAPI integration is only available when supported by the server to prevent confusion |
| 173 | * Fixed a restore bug causing a fatal error when the `pdo_mysql` driver is not enabled; added a warning in the System Info page |
| 174 | * Fixed an issue causing "Memory limit exhausted" errors during downloads in some edge cases |
| 175 | |
| 176 | = 3.1.10.7 = |
| 177 | * Added JetBackup Storage for remote backups - includes free storage tier and available to all users (free & premium) |
| 178 | * Fixed an issue with the front-end REST API scheduler |
| 179 | * Added a 'Backup Now' button in the backup listing page for improved usability |
| 180 | * Database table list is now alphabetically sorted for easier navigation |
| 181 | * Fixed a critical bug where excluding a database table could, in rare cases, lead to data loss |
| 182 | * Fixed an edge case with parsing MySQL login credentials during the restore process |
| 183 | * Added more plugins to the general tables/files default global excludes |
| 184 | * Fixed a bug where adding a license key from the CLI did not work |
| 185 | * Fixed some issues where downloading remote log files didn't work in some edge cases |
| 186 | |
| 187 | = 3.1.9.2 = |
| 188 | * Improved the styling of the On/Off button for better visibility |
| 189 | * Fixed an issue when importing backups created on local Windows XAMPP servers |
| 190 | * Added an option to download logs from remote backups |
| 191 | * Added the ability to view logs directly (not just download them) |
| 192 | * Improved handling of language codes in the Moment.js library |
| 193 | * Added an onboarding video for new users |
| 194 | |
| 195 | = 3.1.8.3 = |
| 196 | * Fixed a bug to ensure that removing a snapshot no longer leaves behind orphaned items |
| 197 | * Enhanced server-level cache handling for improved performance |
| 198 | * Improved WP-CLI commands and overall usability |
| 199 | * Backup log files are now sent compressed to the destination |
| 200 | * Added support for email alerts with configurable frequency options |
| 201 | * Added an option to define alternate MySQL port |
| 202 | * Added progress to tar extract |
| 203 | * Added an option to view log files instead of only downloading them |
| 204 | |
| 205 | = 3.1.7.9 = |
| 206 | * Fully rewritten core, replacing the old BackupGuard plugin with code written by JetBackup team. |
| 207 | * Refreshed design with an improved user experience. |
| 208 | * Native support for TAR archives (replaces SGBP format). |
| 209 | * Integration with JetBackup at the server level—restore backups from your hosting provider. |
| 210 | * Smarter, more resilient system with resumable backup tasks. |
| 211 | * Multi-destination, multi-schedule, and multi-retention support. |
| 212 | * Intelligent scheduling: Prevents duplicate daily & weekly backups. |
| 213 | * Export backups to hosting control panels (supports cPanel & DirectAdmin). |
| 214 | * Full WP-CLI support for backup and restore commands. |
| 215 | * Enhanced GUI security with two-factor authentication (2FA). |
| 216 | * Daily WordPress core file integrity checks with admin notifications. |
| 217 | * Support for background server-level cron jobs for large tasks. |
| 218 | * Optimized for low-resource servers with minimal memory usage. |
| 219 | * Smart exclusions: Automatically excludes known temp files and database data. |
| 220 | * Option to clean up post revisions before each backup. |
| 221 | * Support for four update tiers: Alpha, Edge, Release Candidate, Stable. |
| 222 | * Multisite support with selective subsite restore. |
| 223 | * Advanced queue system manages all backup & restore tasks efficiently. |
| 224 | |
| 225 | = 2.0.0 = |
| 226 | * Plugin rebranded as "JetBackup" (formerly BackupGuard). |
| 227 | * Introduced BackupGuard v2 core. |
| 228 | |
| 229 | = 1.0 = |
| 230 | * Initial plugin release as "BackupGuard". |
| 231 | |
| 232 | == Upgrade Notice == |
| 233 | |
| 234 | = 3.1.5 = |
| 235 | *Important:* This is a fully rewritten core, replacing the old BackupGuard plugin. |
| 236 | |
| 237 | == Features == |
| 238 | ### **One-Click Backup** |
| 239 | Perform full or custom backups with a single click. |
| 240 | |
| 241 | ### **Reliable Restores** |
| 242 | Easily restore backups with a high success rate. |
| 243 | |
| 244 | ### **Download & Upload** |
| 245 | Download backups or import them via our wizard. |
| 246 | |
| 247 | ### **Cloud Storage (Pro)** |
| 248 | Automatically store backups on cloud platforms. |
| 249 | |
| 250 | ### **Automated Backups** |
| 251 | Schedule automatic backups to run at set intervals. |
| 252 | |
| 253 | ### **Custom Backup Settings** |
| 254 | Select specific files/folders for backup. |
| 255 | |
| 256 | ### **Server-Level Integration** |
| 257 | Restore backups created by your hosting provider via JetBackup. |
| 258 | |
| 259 | ### **Background Mode** |
| 260 | Run backups in low-priority mode for better performance. |
| 261 | |
| 262 | ### **Email Notifications** |
| 263 | Receive alerts on backup success or failure. |
| 264 | |
| 265 | == Documentation == |
| 266 | **Perform manual backup** |
| 267 | If you want to create a backup manually, follow these steps: |
| 268 | |
| 269 | 1. Go to "Backup jobs" page |
| 270 | 2. Click "Run now" on the default backup job. |
| 271 | |
| 272 | **Import backups from local computer** |
| 273 | If you have an exported backup file in your PC and you want to import it into your website, follow these steps: |
| 274 | |
| 275 | 1. Go to "Backups" page |
| 276 | 2. Click on "Import & Restore" and select your file from your local computer |
| 277 | 3. Go to the kitchen, prepare a cup of coffee and watch the screen :) |
| 278 | |
| 279 | **Restore** |
| 280 | Restoring is as easy as backing up. Just follow these instructions: |
| 281 | |
| 282 | 1. Go to "Backups" page |
| 283 | 2. Choose your backup and click on the "Restore" button. |
| 284 | |
| 285 | [Full documentation](https://www.jetbackup.com/jetbackup-for-wordpress/doc) |
| 286 |