Home Register Members List Search Today's Posts Mark Forums Read

Go Back   TechFuels Forum > Hardware > CPU & Components

Reply
 
LinkBack Thread Tools
aldrin
Senior Member
 

aldrin is offline  
Old 01-20-2009, 10:08 AM
  #1 (permalink)
Performing backups

This new Online Backup/Restore utility in MySQL 6.0 server is easy to use and unlike mysqldump, it is used to issue backup and restore commands right from the mysql client command prompt window. The syntax of the command for performing the backup is as follows:

The BACKUP DATABASE copies all data and metadata from one or more MySQL databases, into an image file from where it can be restored later. It is also possible to use SCHEMA as a synonym for DATABASE in the syntax, i.e. "BACKUP SCHEMA as a command instead of "BACKUP DATABASE The database_name_list can be the name of a database or a)it of .multiple databases separated by commas. And the image_file_name is the name of the backup file along with the absolute path where f the file will be saved.

Name:  Performing backups.jpg
Views: 18
Size:  46.2 KB

The syntax for online backup is easy to remember and can be used to perform backup of databases on MyISAM storage engines. Earlier the backup had to be per¬formed in an offline state for MyISAM type of database, now with this new ability of MySQL 6_0, online backup is possible, which means DML statements like INSERT, UPDATE and DELETE can run concurrently while the backup is in progress. Also note that the backup of the MyISAM type database in MySQL 6.0 is also a native backup unlike the backup files produced by mysqldump utility which are logical backups. The difference between native and logical backup is that in a native backup the backup file is taken from the underlying OS and is not areadable SQL-based file which is generated in case oflogical backup. The bene¬fit of a native database is that its executes faster and requires less storage space as compared to logical backup files.

To check this utility we used a test database named "world", which is avail¬able for download from the MySQL website. From the MySQL client command prompt, we issued the following com¬mand for backup.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Laptop Not performing Well uretech987 Hard Disk 1 12-01-2008 04:48 AM
Performing Mouse Actions jack879 CPU & Components 0 11-18-2008 05:08 AM
Necessity of Data Backups rendshlee General Internet Terms 0 04-16-2008 11:13 AM
Unattended Backups And Restores techpro Everything Else 0 04-11-2008 01:43 PM
Easy Backups techno23 Applications 0 02-18-2008 10:01 AM


All times are GMT +1. The time now is 03:48 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Copyright Techfuels -->
SEO by SubmitEdge


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151