Here's the script I schedule on all 66 of our Mikrotik routers
:global tempt ([/system clock get time])
:global tm ([:pick $tempt 0 2].[:pick $tempt 3 5])
:global tempd ([/system clock get date])
:global dt ([:pick $tempd 0 3].[:pick $tempd 4 6].[:pick $tempd 7 11])
:global tempi (/ip address get 0 address)
:global ipa ([:pick $tempi 0 ([:len $tempi]-3)])
:global backupfile ("MC51-".$dt.$tm)
/export file=$backupfile
/tool e-mail send [email protected] subject=([/system
identity get name] ." " . " Backup " . [/system clock get date]) from=
[email protected] file=$backupfile server=xxx.xxx.xxx.xxx
:log info "backup file was emailed"
On Wed, Feb 6, 2013 at 4:07 PM, Rick Smith <[email protected]> wrote:
> change to /export file so that its a text file. I got burned by this
> same thing and had to convert. I can send in our script if it helps.
>
> On Feb 6, 2013, at 4:03 PM, Eric Muehleisen <[email protected]> wrote:
>
> > I currently do MT backups using the scheduler to do a "system backup save
> > name" then a FTP fetch. This all works correctly but the file fails when
> I
> > try to upload the config and restore to a new router. Does the backup
> file
> > become corrupt during this process?
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> http://mail.butchevans.com/pipermail/mikrotik/attachments/20130206/49d8b59b/attachment.html
> >
> > _______________________________________________
> > Mikrotik mailing list
> > [email protected]
> > http://mail.butchevans.com/mailman/listinfo/mikrotik
> >
> > Visit http://blog.butchevans.com/ for tutorials related to Mikrotik
> RouterOS
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.butchevans.com/pipermail/mikrotik/attachments/20130206/d3bb0396/attachment.html>
_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik
Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS