<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[My Visual Database — Script to backup SQL Database and compress it]]></title>
		<link>https://myvisualdatabase.com/forum/viewtopic.php?id=5833</link>
		<atom:link href="https://myvisualdatabase.com/forum/extern.php?action=feed&amp;tid=5833&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Script to backup SQL Database and compress it.]]></description>
		<lastBuildDate>Wed, 18 Dec 2019 13:01:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Script to backup SQL Database and compress it]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34103#p34103</link>
			<description><![CDATA[<p>** UPDATE **&nbsp; </p><p>Hi all, </p><p>Well, after doing a little bit of research on the forum , I found this thread where the first part of the MySQL backup is <br />done.&nbsp; Good job @prahousefamily&nbsp; !!&nbsp; </p><p><a href="http://myvisualdatabase.com/forum/viewtopic.php?pid=21261#p21261">http://myvisualdatabase.com/forum/viewt … 261#p21261</a></p><p>Now I just need to use the <strong>backup.bat</strong> archive that&#039;s created save and compress the MySQL database and mail it to specific e-mail addresses in MVD via a script.&nbsp; I need to be able to create an automated e-mailer that con grab the archive (##name##year-month-day.sql) and deliver it<br />to the addresses specified in the program.&nbsp; I need help with that part.</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (gonpublic2k)]]></author>
			<pubDate>Wed, 18 Dec 2019 13:01:02 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34103#p34103</guid>
		</item>
		<item>
			<title><![CDATA[Re: Script to backup SQL Database and compress it]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34079#p34079</link>
			<description><![CDATA[<div class="quotebox"><cite>adiziktdy wrote:</cite><blockquote><p>Hi, gonpublic2k</p><p>I started with writing <strong>dump.bat</strong></p><div class="quotebox"><blockquote><p><em>rem date DDMMYY</em><br />set name1=%DATE:~0,2%%DATE:~3,2%%DATE:~8,2%</p><p><em>rem time ( 10:00 and after)</em><br />IF &quot;%time:~0,1%&quot; LSS &quot;1&quot; (<br />&nbsp; &nbsp;set name2=&quot;0&quot;%TIME:~1,1%%TIME:~3,2%<br />) ELSE (<br />&nbsp; &nbsp;set name2=%TIME:~0,2%%TIME:~3,2%<br />)</p><p>mysqldump.exe --host=192.*.*.* --port=3306 -uUSER -pPASSWORD plan &gt;d:\MySql_Plan\Arc\plan%name1%_%name2%.sql</p><p>&quot;c:\Program Files\Total Commander\Plugins\arc\Rar.exe&quot; m -ep d:\MySql_Plan\Arc\plan%name1%_%name2%.zip d:\MySql_Plan\Arc\plan%name1%_%name2%.sql</p></blockquote></div><p>Try it</p></blockquote></div><p>Hi, thanks for sharing.&nbsp; I&#039;m not sure if it&#039;s something with the long name path that you shortened with the &quot; ~ &quot; character but this does not<br />work.&nbsp; I&#039;m trying to see if I can write a batch that will do the dump for now and use that within MVD to call it as an external program.</p>]]></description>
			<author><![CDATA[null@example.com (gonpublic2k)]]></author>
			<pubDate>Tue, 17 Dec 2019 13:03:06 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34079#p34079</guid>
		</item>
		<item>
			<title><![CDATA[Re: Script to backup SQL Database and compress it]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34072#p34072</link>
			<description><![CDATA[<p>Hi, gonpublic2k</p><p>I started with writing <strong>dump.bat</strong></p><div class="quotebox"><blockquote><p><em>rem date DDMMYY</em><br />set name1=%DATE:~0,2%%DATE:~3,2%%DATE:~8,2%</p><p><em>rem time ( 10:00 and after)</em><br />IF &quot;%time:~0,1%&quot; LSS &quot;1&quot; (<br />&nbsp; &nbsp;set name2=&quot;0&quot;%TIME:~1,1%%TIME:~3,2%<br />) ELSE (<br />&nbsp; &nbsp;set name2=%TIME:~0,2%%TIME:~3,2%<br />)</p><p>mysqldump.exe --host=192.*.*.* --port=3306 -uUSER -pPASSWORD plan &gt;d:\MySql_Plan\Arc\plan%name1%_%name2%.sql</p><p>&quot;c:\Program Files\Total Commander\Plugins\arc\Rar.exe&quot; m -ep d:\MySql_Plan\Arc\plan%name1%_%name2%.zip d:\MySql_Plan\Arc\plan%name1%_%name2%.sql</p></blockquote></div><p>Try it</p>]]></description>
			<author><![CDATA[null@example.com (adiziktdy)]]></author>
			<pubDate>Tue, 17 Dec 2019 05:14:41 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34072#p34072</guid>
		</item>
		<item>
			<title><![CDATA[Script to backup SQL Database and compress it]]></title>
			<link>https://myvisualdatabase.com/forum/viewtopic.php?pid=34071#p34071</link>
			<description><![CDATA[<p>Hello All MVD community,</p><p>I need your help with a script to backup a SQL database and compress it into a RAR or ZIP format to be send out<br />by e-mail.&nbsp; The process should take a SQL database saved&nbsp; from MySQL Manager and compress it to be sent out<br />to specific e-mail addresses.&nbsp; Don&#039;t know where to start <img src="https://myvisualdatabase.com/forum/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><br /><p>Thanks in advance!</p>]]></description>
			<author><![CDATA[null@example.com (gonpublic2k)]]></author>
			<pubDate>Tue, 17 Dec 2019 00:32:44 +0000</pubDate>
			<guid>https://myvisualdatabase.com/forum/viewtopic.php?pid=34071#p34071</guid>
		</item>
	</channel>
</rss>
