HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   how can i get a backup of my database (http://www.howtoforge.com/forums/showthread.php?t=60814)

jimmie 5th March 2013 00:43

how can i get a backup of my database
 
i need to start over and need to get my database
i lost access to everything except console, putty, and filezilla
is there a way through the command line to retrieve my databases.

till 5th March 2013 08:12

You can backup your database with mysqldump command. You should find detailed instructions on the mysql homepage or when you google the ommand.

tahunasky 6th March 2013 02:33

This will backup the ispconfig database from command line and place it in the tmp directory:

mysqldump dbispconfig -u {MYSQLUSER} -p {MYSQLPASSWORD} > /tmp/dbispconfig.sql

replace {MYSQLUSER} with username and {MYSQLPASSWORD} with password.


All times are GMT +2. The time now is 23:09.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.