Copy of WordPress database without using PHPMyAdmin

7

I need to migrate a WordPress site from one server to another. One of the necessary steps is to export the database used in the current site, edit some data if necessary (such as the site address and URLs of the files) and import the database to the new server.

Is it possible to do this export / import process without the use of PHPMyAdmin, only with database access data (bank name, server, login and password)? Is there any tool that allows access to the database without being installed on the server itself?

    
asked by anonymous 27.02.2014 / 23:01

6 answers

7

WP-DB-Backup

There is a plugin for Wordpress that does the backup, WP-DB-Backup, where we can read it on the page:

  

WP-DB-Backup allows you to easily backup your core WordPress database tables. You can also backup other tables in the same database.

What translated:

  

WP-DB-Backup allows you to easily back up the configuration tables present in the WordPress database. You can also back up other tables in the same database.

Installation

Installation is accomplished in four easy steps that you can viewed here :

  • Extract the folder wp-db-backup/ to /wp-content/plugins/ ;
  • Activate the plugin in the admin area in Admin - > Plugins;
  • The plugin will attempt to create a directory with the name /wp-content/backup-*/ inside the WordPress directory;
  • It may be necessary to give write permissions to the directory /wp-content (at least temporarily) so that the plugin can create the directory mentioned in point 3.

    For example:

    $ cd /wordpress/
    $ chgrp www-data wp-content (onde "www-data" é o grupo que o teu cliente de FTP utiliza)
    $ chmod g+w wp-content
    
  • 27.02.2014 / 23:31
    9

    Visual export from administrative panel (without code)

    An excellent alternative that I use for this type of task is the free plugin All-in -One WP Migration , which allows you to export and import the SQL database (or all site files, if you prefer), from the WordPress panel itself, without having to deal with with FTP and file permissions, totally visually .

    The installation of the plugin is done by the WordPress panel itself in " Plugins > Adicionar Novo ". Search for "All-in-One WP Migration".

    Aftertheinstallationtheoperationissimple:

  • InsiteA:GotomenuSiteMigration>Exportexportthedatabase(orthewholesite)withtheplugin.Atsomepointitwillgenerateafilewiththe.zipextension;
  • OnsiteB:GototheSiteMigration>Importmenuanddragthe.zipfilegeneratedinstep1intotheimportarea.
  • Andthat'sit!

    Thepluginworksverywellandcanevenbeusedbyclients,foraquickbackupofthewholesiteorjustthedatabase,justbytriggeringsomeverysimpleoptions.

    Anotherimportantfunctionofthepluginisthefullyvisualsearchandreplaceofthesiteaddressandotherinformation(suchastheserverpath)thatneedtobechangedinthedatabasedatatoallowthesitetofunctionproperlyafterexporting.

    I use the plugin frequently in my projects and recommend it to everyone.

        
    28.02.2014 / 14:51
    5

    Adminer

    The plugin is a PHPMyAdmin within WordPress. It is a complete MySQL database administration tool written in PHP.

    The author of the plugin, Frank Bültge , is a playwright of the German school of WordPress, I only praise the your work: Administer , BackWPup a>, Multilingual Press and a wide et cetera of other plugins, projects on GitHub, and participation in the Stack Exchange WordPress Developers.

    Home screen

    ControlPanel(Dumpsection,usingStartAdminerinside)

    Editing exported data

    For this I use the following procedure:

    08.03.2014 / 15:56
    2

    There is a MySQL tool called MySQL Workbench that I personally find more practical than using phpMyAdmin. It is possible to do many things with it, including importing and exporting the database. However, it requires installation on your computer, which I do not know will be a problem for you.

        
    28.02.2014 / 12:23
    1

    You can use Navicat , so you will not need plugins or third parties. It will create a direct connection between the servers.

    And here a cool video tutorial of how to use it.

        
    28.02.2014 / 14:57
    0

    After searching a lot! The best free backup bank plugin is UpDraftPlus: link It has more than 800 thousand active installations, fast support and note 4.9 / 5 stars.

        
    15.09.2016 / 05:47