<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-11922628.post112903087731850362..comments</id><updated>2009-02-25T19:22:48.123+01:00</updated><title type='text'>Comments on root.log: Backup all mysql databases to separate dump files</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rootlog.blogspot.com/feeds/112903087731850362/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11922628/112903087731850362/comments/default'/><link rel='alternate' type='text/html' href='http://rootlog.blogspot.com/2005/10/backup-all-mysql-databases-to-separate.html'/><author><name>peter</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11922628.post-1162290035135430211</id><published>2009-02-25T19:22:00.000+01:00</published><updated>2009-02-25T19:22:00.000+01:00</updated><title type='text'>wow! thanks so much even though this is so old.  I...</title><content type='html'>wow! thanks so much even though this is so old.  I have modified it even further so you can keep as many days as you want without over writing.&lt;BR/&gt;&lt;BR/&gt;date=`date -I`&lt;BR/&gt;for i in /var/lib/mysql/*/; do&lt;BR/&gt;dbname=`basename $i`&lt;BR/&gt;mysqldump --password=yourpw $dbname &amp;gt; /root/mysqlbackups/$dbname-$date.sql&lt;BR/&gt;done</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11922628/112903087731850362/comments/default/1162290035135430211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11922628/112903087731850362/comments/default/1162290035135430211'/><link rel='alternate' type='text/html' href='http://rootlog.blogspot.com/2005/10/backup-all-mysql-databases-to-separate.html?showComment=1235586120000#c1162290035135430211' title=''/><author><name>starcelebs</name><uri>http://www.blogger.com/profile/14312923716635677377</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://rootlog.blogspot.com/2005/10/backup-all-mysql-databases-to-separate.html' ref='tag:blogger.com,1999:blog-11922628.post-112903087731850362' source='http://www.blogger.com/feeds/11922628/posts/default/112903087731850362' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-11922628.post-9202897255432644921</id><published>2008-09-24T13:17:00.000+02:00</published><updated>2008-09-24T13:17:00.000+02:00</updated><title type='text'>Indeed, rather old but very useful! Thanks for the...</title><content type='html'>Indeed, rather old but very useful! Thanks for the concise piece of knowledge. :) Cass</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11922628/112903087731850362/comments/default/9202897255432644921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11922628/112903087731850362/comments/default/9202897255432644921'/><link rel='alternate' type='text/html' href='http://rootlog.blogspot.com/2005/10/backup-all-mysql-databases-to-separate.html?showComment=1222255020000#c9202897255432644921' title=''/><author><name>Cass Surek</name><uri>http://www.blogger.com/profile/14235713112469398175</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://rootlog.blogspot.com/2005/10/backup-all-mysql-databases-to-separate.html' ref='tag:blogger.com,1999:blog-11922628.post-112903087731850362' source='http://www.blogger.com/feeds/11922628/posts/default/112903087731850362' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-11922628.post-5682503001670647643</id><published>2008-04-14T10:25:00.000+02:00</published><updated>2008-04-14T10:25:00.000+02:00</updated><title type='text'>Hey I know this is a crazy old post, but I found i...</title><content type='html'>Hey I know this is a crazy old post, but I found it on google and it helped me a bunch, thanks!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11922628/112903087731850362/comments/default/5682503001670647643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11922628/112903087731850362/comments/default/5682503001670647643'/><link rel='alternate' type='text/html' href='http://rootlog.blogspot.com/2005/10/backup-all-mysql-databases-to-separate.html?showComment=1208161500000#c5682503001670647643' title=''/><author><name>Paula</name><uri>http://www.blogger.com/profile/06810652324373508803</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://rootlog.blogspot.com/2005/10/backup-all-mysql-databases-to-separate.html' ref='tag:blogger.com,1999:blog-11922628.post-112903087731850362' source='http://www.blogger.com/feeds/11922628/posts/default/112903087731850362' type='text/html'/></entry></feed>