Share on Google+Share on Google+

SQL Backup Script

Advertisement
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.

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

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

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: SQL Backup Script   View All Comments

Post your Comment


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