SQL Backup Script

The Tutorial illustrate an example from 'SQL Backup Script'. To understand and grasp example we create a command for backup of table in specific komal database and backup of all the databases.


 
Ads

SQL Backup Script

     

The Tutorial illustrate an example from 'SQL Backup Script'. To understand and grasp example we create a command for backup of  table in specific komal database and backup of all the databases.

Command for Backup of one database:

The below given command create a backup of one database name 'komal'.

c:\>mysqldump  --opt -u root -h 192.168.10.126 -p komal>c:\komal.sql

Result

Backup Completely 

Command for Backup of all database:

The below command is used to create a backup of all databases.

c:\>mysqldump  --opt -u root -h 192.168.10.126 -p --all-databases>c:\komal.sql

Result

Backup Completely

Advertisements

Ads
Share on Google+Share on Google+

SQL Backup Script

Posted on: January 23, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

 

Discuss: SQL Backup Script   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads