Hi Sp,

The best advice I can give you is to implement a replication slave,
and perform hot backups using the innodb ibbackup tool from the slave
server. This ensures that you maintain high availability and
disaster recovery in case of catastrophic failure. 

The ibbackup tool from innodb (http://www.innodb.com) works
very well even on large databases (currently we backup over
40 gigs/day).

Cheers,

Mark Steele
Implementation Director
CDT Inc.

-----Original Message-----
From: Sp.Raja [mailto:[EMAIL PROTECTED] 
Sent: July 27, 2004 10:51 AM
To: Heikki Tuuri; [EMAIL PROTECTED]
Subject: Re: Innodb assertion failure after binary backup-restore


Thanks for your replies.

Now I have three ways to go

    1. replication 
    2. innodb hot backup tool
    3. Make sure that no one is writing in to the database and start
backup when modified db pages in "BUFFER POOL AND MEMORY" becomes zero

    #FLUSH TABLES WITH READ LOCK
    still_to_flush=1  
    while [ $still_to_flush != 0 ]
    do
        still_to_flush=`/usr/local/mysql/bin/mysql -e "SHOW INNODB
STATUS\G" |  grep "Modified db pages" | awk '{print $4}'`
        sleep 1
    done
    #UNLOCK TABLES

Do you think #3 will work?

Regards,
Sp.Raja

> ------------Original Message------------
> From: "Heikki Tuuri" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: Tue, Jul-27-2004 6:24 PM
> Subject: Re: Innodb assertion failure after binary backup-restore
> 
> Hi!
> 
> sync will not help.
> 
> You can run SHOW INNODB STATUS\G to monitor when InnoDB has flushed 
> its buffer pool.
> 
> Best regards,
> 
> Heikki
> Innobase Oy
> InnoDB - transactions, row level locking, and foreign keys for MySQL 
> InnoDB Hot Backup - a hot backup tool for InnoDB which also backs up 
> MyISAM tables
> http://www.innodb.com/order.php
> 
> Order MySQL support from http://www.mysql.com/support/index.html
> 






-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to