Changeset 3176126
- Timestamp:
- 10/26/2024 05:36:28 PM (16 months ago)
- Location:
- deltabackups/trunk
- Files:
-
- 3 edited
-
deltabackups-main.php (modified) (2 diffs)
-
deltabackups.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
deltabackups/trunk/deltabackups-main.php
r3139881 r3176126 655 655 656 656 // Replace the default database prefix with the current prefix 657 $modifiedLine = str_replace(DTBPS_DB_SQL_TABLE_DEFAULT_PREFIX, $wpdb->prefix, $line);657 $modifiedLine = dtbps_modify_sql_query($line, $wpdb->prefix); 658 658 $queries = explode(";;;\n", $modifiedLine); 659 659 if(count($queries)>1){ … … 980 980 echo '<div class="error"><p><b>There is active DeltaBackups process started by you or other user, all activity is locked try later!</b></p><p><i>* This can be unchecked in Settings section, not advised!</i></p></div>'; 981 981 } 982 983 function dtbps_modify_sql_query($line, $wpPrefix) { 984 // replace only first occurrence, create wp_options and all inserts to wp_options except wp_user_roles 985 if(strpos($line, 'wp_posts') !== false || (strpos($line, 'wp_options') !== false && strpos($line, 'wp_user_roles') === false)) { 986 return preg_replace('/' . preg_quote(DTBPS_DB_SQL_TABLE_DEFAULT_PREFIX, '/') . '/', $wpPrefix, $line, 1); 987 } 988 989 // replace all prefixes for the query 990 return str_replace(DTBPS_DB_SQL_TABLE_DEFAULT_PREFIX, $wpPrefix, $line); 991 } -
deltabackups/trunk/deltabackups.php
r3141857 r3176126 8 8 * Text Domain: deltabackups 9 9 * Requires at least: 5.2 10 * Version: 1.0. 310 * Version: 1.0.4 11 11 * Requires PHP: 5.6 12 12 * License: GPL v2 or later -
deltabackups/trunk/readme.txt
r3141836 r3176126 9 9 Requires at least: 4.3 10 10 Tested up to: 6.6.1 11 Stable tag: 1.0. 311 Stable tag: 1.0.4 12 12 Requires PHP: 5.6 13 13 License: GPLv2 or later … … 22 22 Easily restore your WordPress site with DeltaBackups. 23 23 Choose specific versions or perform a complete site restore with just a few clicks, ensuring quick recovery and minimal downtime. 24 - Delta Versioning25 - Encryption26 - Cloud Storage27 - Migration Tool28 - Unlimited sites (all plans)24 -Delta Versioning 25 -Encryption 26 -Cloud Storage 27 -Migration Tool 28 -Unlimited sites (all plans) 29 29 30 30 == Installation == … … 48 48 Backup process works, but restore is still in development. You could use it to migrate your WP site from multisite to regular instance. Its still not fully tested and Multisite use is not recommended and at your own risk. 49 49 50 = How was this plugin tested? = 51 It was tested on Linux and Windows OS. 52 Some of the installations include: Standard WordPress installations, cPanel (WP Toolkit), Local software, and using official docker WordPress images (Apache and Nginx). 53 Also tested with MySql and MariaDB. 54 Worked ok with PHP 5.6 and all above, last tested with 8.3 55 50 56 = Is there a scheduling feature? = 51 57 This feature is still in development, stay tuned! … … 58 64 59 65 == Screenshots == 60 1. ** Backups** - Backups list page61 2. ** Clients** - Clients list page66 1. **backups** - Description of what is shown in screenshot 1. 67 2. **clients** - Description of what is shown in screenshot 2. 62 68 63 69 == Changelog == 70 71 = v1.0.4 = 72 * Fixed wp_options prefix table modification for installations that have now wp_prefix like prod_options etc. 64 73 65 74 = v1.0.3 =
Note: See TracChangeset
for help on using the changeset viewer.