If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Locking for scripted backups

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-26-08, 14:16
Jonathan Kinney Jonathan Kinney is offline
Registered User
 
Join Date: Aug 2008
Posts: 5
Locking for scripted backups

I was wondering if anyone had any insight on a quick way to lock the databases of a MySQL server so that data does not change during a backup. I know it seems like a funny question, and I have gone over all kinds of options, but I was just wanting to toss this up here to see if anyone can bring any ideas to light that I may be missing. I am looking for something that can be scripted via command line that could be used on a live database, something that may add a delay to queries until it is finished, rather than erroring out. Or even any ideas of the best practices when it comes to automated backups of a database in case of server or hard drive failure, where there are already off site file backups.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On