Announcement

Collapse
No announcement yet.

Unable to find the SQL file after mysqldump

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to find the SQL file after mysqldump

    Hello,

    I have created a successful connection via SSH and entering right credentials, but I am unable to find out the backup SQL file.

    Any help would be most appreciated.

  • #2
    Hi,

    Try the following command on the terminal

    locate myBackup.sql

    Comment


    • #3
      Hello,

      Connect to the remote server and type the command mentioned below -

      mysqldump -R -h root -u username -ppassword DataBaseName > /home/Admin/Databasename.sql;
      After that you can able to find your database in the /home/Admin/ folder.

      Comment


      • #4
        Connect to the remote server and enter the below mentioned command –

        mysqldump -R -h root -u username -ppassword databasename > /home/Rozanne/databasename.sql;

        Comment

        Working...
        X