Mark,

http://www.innodb.com/manual.php#advanced.slave describes how to set up a
new slave from a hot backup of a master.

If you take a hot backup of a slave, and want to use it to set up a new
slave, then the important coordinate is the MASTER binlog position that
mysqld prints when you start mysqld on that new hot backup (do not mix this
with the binlog position of the slave's own binlog). The new slave should
start replication from that master binlog position.

Relay logs etc. are not needed in the backup. Only

1) .frm files,
2) .MYI and .MYD files,
3) ibdata files,
4) ib_logfiles (these are generated in the ibbackup --apply-log phase),
5) .ibd files if you are using >= MySQL-4.1.1,
6) default charset files in database directories if you are using >= 4.1,
and have worked with exotic charsets.

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

Register now for the 2004 MySQL Users Conference!
http://www.mysql.com/events/uc2004/index.html

...............
From: Mark Steele Date: March 3 2004 6:53pm
Subject: slave hotbackup question

Hi folks,

I have a question regarding backups taken from a running slave. I have a
slave
replicating to a master server, and do a hot backup using the following
script:

...

My question is, suppose I would like to use one of these backups to
create a new
slave server, what additional information would I need to include in the
backup
to be able to start up a new slave properly?  (relay logs/info files,
etc...)

Ideally, I would like these snapshots to be taken off the running server
while it
is in use, is there any way to do this?

Regards,

Mark Steele
Implementation Director
CDT Inc.
[EMAIL PROTECTED]


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

Reply via email to