Go Back   Cloud Computing > Support > Dedicated hosting
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-09-10, 08:54
Kristine Habeck's Avatar
BOD Member
 
Join Date: Nov 2010
Posts: 122
Default Database Backup through SSH?

Hello To All

I've a dedicated server and I want to take my database back up through SSH so I can later use that back up file to restore my DB information. My question is, How to take database backup on my dedicated server through SSH?
Reply With Quote
  #2 (permalink)  
Old 12-09-10, 09:00
paullopez's Avatar
Administrator
 
Join Date: Nov 2010
Posts: 195
Default

Once you've logged to your dedicated server as root via SSH, type following command to create a back up of DB

Quote:
mysqldump DATABASE_NAME > BACKUP.sql
Change DB_NAME with the actual name of the database you want to back up.

This will generate a backup file of your DB called backup.sql that you can later use to restore your information from.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 06:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.