Home Sql Mysql-example SQL Backup Script



SQL Backup Script
Posted on: January 23, 2009 at 12:00 AM
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

Related Tags for SQL Backup Script:
sqlcdatabasecomtabledataaspscriptbackupcommandiptutorialriacreatetabifforexampledatabasestobaseexamcieilbackcommapemanfrominasstamtresspecaseallrateacktorxaxampsspatraskllomampleaandstrspecifictutorscrssriripthstabablgrasppleplndomo


More Tutorials from this section

Ask Questions?    Discuss: SQL Backup Script   View All Comments

Post your Comment


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

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.