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] wiki
- Date: Sat, 18 Nov 2006 23:38:03 -0800
- From: Walter Hansen <gandalf@example.com>
- Subject: Re: [tlug] wiki
- References: <AA0639A1EB70AE409130258CE7BDC318323717@example.com> <455FF295.1090303@example.com> <f118b8b90611182331h4ef78c32x1b8fdd550c2bda90@example.com>
- User-agent: Thunderbird 1.5.0.8 (Windows/20061025)
Keith Bawden wrote:The way I do this is to run a master and slave MySQL server (you can run them on the same machine) and to backup the slave.
I then have a script that does the following (and more :)
1. Checks replication status 2. Stops replication 3. Dumps DB to text file. 4. Re-enables replication 5. Checks if slave catches up to master. 6 Logs and reports backup status.
This way there are no issues with backing up a live server, or the problems associated with locking tables or records during a backup. Another bnus is that you can also take the slave completely offline and do a backup of the binary tables and log files if need be.
I didn't ever think of putting them on the same machine. I wonder if would be effective to bring one up, start replication, wait until it finishes and then bring it back down, backup and wait till the next day? Although I wonder how intrusive mysqldump is to the system. I should do some investigating. Interesting thought. I'll have to ponder it more.
- References:
- Re: [tlug] wiki
- From: burlingk
- Re: [tlug] wiki
- From: Walter Hansen
- Re: [tlug] wiki
- From: Keith Bawden
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] wiki
- Next by Date: Re: [tlug] Internet Providers
- Previous by thread: Re: [tlug] wiki
- Next by thread: Re: [tlug] wiki
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links