logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Backing up dbmail mysql innodb with mysqldump: msg#00225

mail.imap.dbmail

Subject: Re: Backing up dbmail mysql innodb with mysqldump

jacques-beaudoin@xxxxxxxxxx wrote:

Selon Chris Nolan <chris@xxxxxxxxxx>:


jacques-beaudoin@xxxxxxxxxx wrote:


I use the command
mysqldump --quick --single-transaction -uroot > /backup/dbmail.sql

to backup my dbmail database.

It works fine but im wondering if any sql gouru have any opinions
about this.

I dont stop any of my services (postfix,dbmail,amavis) will i backup.
Thanks
Jacques _______________________________________________
Dbmail mailing list
Dbmail@xxxxxxxxxx
https://mailman.fastxs.nl/mailman/listinfo/dbmail



It depends on whether you use InnoDB tables or not and your isolation level.

If you don't use InnoDB tables, there is a strong possibility of an inconsistent database state occuring.

If you do use InnoDB tables, you will need to set your isolation level to READ_REPEATABLE to get a consistent snapshot.

Regards,

Chris

_______________________________________________
Dbmail mailing list
Dbmail@xxxxxxxxxx
https://mailman.fastxs.nl/mailman/listinfo/dbmail


Thanks Chris for your reply

When i created my dbmail-mysql-database i wrote to all my
create table statement type=innodb if that what you mean by
using innodb statement.

Where is that READ_REPEATABLE statement goes.

Can you give the complet mysqldump command you use.

Thanks again
Jacques


I use the same mysqldump command you use. The READ_REPEATABLE statement belongs in your MySQL configuration file. You need to insert the following line:

transaction-isolation = REPEATABLE-READ

Hope this helps!


_______________________________________________
Dbmail mailing list
Dbmail@xxxxxxxxxx
https://mailman.fastxs.nl/mailman/listinfo/dbmail



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation