Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Duplicating a MySQL database
- Date: Wed, 7 Aug 2002 20:14:25 +0900
- From: Batara Kesuma <bkesuma@example.com>
- Subject: Re: [tlug] Duplicating a MySQL database
- References: <E17cNbX-0002WZ-00@example.com>
On Wed, 07 Aug 2002 18:59:47 +0900 "Jonathan Q" <jq@example.com> wrote: > > I have a MySQL database that I would like to make an exact duplicate of > for testing purposes. According to the MySQL manual, it seems that I > could use mysqldump and mysqlimport for this purpose, but that seems > somehow inelegant. Does anyone know of a better way to do this that I > haven't stumbled across yet? Just lock the table, and copy all the files under: /var/lib/mysql/database_name Or you can use mysqlhotcopy to do it for you automatically. http://www.mysql.com/doc/en/mysqlhotcopy.html --bk
- Follow-Ups:
- Re: [tlug] Duplicating a MySQL database
- From: Jonathan Q
- References:
- [tlug] Duplicating a MySQL database
- From: Jonathan Q
Home | Main Index | Thread Index
- Prev by Date: [tlug] Hiroshima Linux Users Group, soon coming
- Next by Date: Re: [tlug] cannna+kinput2
- Previous by thread: [tlug] Duplicating a MySQL database
- Next by thread: Re: [tlug] Duplicating a MySQL database
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links