Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How To Export Huge Database?

Discussion in 'Database Discussion' started by DubCity, Jun 11, 2016.

  1. DubCity

    DubCity Registered

    Joined:
    Jun 11, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    portland
    cPanel Access Level:
    Website Owner
    Hello I Am trying to download my 1.5 GIG database

    but it keeps stopping after 360 mb how do i download the full database?

    p.s i have my own dedicated server so i can edit files if needed .
     
  2. SysSachin

    SysSachin Well-Known Member

    Joined:
    Aug 23, 2015
    Messages:
    604
    Likes Received:
    43
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    If you have root access then you can create database backup in .sql file format from command line an download it through ftp.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. DubCity

    DubCity Registered

    Joined:
    Jun 11, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    portland
    cPanel Access Level:
    Website Owner
    is that the only way ?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,478
    Likes Received:
    421
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. DubCity

    DubCity Registered

    Joined:
    Jun 11, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    portland
    cPanel Access Level:
    Website Owner
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,478
    Likes Received:
    421
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    My apologies, I failed to notice your profile listing you as Website owner.

    That command requires access via SSH which you most likely wouldn't have access to. It backs up the database:
    mysqldump database_name > database.sql

    And creates a zip file of the database so that it can be downloaded:
    zip database.zip database.sql

    How exactly are you attempting to backup your database? Try this:
    cPanel > Files section > Backup > scroll down the page to this section:
    Download a MySQL Database Backup
    Click the Database you want to download.

    If that's failing, it might be your connection to the server having an issue, a browser issue, or server having some sort of issue. In that case you'd want to contact your Hosting Provider and explain the situation to them.

    You could also try forcing a Full Website Backup, that tool's on the same page where you tried to download the Database.

    If you can force a backup from this tool, once its created you should be able to download that, from that same page it would be listed there once its fully created.

    Downloading that would be faster and will contain a full backup of your database. It should anyway.

    If you're unable to download that Full Website backup, Something else is going on, probably connection to the server related.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. DubCity

    DubCity Registered

    Joined:
    Jun 11, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    portland
    cPanel Access Level:
    Website Owner
    I do have access to my root and my whom cpanel

    I tried the method you linked me too and it said 90% deflated
    But where does it save it too? Is what I don't understand.
     
  8. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    556
    Likes Received:
    16
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Twitter:
    This will save to the directory you're in.
    You can then use FTP to login (or SFTP if you're using root) and download the DB to your PC.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    This is in-reference to the following commands:

    Code:
    mysqldump database_name >  database.sql
    zip database.zip database.sql
    In this case, the database.zip file exists in the directory you ran the command. You can define a location if you prefer. EX:

    Code:
    mysqldump database_name >  /root/database.sql
    zip /root/database.zip /root/database.sql
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice