Results 1 to 10 of 10
I'm not sure what database administration tool is on one of our servers that went down, but I have to back up the MySQL server since it went down. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-29-2006 #1
MySQL DB Backup
I'm not sure what database administration tool is on one of our servers that went down, but I have to back up the MySQL server since it went down. I can SSH to it, and I'm transferring files to my workstation right now. However, I get errors that say some files cannot be found for whatever reason.
The server was a POS, and hosted Nagios and a bunch of other cool stuff. So, how would I go about backuping up the databases? Can I do it manually or should I risk throwing something like phpMyAdmin on the webserver and pray for the best?I praise Webmin and PuTTy!
Registered Linux User: 439431
- 09-29-2006 #2
Bit stupid to do it like this but ...
login with ssh
It will ask for your password. You can also specify that behind -pCode:mysqldump -u <username> -p <databasename> > <outputfile>
Export a database from mysql to a local file (on that server).
Logout ssh.
Then copy it to your local location:
Transferring a file from a remote machine to a local machine.Code:scp username@ssh.domain.com:./tmp/file.gz .
Be sure to delete the remote copy, so it's not open to the internet afterwards
Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
<~ http://www.linuxcommand.org/ ~>
- 10-03-2006 #3Just Joined!
- Join Date
- Jun 2006
- Location
- (.)
- Posts
- 69
Please check the below mentioned related URLs for it
http://forums.linuxwebadmin.info/ind...opic,28.0.html
http://forums.linuxwebadmin.info/ind...opic,70.0.html
http://forums.linuxwebadmin.info/ind...opic,24.0.html
Thanks,
- 10-03-2006 #4
Thanks, guys.
I praise Webmin and PuTTy!
Registered Linux User: 439431
- 10-04-2006 #5
@mitto: nice forum!
In short it comes down to:
I forgot about the username-part before .... corrected it.mysqldump -u [username] -p [password] [databasename] > [backupfile.sql]Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
<~ http://www.linuxcommand.org/ ~>
- 10-04-2006 #6
I was prompted for the username/password anyway. That looks easier for the next time, though!
I praise Webmin and PuTTy!
Registered Linux User: 439431
- 10-18-2006 #7Just Joined!
- Join Date
- Jun 2006
- Location
- (.)
- Posts
- 69
Thanks muha
- 12-08-2006 #8
Hi! I have the same problem. When i'm googled the net i found this:www.phpmybackuppro.net.
Try it!
- 12-11-2006 #9
Hi ram_88, thanks for the link but always try to add some info when you post links. I thought you were a spambot

Also, if we all only post links, the forum would become nothing more than links instead of useful information.Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
<~ http://www.linuxcommand.org/ ~>
- 12-15-2006 #10Linux Newbie
- Join Date
- Dec 2006
- Posts
- 105


Reply With Quote
