NixUser

NixUser.com | Unix User | Linux User | NixUser

export

Import/Export wordpress content from/to another wordpress instance

Suppose you want to move your wordpess contents to another instance. WordPress currently supports both importing and exporting data in the form of posts. The content Import and Export scripts can be found under Tools >> Import / Export menu of your WordPress administration interface. Source: https://codex.wordpress.org/Importing_Content

How to Import & Export MySQL Databases with SSH

To export a MySQL database, access your server via ssh and run the following commands: # mysqldump -u username -p database_name > database.sql To import a MySQL Database, run the command: # mysql -u username -p database_name < database.sql That’s it 🙂