Re: Restoring a database from a complete MySQL dump

2006-03-08 Thread George Law
You should be able to pull each table (create + inserts) out into a stand alone file table1.sql table2.sql etc... and then you can restore table by table. This might be harder depending on the size of your database tables. If you have a million rows, chances are your .sql file is huge and it

Re: Restoring a database from binlogs

2005-05-18 Thread kernel
Jeff McKeon wrote: Hey all, I've got a big problem. Seems one of our programmers decided to write a script that deletes all records from a log table older than 3 months. Problem is, we need old data from this log to reconcile our customer accounts. Our backups only go back 2 weeks. What I do h

RE: Restoring a database from binlogs

2005-05-18 Thread Jeff McKeon
- > From: Dathan Pattishall [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 18, 2005 2:16 PM > To: Jeff McKeon; mysql@lists.mysql.com > Subject: RE: Restoring a database from binlogs > > > Dump the binarylogs into a text file greping all the log data > in order of oldest to

RE: Restoring a database from binlogs

2005-05-18 Thread Dathan Pattishall
Dump the binarylogs into a text file greping all the log data in order of oldest to newest (minus the massive delete). Then reply the events backinto mysql Mysqlbinlog |grep [your tablename] > BIGSQLFILE.sql mysql -uroot < BIGSQLFILE.sql DVP Dathan Vance Pattishall http://www.friend

Re: Restoring a database

2004-05-14 Thread gerald_clark
You shutdown the server and copy the files back. Jones, William (NIH/CIT) wrote: I am evaluating mysql for use at our organization. One thing I have not been able to determine from the documentation is -- once I've taken a backup via mysqlhotcopy, how do I restore the database from that backup whe

Re: restoring a database from tape

2004-03-16 Thread Egor Egorov
Tim Cutts <[EMAIL PROTECTED]> wrote: > > On 16 Mar 2004, at 09:06, Victor Pendleton wrote: > >> If the directory structure is the same and the snapshot is consistent >> then >> the answer is yes. If you do not want to purchase a commercial >> utility, one >> method is to schedule mysqldump, com

Re: restoring a database from tape

2004-03-16 Thread Tim Cutts
On 16 Mar 2004, at 09:06, Victor Pendleton wrote: If the directory structure is the same and the snapshot is consistent then the answer is yes. If you do not want to purchase a commercial utility, one method is to schedule mysqldump, compress the file and then backup that file up. What commerci

RE: restoring a database from tape

2004-03-16 Thread Victor Pendleton
: [EMAIL PROTECTED] Cc: Cc: Sent: 3/15/04 4:52 PM Subject: RE: restoring a database from tape Victor, Will this not work for Innodb tables? If my backup also includes system tablespaces and .ibd files ( we using multiple tablepsace), will that be a problem? Thanks Raza -Original Message

Re: restoring a database from tape

2004-03-15 Thread Patrick
CTED]> To: <[EMAIL PROTECTED]> Cc: "Cc:" <[EMAIL PROTECTED]> Sent: Monday, March 15, 2004 5:52 PM Subject: RE: restoring a database from tape > Victor, > Will this not work for Innodb tables? If my backup also includes system tablespaces and .ibd files ( we u

RE: restoring a database from tape

2004-03-15 Thread Ansari, Raza \(GEI, GEFA\)
To: mt m Cc: [EMAIL PROTECTED] Subject: Re: restoring a database from tape If the table types are all MyISAM and you took a consistent backup the answer is most likely yes. >>>>>>>>>>>>>>>>>> Original Message <<<<<<<&l

Re: restoring a database from tape

2004-03-15 Thread vpendleton
If the table types are all MyISAM and you took a consistent backup the answer is most likely yes. >> Original Message << On 3/15/04, 7:50:39 AM, mt m <[EMAIL PROTECTED]> wrote regarding restoring a database from tape: > Hi, > Recently we EOLed a machine that h

Re: restoring a database on nt4

2001-07-03 Thread Gerald Clark
Whith Unix it is: mysql database < logfile. Pete Kuczynski wrote: > I can't seem to find any documentation on how to set this up an a > windowz box. > > Can anyone help? > > Pete > > Gerald Clark wrote: > >> Run your transaction log against the restored database. >> >> Pete Kuczynski wrote:

Re: restoring a database on nt4

2001-07-02 Thread Pete Kuczynski
I can't seem to find any documentation on how to set this up an a windowz box. Can anyone help? Pete Gerald Clark wrote: > > Run your transaction log against the restored database. > > Pete Kuczynski wrote: > > > Hoping someone can point me in the right direction. > > > > I have Nusphere Mys

Re: restoring a database on nt4

2001-07-02 Thread Gerald Clark
Run your transaction log against the restored database. Pete Kuczynski wrote: > Hoping someone can point me in the right direction. > > I have Nusphere Mysql database in production [using mysql/PHP/apache, no > perl]. The database has 1 table, 20 columns, with 3500 entries and > growing. > I am