How to backup single MySQL table?

Backup single MySQL table using shell command and phpMyAdmin

1. Creating dump file - 
   #mysqldump db_name table_name > table_name.sql

2. Creating dump file from remote server -
   #mysqldump -u <db_username> -h <db_host> -p db_name table_name > table_name.sql

3. Creating dump file using phpMyAdmin -

cPanel >> phpMyAdmin >> Export >> 
Export Method: Click on 'Custom - display all possible options'>> Database(s) >>Output: Save output to a file - Select Compression type >> Go 
 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Access to context [/] is denied!

While accessing the site, I was getting the error as -Access to context [/] is denied!Solution...

Account Creation Status: failed. A database owner with the name <account-name> already exists.

I have deleted the account from the WHM but while recreating it, I was getting below error...

Forbidden. You don’t have permission to access /wp-content/uploads/file-name.pptx

While uploading the files .pptx and .ppt files from WordPress admin dashboard, I was getting the...

Failed to connect to MySQL: Access denied for user

While accessing the website, I was getting the error as -Failed to connect to MySQL: Access...

The following errors were found : Drupal not upgrading using Softaculous

While upgrading the Drupal from 8.19 to 8.21 from cPanel >> Softaculous Application...

Powered by WHMCompleteSolution