<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>MT backup script in Wireless Service Providers</title>
<link>http://www.dslreports.com/forum/r17877497</link>
<description></description>
<language>en</language>
<pubDate>Wed, 10 Feb 2010 08:40:46 EDT</pubDate>
<lastBuildDate>Wed, 10 Feb 2010 08:40:46 EDT</lastBuildDate>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,19628189</link>
<description><![CDATA[<A HREF="/useremail/u/1085764"><b>John Galt</b></A> : <div class="bquote"><small>said by  seagreen <A HREF="/useremail/u/390171"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>Added to the FAQ as a link back to this thread:  &raquo;<A HREF="/faq/wisp">Wireless ISP FAQ</A> &raquo;<A HREF="/faq/15774">Are there any Mikrotik backup scripts I can use?</A><br> </div>It would be great if other Mikrotik users also had some of their scripts posted in the FAQ section.<br><br>It would help Mikrotik nOOBS get their feet wet by having something to run, and also to dissect, examine and fool around with.<br><small>--<br>A is A</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,19628189</guid>
<pubDate>Sat, 15 Dec 2007 12:46:58 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,19627942</link>
<description><![CDATA[<A HREF="/useremail/u/390171"><b>seagreen</b></A> : Added to the FAQ as a link back to this thread:  &raquo;<A HREF="/faq/wisp">Wireless ISP FAQ</A> &raquo;<A HREF="/faq/15774">Are there any Mikrotik backup scripts I can use?</A>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,19627942</guid>
<pubDate>Sat, 15 Dec 2007 11:47:19 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17916736</link>
<description><![CDATA[<A HREF="/useremail/u/1024542"><b>jdmarti1</b></A> : I also have one that runs that creates my config as a txt file. (Just like when you type export).  The script is below:<br><br>/ system script<br>add name="config-export" source="/export file=\(\[/system identity get name\] . \"-\" . \[:pick \<br>    \[/system clock get date\] 7 11\] . \[:pick \[/system clock get date\] 0 3\] . \[:pick \[/system \<br>    clock get date\] 4 6\]\); /tool e-mail send to=\"admin@magicwisp.com\" subject=\(\[/system \<br>    identity get name\] . \" Backup \" . \[/system clock get date\]\) file=\(\[/system identity get \<br>    name\] . \"-\" . \[:pick \[/system clock get date\] 7 11\] . \[:pick \[/system clock get date\] 0 \<br>    3\] . \[:pick \[/system clock get date\] 4 6\] . \".rsc\"\); :delay 10; /file rem \[/file find \<br>    name=\(\[/system identity get name\] . \"-\" . \[:pick \[/system clock get date\] 7 11\] . \[:pick \<br>    \[/system clock get date\] 0 3\] . \[:pick \[/system clock get date\] 4 6\] . \".rsc\"\)\]; :log \<br>    info \(\"System Backup emailed at \" . \[/sys cl get time\] . \" \" . \[/sys cl get date\]\)" \<br>    policy=ftp,reboot,read,write,policy,test,winbox,password <br><br>The scheduler for it:<br><br>/ system scheduler<br>add name="export-email" on-event=config-export start-date=jan/01/1970 start-time=06:05:00 interval=1d \<br>    comment="" disabled=no <br><SMALL>--<br>&raquo;<A HREF="http://magicwisp.com" >magicwisp.com</A></SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17916736</guid>
<pubDate>Wed, 28 Feb 2007 11:51:12 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17914171</link>
<description><![CDATA[<A HREF="/useremail/u/1431209"><b>butchevans</b></A> : &raquo;<A HREF="http://www.butchevans.com/readarticle.php?article_id=17" >www.butchevans.com/readarticle.p&middot;&middot;&middot;le_id=17</A><br><br>That is a complete script with explanations of how it works.  :-)  Hope it's useful.<br><SMALL>--<br>Butch Evans<br>&raquo;<A HREF="http://www.butchevans.com/" >www.butchevans.com/</A></SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17914171</guid>
<pubDate>Tue, 27 Feb 2007 22:31:45 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17898452</link>
<description><![CDATA[<A HREF="/useremail/u/1339184"><b>eauxnguyen</b></A> : Hey Jack thanks for sharing that script. I have been trying to accomplish exactly what it does.<br><br>Owen]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17898452</guid>
<pubDate>Sun, 25 Feb 2007 15:35:36 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17884652</link>
<description><![CDATA[<A HREF="/useremail/u/1024542"><b>jdmarti1</b></A> : It deletes the file when done.<br><SMALL>--<br>&raquo;<A HREF="http://magicwisp.com" >magicwisp.com</A></SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17884652</guid>
<pubDate>Fri, 23 Feb 2007 00:17:45 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17883238</link>
<description><![CDATA[<A HREF="/useremail/u/875582"><b>Keithb</b></A> : Thanks jdmart1, that worked just as I needed.  Thanks again for the scheduler.<br><br>BTW, does that script over-write the file?  Or create a new one each day?  It seems like it would fill up my DOM card pretty fast.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17883238</guid>
<pubDate>Thu, 22 Feb 2007 19:55:20 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17882631</link>
<description><![CDATA[<A HREF="/useremail/u/1024542"><b>jdmarti1</b></A> : Here is my script and schedule - this does a backup, and works daily.  I also have one the does an export and mails it to me.  Same thing, just a text file.  I have also included the scheduler portion - this automates it all.<br><br>/ system script <br>add name="ebackup" source="/system backup save name=\(\[/system identity get \<br>    name\] . \"-\" . \[:pick \[/system clock get date\] 7 11\] . \[:pick \<br>    \[/system clock get date\] 0 3\] . \[:pick \[/system clock get date\] 4 \<br>    6\]\); /tool e-mail send to=\"admin@mydomain.com\" subject=\(\[/system \<br>    identity get name\] . \" Backup \" . \[/system clock get date\]\) \<br>    file=\(\[/system identity get name\] . \"-\" . \[:pick \[/system clock get \<br>    date\] 7 11\] . \[:pick \[/system clock get date\] 0 3\] . \[:pick \<br>    \[/system clock get date\] 4 6\] . \".backup\"\); :delay 10; /file rem \<br>    \[/file find name=\(\[/system identity get name\] . \"-\" . \[:pick \<br>    \[/system clock get date\] 7 11\] . \[:pick \[/system clock get date\] 0 \<br>    3\] . \[:pick \[/system clock get date\] 4 6\] . \".backup\"\)\]; :log \<br>    info \(\"System Backup emailed at \" . \[/sys cl get time\] . \" \" . \<br>    \[/sys cl get date\]\)" \<br>    policy=ftp,reboot,read,write,policy,test,winbox,password <br><br>/ system scheduler <br>add name="email-backup" on-event=ebackup start-date=jan/01/1970 \<br>    start-time=06:05:00 interval=1d comment="" disabled=no <br><SMALL>--<br>&raquo;<A HREF="http://magicwisp.com" >magicwisp.com</A></SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17882631</guid>
<pubDate>Thu, 22 Feb 2007 18:01:48 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17882529</link>
<description><![CDATA[<A HREF="/useremail/u/653992"><b>Believer</b></A> : /tool e-mail set server="XXX.XXX.XXX.XXX"<br>/tool e-mail set from="sender@domain.com"<br><SMALL>--<br>Comtrain Certified Tower Climber</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17882529</guid>
<pubDate>Thu, 22 Feb 2007 17:45:48 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17882348</link>
<description><![CDATA[<A HREF="/useremail/u/875582"><b>Keithb</b></A> : Do you happen to know the command to set the server?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17882348</guid>
<pubDate>Thu, 22 Feb 2007 17:15:10 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17879578</link>
<description><![CDATA[<A HREF="/useremail/u/653992"><b>Believer</b></A> : First, use quotes around the server name and e-mail address.<br><br>Second, just setup the server under /tool e-mail and then you won't have to set it.<br><SMALL>--<br>Comtrain Certified Tower Climber</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17879578</guid>
<pubDate>Thu, 22 Feb 2007 09:26:05 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17879523</link>
<description><![CDATA[<A HREF="/useremail/u/875582"><b>Keithb</b></A> : I try it with my IP and I still get the same error, strange.  Man, this sucks.<br><br>I'm currently on 2.9.23.  I wonder if I should upgrade?<br><br>I've had issues with assigning IP's to PPPOE secrets and when removing them they re-appear, it doesn't actually remove it.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17879523</guid>
<pubDate>Thu, 22 Feb 2007 09:10:39 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17877974</link>
<description><![CDATA[<A HREF="/useremail/u/1303751"><b>Rhaas</b></A> : I've always used the IP. I just tried with the fqdn and got the same error as you got. ]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17877974</guid>
<pubDate>Wed, 21 Feb 2007 22:46:20 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17877877</link>
<description><![CDATA[<A HREF="/useremail/u/875582"><b>Keithb</b></A> : haha, I've been running it for a year, and I'm not even sure I'm on the road yet.  lol]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17877877</guid>
<pubDate>Wed, 21 Feb 2007 22:33:00 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17877836</link>
<description><![CDATA[<A HREF="/useremail/u/1085764"><b>John Galt</b></A> : Well, ya got me. I am just starting down the long and torturous road that is Mikrotik.<br><br> :huh:<br><br> ;)<br><SMALL>--<br>A is A</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17877836</guid>
<pubDate>Wed, 21 Feb 2007 22:27:25 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17877649</link>
<description><![CDATA[<A HREF="/useremail/u/875582"><b>Keithb</b></A> : Hey John, thanks for the reply.  That still didn't work.  It seems like it may not like my mailserver possibly?  Rhaas said IP in his post, but I figured DNS would take over?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17877649</guid>
<pubDate>Wed, 21 Feb 2007 22:03:08 EDT</pubDate>
</item>

<item>
<title>Re: MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17877603</link>
<description><![CDATA[<A HREF="/useremail/u/1085764"><b>John Galt</b></A> : Extra space before the word Backup...?<br><SMALL>--<br>A is A</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17877603</guid>
<pubDate>Wed, 21 Feb 2007 21:57:42 EDT</pubDate>
</item>

<item>
<title>MT backup script</title>
<link>http://www.dslreports.com/forum/remark,17877497</link>
<description><![CDATA[<A HREF="/useremail/u/875582"><b>Keithb</b></A> : Rhaas posted a snippet of code to automate backups quite a while ago in my thread.  I've tried this manually and get an error.  Below is my line:<br><br><div class="code"><PRE><span class="codetext">/tool e-mail send to=&lt;me@mydomain.net&gt; subject=(&#91;/sy<br>stem identity get name&#93; . " Backup") from=&#91;/system identity get name&#93; file=(&#91;/s<br>ystem identity get name&#93; . ".backup") server=&lt;mail.mydomain.net&gt;</SPAN></PRE></DIV><br>changing me@mydomain.net and mail.mydomain.net to our domain name of course.<br><br>When running that, I get:<br><br>invalid value for argument server<br><br>Any ideas of what I'm doing wrong?<br><br>Also, when setting up the schedule, how do you actually set that up?  In the scheduler, it asks for name, start time, start date, interval, and 'On Event'.  Some are obvious, but the on event is losing me.  Am I in the right place?<br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,17877497</guid>
<pubDate>Wed, 21 Feb 2007 21:43:43 EDT</pubDate>
</item>

</channel>
</rss>
