=== myEASYbackup === Contributors: camaleo Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7P3YH6G2MLTVU Tags: plugin, plugins, admin, administration, backup, migrate Requires at least: 2.5 Tested up to: 2.9.2 Stable tag: 0.1.2 Backup, restore, migrate your WordPress installation, both code and MySQL tables, with a single click. == Description == Backup, restore, migrate your WordPress installation, both code and MySQL tables, with a single click. When performing a backup, myEASYbackup creates a single file, called "data set", that includes your data in compressed format (.zip). Data sets are saved outside the WordPress installation directory to avoid someone else discover the links and get them. A list of all data sets with the ability to download, upload (FTP) and delete each of them is also included to keep everything under control. Whether you are a WordPress user or a developer, this plugin is sure to bring you peace of mind and added security in the event of data loss. Another plugin in the myEASY series, conceived to make your life easier! myEASYbackup comes handy before upgrading WordPress or one of the plugins you have installed. This version allows to backup, upload/migrate and a beta of the myEASYrestore tool allowing to restore data sets after having uploaded. Related Links: * myEASYwp plugin series homepage * myEASYbackup: the video showing version 0.0.3 in action * myEASYbackup is the perfect companion to myPluginSafeUpgrade, another plugin in the myEASY serie that let you know if all your installed plugins are already compatible with the latest released WordPress version. * For the latest news about the myEASY plugin serie follow me on Twitter * The full set of icons used in this plugin is available here for free * myEASYbackup PRO is on its way... News: * I started testing myEASYbackup on WordPress 3.0 Beta 1 and, so far, everything works! == Installation == This section describes how to install the plugin and get it working. 1. Upload the full directory into your `wp-content/plugins` directory 1. Activate the plugin through the 'Plugins' menu in the WordPress Administration page 1. Open the plugin settings page, which is located under `Settings -> myEASYbackup` 1. Set the options as you like 1. Open the plugin tools page, which is located under `Tools -> myEASYbackup` 1. Click on the backup button and wait myEASYbackup to prepare the backup data set 1. When the backup data set is ready click on the save button to get it on your system == Frequently Asked Questions == = How do I restore the data set? = 1. Use the included upload tool, by clicking on the briefcase with the arrow poiting to the top. 2. Once the data set upload is complete, in your browser navigate to the host where you uploaded the data set, for example: http://example.com/myEASYrestore.php 3. Choose the .zip file you like to decompress and click on the "Decompress the selected data set" icon - the one showing the briefcase with an arrow pointing to a folder 4. Once the data set is decompressed, scroll the page to end where you will find a section called "MySQL exported data sets" with a list of the included databases, usually one file with the extension .sql 5. Click on the .sql file name to select it. 6. Fill the form - you can change the tables prefix as well as the references to the old host, if needed. 7. Select both the "Remove the MySQL exported file .sql" and "Remove this page" checkboxes to remove the MySQL exported file and the restore tool - note: selected files will be removed only if the tables will successfully updated. 8. Click on the "Publish the MySQL tables on this server" icon - the one representing a small server. = On which WordPress versions did you tested myEASYbackup? = WordPress: 2.5, 2.6, 2.7, 2.8, 2.9.1, 2.9.2 == Screenshots == 1. myEASYbackup main page: you can select to backup the MySQL tables, the Wordpress installation directory or both 2. After the backup data set is created you get a list of all files included and a button to quickly download it == Changelog == = 0.1.2 (10 April 2010) = Fixed — myEASYbackup: * Fixed a bug where a message reporting an error while trying to extract database data was given by mistake even if the user did not choose to save the database. * Moved the change permission command on the .sql to its proper position (related to the previous bug). * Fixed the code to show errors eventually shown by the ZipArchive class. * After a backup was performed, it was not possible to download it from the result page. * The myEASYrestore ini file is now saved in the folder choosen folder. * When you deselect the wrench (making it grey) to choose not to upload the myEASYrestore tool, the the myEASYrestore.ini and the wp-config.php files are not included anymore in the backup. Note that the wrench is enabled (colored) my default. Changed — myEASYbackup: * Added an option to let the user choose the folder where to save the data sets (backups). Added — myEASYbackup: * It is now possible to select the folder where to save the datasets from a drop down menu. The restore configuration file as well as the MySQL extracted database (.sql) are also temporarily created in this folder. * Pending on the server configuration, a number of new messages are now shown on the screen with tips about how to better configure the plugin for better performances. Note: version 0.1.1 was not published as it was released only in private to the beta testers. = 0.1.0 (5 April 2010) = Fixed — myEASYbackup: * Changed the code to allow IE users to download data sets. * Fixed a security issue with the myEASYrestore.ini file, now renamed myEASYrestore_ini.php and added a some code to prevent showing its contents from a browser. = 0.0.9 (3 April 2010) = Fixed — myEASYbackup: * When saving only the MySQL tables, the myEASYrestore.ini and the wp-config.php files were not included in the data set, making it impossible to restore the data with the restore tool and to amend, if needed, the WordPress configuration. Changed — myEASYbackup & myEASYrestore: * Until now most of the support requests were coming from users unable to backup/restore as their providers blocked the use of the PHP system() command. For this reason I decided to change the behaviour of the plugin that now uses PHP code rather than the system() by default. If you know that system() is enabled on your servers you can still use it by unselecting the 'Use PHP code rather than system() commands' checkbox through the `Setting -> myEASYbackup` menu. Using the system() let's you backup/restore faster as relies on the server commands to perform operations on the MySQL database and compressing/uncompressing the data set. Using PHP code can create issues when the MySQL database is very big — rest assured that I will do my best to avoid putting limits on your databases size when/if, in the future, the problem will arise ;-) Added — myEASYrestore: * Ability to restore data sets created with the 'Use PHP code rather than system() commands' option enabled. Warning: you MUST save your data set with myEASYbackup 0.0.9 AND using PHP code in order to be able to restore using PHP code. * Now changing paths in the `option_value` field (`options` table) only if the path is changed. * Now showing the number of records updated by the queries replacing values in the tables. * Some additional classes in the style header. * Ability to remove also the .zip file (only the one selected in the 'Backups available on this server in the following folder' section). * When the restore is completed successfully the data set ini file is automatically removed. = 0.0.8 (23 March 2010) = Fixed: * Added a query to modify the `guid` field in the `posts` table when migrating/restoring a database. = 0.0.7 (14 March 2010) = Fixed: * When uploading 20Mb and larger data sets, setting the FTP connection in passive mode was not enough to get green light on the upload. To be sure the upload went correctly through I have added a check on the size of the local data set against the uploaded file, if the size are the same I can issue the ok message. * Added indications about the percentage and estimated remaining time for the upload. = 0.0.6 (13 March 2010) = Fixed: * When compressing with the system tools, the zipped file does not include the complete path anymore. * When uploading 20Mb and larger data sets, sometimes the upload was reported unsuccessfull even if was completed succesfully. Setting the FTP connection in passive mode seems to fix the problem. * In some cases the wait message (the semi-transparent black screen) did not show the images. Added: * When preparing a data set, create an .ini file used by the myEASYrestore tool. * When uploading you can choose to upload the myEASYrestore script that will let you easily restore your data set. * Russian and Spanish translations. = 0.0.5 (6 March 2010) = Fixed: * Avoid to issue a warning message when setting infinite time limit, needed to avoid possible interruption while creating/saving big data sets. * Now working even on `system()` disabled servers. * Blocked the execution on safe_mode enabled servers, it will soon be deprecated so there is no need to loose time on that. Added: * Settings page with a number of options like, for example: show/hide debug info, compression level (only on `system()` enabled servers), etc. * Ability to upload a data set to the same or a different server. * Italian translation. Note: once the upload code will be stabilized I will add some more features like, for example, the ability to restore the tables data and the WordPress installation folder in the proper locations. = 0.0.4 (1 March 2010) = * Now faster as, on Linux servers, does use the zip command to compress. On Windows servers it requires the ZipArchive extension, however I changed the code to create a better zip file. * Info about installing the ZipArchive extention are provided by the plugin if it does not find it installed, however you can have a look at the ZipArchive page on the PHP site = 0.0.3 (28 February 2010) = * Fixed a security issue where a direct call of meb_download.php may have allowed an intruder to get the full blog archive without any permissions. = 0.0.2 (28 February 2010) = * Added a check on the installed PHP version as well as the required ZipArchive class. * If the PHP version is too old or the ZipArchive class is not installed instruction are provided through a number of useful links. = 0.0.1 (27 February 2010) = The first release. == Upgrade Notice == Generally, until version 1.0.0 will be out, you will better install any of the released updates. = 0.1.2 = Bugs fix and ability to choose your backup folder. = 0.1.0 = Mandatory to fix a security issue. = 0.0.9 = Needed if your hosting provider does not allow to use PHP system() commands. = 0.0.8 = Needed to be sure to change all the references to the new host in case its name is different than the host where you backed up the MySQL database. = 0.0.7 = If you are uploading the data set with this plugin it is warmly recommended to upgrade. Tested only on Linux based hosting. Please let me know your comments and suggestions. = 0.0.6 = This is the first version allowing to restore a data set after having uploaded to your FTP server. = 0.0.5 = Needed on servers where some system commands are disabled in the configuration ad to start uploading your data sets in the easiest way. = 0.0.4 = Warmly suggested to upgrade for better performances. = 0.0.3 = Fixed a sever security issue, it is warmly suggested to upgrade. = 0.0.2 = If the initial release does work for your server configuration, there is no need to upgrade. = 0.0.1 = This is the first release. == Translations == * Italian: [myEASYbackup author](http://myeasywp.com/) * Russian: [ShinePHP](http://shinephp.com/) * Spanish: [Cela](http://unfuturosicuro.com/) Dear myEASYbackup plugin User, if you wish to help me with this plugin translation I will really appreciate it. Please send your language .po and .mo files to info@myeasywp.com — also please do not forget include a link to your site so that I can show it with greetings for the translation help at [myeasywp.com](http://myeasywp.com/) and in this document. One useful links if you like to help with the translation but do not know how to do it: [Creating POT Files](http://codex.wordpress.org/User:Skippy/Creating_POT_Files) == Special Thanks to == * [ShinePHP](http://shinephp.com/) for the help with the security issues, ideas and new versions testing.