Connect Tech Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 19 August 2009

Using_mysqldump_Backup_&_Restore_MySQL_Database

Posted on 04:57 by Unknown
Using mysqldump, you can backup a local database and restore it on a remote database at the same time, using a single command.
An examples on how to use mysqldump to backup and restore


To backup:      # mysqldump -u root -p(root_password) (database_name) > filename.sql

To restore: # mysql -u root -p (root_password) (database_name) <>

from the desk of Amit Maheshwari
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • How to schedule a PHP script in task scheduler
    Quiet often there is a need to execute/run  php  script on some time interval at server side. And that php scripts should run automatically ...
  • HTTP Error 403.19 – Forbidden The configured user for this application pool does not have sufficient privileges to run CGI applications.
    If you get the error “HTTP Error 403.19 – Forbidden The configured user for this application pool does not have sufficient privileges to...
  • How to configure IIS 7 to redirect non-www domain to www domain?
    One of few legacy leftovers that was never dropped over the years is the common use of www domain prefix. It is not a problem per se for us...
  • Roles and Features showing an error HRESULT: 0x800F0818 in Server Manager of windows server 2008 R2
    When you open Server Manager both Roles and Features display Error and you are unable to add any role or features. When you select the det...
  • Unable to shrink database log file ( DBCC shrinkfile gives error)
    Sometimes when trying to shrink the database log file for Ms SQl Database using DBCC SHRINKFILE ('database-name_Log', 1), which is...
  • Disallowed Parent Path
    If you are unable to access the website and facing the below error: Active Server Pages error 'ASP 0131' Disallowed Parent Path /adm...
  • Back up all MS SQL databases at once
    This article will discuss how to backup all MS SQL databases with one script. A separate file will be created for each database. Log into ...
  • Microsoft JET Database Engine error ''80004005'' - System resource exceeded
    The shown error does not mean that the server on which the website is hosted is run out of system resources. Most of the time this error wil...
  • How to Install Smartermail 9
    This article walks you through the installation of SmarterMail 9 on your Windows server. Please note that Smartermail 9 requires ASP.net 4...
  • Configuring FTP and FTP Firewall Settings in IIS 7
    Introduction Microsoft has created a new FTP service that has been completely rewritten for Windows Server® 2008. This FTP service incorpora...

Categories

  • booting Process
  • linux
  • redhat

Blog Archive

  • ►  2013 (68)
    • ►  July (1)
    • ►  May (2)
    • ►  April (11)
    • ►  March (54)
  • ►  2012 (44)
    • ►  September (20)
    • ►  August (1)
    • ►  July (4)
    • ►  June (12)
    • ►  May (2)
    • ►  March (4)
    • ►  February (1)
  • ►  2011 (1)
    • ►  February (1)
  • ▼  2009 (9)
    • ►  September (3)
    • ▼  August (2)
      • How do I password-protect my website using .htaccess?
      • Using_mysqldump_Backup_&_Restore_MySQL_Database
    • ►  June (1)
    • ►  May (2)
    • ►  March (1)
Powered by Blogger.

About Me

Unknown
View my complete profile