<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Utah Web Design Blog</title>
	<atom:link href="http://www.redolivedesign.com/utah-web-designers-blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redolivedesign.com/utah-web-designers-blog</link>
	<description>Corporate Blog Site for Red Olive Design Inc.</description>
	<lastBuildDate>Wed, 15 Feb 2012 21:24:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on How to automatically backup all MySQL databases zip them and delete backups older than n days on windows with a batch file by Michael</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2011/05/23/automated-mysql-backup-for-windows/comment-page-1/#comment-1853</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 15 Feb 2012 21:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=1064#comment-1853</guid>
		<description>Thank you for the script!!!  Life saver!

Having the MySQL directories as set variables would make setting up a little quicker with less chance of human error since there will be one place/area to set all the options.</description>
		<content:encoded><![CDATA[<p>Thank you for the script!!!  Life saver!</p>
<p>Having the MySQL directories as set variables would make setting up a little quicker with less chance of human error since there will be one place/area to set all the options.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to automatically backup all MySQL databases zip them and delete backups older than n days on windows with a batch file by Seeroo</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2011/05/23/automated-mysql-backup-for-windows/comment-page-1/#comment-1848</link>
		<dc:creator>Seeroo</dc:creator>
		<pubDate>Mon, 06 Feb 2012 05:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=1064#comment-1848</guid>
		<description>Really useful</description>
		<content:encoded><![CDATA[<p>Really useful</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to automatically backup all MySQL databases zip them and delete backups older than n days on windows with a batch file by bgolfy</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2011/05/23/automated-mysql-backup-for-windows/comment-page-1/#comment-1836</link>
		<dc:creator>bgolfy</dc:creator>
		<pubDate>Thu, 26 Jan 2012 13:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=1064#comment-1836</guid>
		<description>Thanks a lot guys for this fantastic script!!</description>
		<content:encoded><![CDATA[<p>Thanks a lot guys for this fantastic script!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to automatically backup all MySQL databases zip them and delete backups older than n days on windows with a batch file by Robert</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2011/05/23/automated-mysql-backup-for-windows/comment-page-1/#comment-1801</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 19 Jan 2012 13:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=1064#comment-1801</guid>
		<description>Great job !! THX

for German dateformat this would work

set year=%DATE:~6,4%
set day=%DATE:~0,2%
set mnt=%DATE:~3,2%
set hr=%TIME:~0,2%
set min=%TIME:~3,2%


IF %day% LSS 10 SET day=0%day:~1,1%
IF %mnt% LSS 10 SET mnt=0%mnt:~1,1%
IF %hr% LSS 10 SET hr=0%hr:~1,1%
IF %min% LSS 10 SET min=0%min:~1,1%

set backupdate=%year%-%day%-%mnt%-%hr%-%min%

---&gt; FullBackup.2012-19-01-14-02</description>
		<content:encoded><![CDATA[<p>Great job !! THX</p>
<p>for German dateformat this would work</p>
<p>set year=%DATE:~6,4%<br />
set day=%DATE:~0,2%<br />
set mnt=%DATE:~3,2%<br />
set hr=%TIME:~0,2%<br />
set min=%TIME:~3,2%</p>
<p>IF %day% LSS 10 SET day=0%day:~1,1%<br />
IF %mnt% LSS 10 SET mnt=0%mnt:~1,1%<br />
IF %hr% LSS 10 SET hr=0%hr:~1,1%<br />
IF %min% LSS 10 SET min=0%min:~1,1%</p>
<p>set backupdate=%year%-%day%-%mnt%-%hr%-%min%</p>
<p>---&gt; FullBackup.2012-19-01-14-02</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to automatically backup all MySQL databases zip them and delete backups older than n days on windows with a batch file by Scott</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2011/05/23/automated-mysql-backup-for-windows/comment-page-1/#comment-1727</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 09 Jan 2012 14:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=1064#comment-1727</guid>
		<description>Great program. Just what I needed. Unfortunalty I don&#039;t use Facebook to &quot;like&quot; you on it.</description>
		<content:encoded><![CDATA[<p>Great program. Just what I needed. Unfortunalty I don't use Facebook to "like" you on it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MS Word 2007 .DOCX MIME TYPE by Aftab Alam</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2009/06/23/ms-word-2007-docx-mime-type/comment-page-1/#comment-1668</link>
		<dc:creator>Aftab Alam</dc:creator>
		<pubDate>Mon, 02 Jan 2012 07:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=418#comment-1668</guid>
		<description>Thanks Matthew .
Came really handy !!</description>
		<content:encoded><![CDATA[<p>Thanks Matthew .<br />
Came really handy !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to automatically backup all MySQL databases zip them and delete backups older than n days on windows with a batch file by Matt Moeller</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2011/05/23/automated-mysql-backup-for-windows/comment-page-1/#comment-1635</link>
		<dc:creator>Matt Moeller</dc:creator>
		<pubDate>Thu, 29 Dec 2011 16:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=1064#comment-1635</guid>
		<description>Nice catch Kamil!  You&#039;re right I had my scheduled task running at 12:00 every day so I never saw the bug.  I will include your update, thank you!</description>
		<content:encoded><![CDATA[<p>Nice catch Kamil!  You're right I had my scheduled task running at 12:00 every day so I never saw the bug.  I will include your update, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to automatically backup all MySQL databases zip them and delete backups older than n days on windows with a batch file by Kamil</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2011/05/23/automated-mysql-backup-for-windows/comment-page-1/#comment-1633</link>
		<dc:creator>Kamil</dc:creator>
		<pubDate>Thu, 29 Dec 2011 14:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=1064#comment-1633</guid>
		<description>I just wanted to thanx for a great script. I have customized it quite a lot, but the original pushed me in the right direction. I have now the MySQL backup fully automated.

One thing I would like to point out though. When handling the zipped file further (eg. uploading it to ftp server) I have encountered problems with the file name. When the time was less then 10 it would leave a blank space in the file name and then it would not be possible to copy the file (using batch commands). It looked for example like this: FullBackup.2011-28-11- 9-34.zip -&gt; the whole part after the space will be ignored when you use this file name for other operations. The same goes for days and month lower then 10. 

The solution to this is simply parse the date and time string, check if it is less then 10 add zero to it in case it is.

set year=%DATE:~10,4%
set day=%DATE:~7,2%
set mnt=%DATE:~4,2%
set hr=%TIME:~0,2%
set min=%TIME:~3,2%

IF %day% LSS 10 SET day=0%day:~1,1%
IF %mnt% LSS 10 SET mnt=0%mnt:~1,1%
IF %hr% LSS 10 SET hr=0%hr:~1,1%
IF %min% LSS 10 SET min=0%min:~1,1%

set backupdate=%year%-%day%-%mnt%-%hr%-%min%

With this control sequence the file name would now be:
FullBackup.2011-28-11-09-34.zip  -&gt; no spaces = no problems

For those interested in uploading the backup file to some ftp server the commands are following:

cd\[path to directory where your file is saved]
@echo off
echo user [here comes your ftp username]&gt;ftpup.dat
echo [here comes ftp password]&gt;&gt;ftpup.dat
echo [optional line; you can put &quot;cd&quot; command to navigate through the folders on the ftp server; eg. cd\folder1\folder2]&gt;&gt;ftpup.dat
echo binary&gt;&gt;ftpup.dat
echo put [file name comes here; eg. FullBackup.%backupdate%.zip]&gt;&gt;ftpup.dat
echo quit&gt;&gt;ftpup.dat
ftp -n -s:ftpup.dat [insert ftp server here; eg. myserver.com]
del ftpup.dat

Thanks again for this wonderful and beautifully simple solution. I hope my hints will be of help to others. 
Matt feel free to include them in the article or the file itsefl.

Have a happy New year everyone.</description>
		<content:encoded><![CDATA[<p>I just wanted to thanx for a great script. I have customized it quite a lot, but the original pushed me in the right direction. I have now the MySQL backup fully automated.</p>
<p>One thing I would like to point out though. When handling the zipped file further (eg. uploading it to ftp server) I have encountered problems with the file name. When the time was less then 10 it would leave a blank space in the file name and then it would not be possible to copy the file (using batch commands). It looked for example like this: FullBackup.2011-28-11- 9-34.zip -&gt; the whole part after the space will be ignored when you use this file name for other operations. The same goes for days and month lower then 10. </p>
<p>The solution to this is simply parse the date and time string, check if it is less then 10 add zero to it in case it is.</p>
<p>set year=%DATE:~10,4%<br />
set day=%DATE:~7,2%<br />
set mnt=%DATE:~4,2%<br />
set hr=%TIME:~0,2%<br />
set min=%TIME:~3,2%</p>
<p>IF %day% LSS 10 SET day=0%day:~1,1%<br />
IF %mnt% LSS 10 SET mnt=0%mnt:~1,1%<br />
IF %hr% LSS 10 SET hr=0%hr:~1,1%<br />
IF %min% LSS 10 SET min=0%min:~1,1%</p>
<p>set backupdate=%year%-%day%-%mnt%-%hr%-%min%</p>
<p>With this control sequence the file name would now be:<br />
FullBackup.2011-28-11-09-34.zip  -&gt; no spaces = no problems</p>
<p>For those interested in uploading the backup file to some ftp server the commands are following:</p>
<p>cd\[path to directory where your file is saved]<br />
@echo off<br />
echo user [here comes your ftp username]&gt;ftpup.dat<br />
echo [here comes ftp password]&gt;&gt;ftpup.dat<br />
echo [optional line; you can put "cd" command to navigate through the folders on the ftp server; eg. cd\folder1\folder2]&gt;&gt;ftpup.dat<br />
echo binary&gt;&gt;ftpup.dat<br />
echo put [file name comes here; eg. FullBackup.%backupdate%.zip]&gt;&gt;ftpup.dat<br />
echo quit&gt;&gt;ftpup.dat<br />
ftp -n -s:ftpup.dat [insert ftp server here; eg. myserver.com]<br />
del ftpup.dat</p>
<p>Thanks again for this wonderful and beautifully simple solution. I hope my hints will be of help to others.<br />
Matt feel free to include them in the article or the file itsefl.</p>
<p>Have a happy New year everyone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MS Word 2007 .DOCX MIME TYPE by Arpan</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2009/06/23/ms-word-2007-docx-mime-type/comment-page-1/#comment-1630</link>
		<dc:creator>Arpan</dc:creator>
		<pubDate>Thu, 22 Dec 2011 11:36:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=418#comment-1630</guid>
		<description>How can i show the content of a docx file on the browser.(without download)</description>
		<content:encoded><![CDATA[<p>How can i show the content of a docx file on the browser.(without download)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to automatically backup all MySQL databases zip them and delete backups older than n days on windows with a batch file by MSH_jacob</title>
		<link>http://www.redolivedesign.com/utah-web-designers-blog/2011/05/23/automated-mysql-backup-for-windows/comment-page-1/#comment-1623</link>
		<dc:creator>MSH_jacob</dc:creator>
		<pubDate>Wed, 07 Dec 2011 20:41:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.redolivedesign.com/utah-web-designers-blog/?p=1064#comment-1623</guid>
		<description>First I would like to thank you for the script it is most definately a lifesaver.  I ran into a problem with it though, if a database has a hyphen in the name it fails because mysql creates the database folder in the following format   firstword@002dsecondword then when it tries to backup the database it cant find it because its looking for @002d instead of a hyphen.  Any ideas to get around this?</description>
		<content:encoded><![CDATA[<p>First I would like to thank you for the script it is most definately a lifesaver.  I ran into a problem with it though, if a database has a hyphen in the name it fails because mysql creates the database folder in the following format   firstword@002dsecondword then when it tries to backup the database it cant find it because its looking for @002d instead of a hyphen.  Any ideas to get around this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

