oldlock

Well-Known Member
Sep 19, 2008
76
0
56
Can anyone please advise the correct syntax to :

Backup an existing database by SSH and write the resulting file to the server where it can then be retrieved via FTP ?

TIA
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,205
363
Hello :)

You can use the mysqldump utility. EX:

Code:
mysqldump database_name > /path/to/database.sql
Thank you.
 

oldlock

Well-Known Member
Sep 19, 2008
76
0
56
That threw back an error - should there be a password in that string ??