i took a mysql database backup using console by mysqldump command, but now i dont know from where to download the backed up databse
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
@iostar I reread your question and realized you are probably using a web console to your droplet and want to do a file transfer from your droplet to your local machine. The short answer is you can’t do it directly from the web console. You need to use a file transfer method, such as secure ftp, or copy to a remote mount filesystem, or as a last resort and it’s a small database (let’s say < 1Mb) email the file to yourself.
The FTP intro tutorial may help you get started.
As above mentioned, you will likely need to do it manually via ssh / ftp / sftp…
Anyway, Locationwise. Its whereever you currently are on the system…
For example. When you login to your server, Type the command “pwd” This will tell you were your current WorkingDirectory is… This is where you work from.
So, Say I type PWD and it says. /home/myusername
This means if i type: mysqldump db_name > backup-file.sql
backup-file.sql will be in /home/myusername/backup-file.sql
If i type: mysqldump db_name > /root/backup-file.sql
I have above used /root/ as the directory and forced it to store it in this location.
So… If you dont specify a directory, it will store it where you are working from currently ( PWD to see )
Hope this helps on top of the above answer.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.