Re: [Mikrotik] Emailing backup on v6

2015-04-21 Thread Josh Luthman
\ >>>>>>> \n}\r\ >>>>>>> \n#\r\ >>>>>>> \n# assemble current file name\r\ >>>>>>> \n#\r\ >>>>>>> \n:global curdt [/system clock get date]\r\ >>>>>>> \n:global newd

Re: [Mikrotik] Emailing backup on v6

2015-04-19 Thread D. Ryan Spott
og info \"Auto backup sent\"" /system schedule add interval=3d12h name=backups on-event=auto-backup policy=\ ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api \ start-date=jan/01/2014 start-time=12:00:00 -Original Message- From: mikrotik-boun...@mai

Re: [Mikrotik] Emailing backup on v6

2015-04-19 Thread Josh Luthman
newtm\")\r\ >>>>> \n#\r\ >>>>> \n# do the backup\r\ >>>>> \n#\r\ >>>>> \n:log info \"Creating \$filename.rsc and \$filename.backup\"\r\ >>>>> \n/export compact file=\$filename\r\

Re: [Mikrotik] Emailing backup on v6

2015-04-18 Thread D. Ryan Spott
f,sensitive,api \ start-date=jan/01/2014 start-time=12:00:00 -Original Message- From: mikrotik-boun...@mail.butchevans.com [mailto: mikrotik-boun...@mail.butchevans.com] On Behalf Of Josh Luthman Sent: Friday, April 17, 2015 10:22 AM To: Mikrotik discussions Subject: Re: [Mikrotik] Email

Re: [Mikrotik] Emailing backup on v6

2015-04-17 Thread Josh Luthman
\n:delay 15s\r\ > >>\n/tool e-mail send file=\"\$filename.backup\" to=\" > >> wheretosend.bac...@youremail.com \" body=\"Backup Binary file > >> attached.\\n\\n\" subject=\"Auto-backup \$sub\ > >>ject\"\r\ > >&g

Re: [Mikrotik] Emailing backup on v6

2015-04-17 Thread Grand Avenue Broadband
body=\"Backup Binary file >> attached.\\n\\n\" subject=\"Auto-backup \$sub\ >>ject\"\r\ >> \n:log info \"Auto backup sent\"" >> >> /system schedule >> add interval=3d12h name=backups on-event=auto-backup policy=\ >>

Re: [Mikrotik] Emailing backup on v6

2015-04-17 Thread Josh Luthman
\n\\n\" subject=\"Auto-backup \$sub\ > ject\"\r\ > \n:log info \"Auto backup sent\"" > > /system schedule > add interval=3d12h name=backups on-event=auto-backup policy=\ > ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,

Re: [Mikrotik] Emailing backup on v6

2015-04-17 Thread Wayne Hancock
art-date=jan/01/2014 start-time=12:00:00 -Original Message- From: mikrotik-boun...@mail.butchevans.com [mailto:mikrotik-boun...@mail.butchevans.com] On Behalf Of Josh Luthman Sent: Friday, April 17, 2015 10:22 AM To: Mikrotik discussions Subject: Re: [Mikrotik] Emailing backup on v6 @Ryan

Re: [Mikrotik] Emailing backup on v6

2015-04-17 Thread Josh Luthman
works. > > /tool e-mail send server=64.233.191.27 file=StCatherines. > rsc to="hil...@think.co.za" subject="nothing" body="still nothing" > > > > -Original Message- > From: mikrotik-boun...@mail.butchevans.com [mailto: > mikrotik-

Re: [Mikrotik] Emailing backup on v6

2015-04-17 Thread Hilton Ralphs
otik-boun...@mail.butchevans.com [mailto:mikrotik-boun...@mail.butchevans.com] On Behalf Of Josh Luthman Sent: 17 April 2015 00:32 To: Mikrotik discussions Subject: [Mikrotik] Emailing backup on v6 My backup script seems to not work on v6 anymore. I keep getting an invalid BODY error. The s

Re: [Mikrotik] Emailing backup on v6

2015-04-16 Thread Grand Avenue Broadband
Try leaving body out altogether. I don’t think it’s even required. If it works, you have some obscure syntax error in that string. On Apr 16, 2015, at 4:25 PM, Josh Luthman wrote: > I tried body="some text" with no hope > > > Josh Luthman > Office: 937-552-2340 > Direct: 937-552-2343 > 1100

Re: [Mikrotik] Emailing backup on v6

2015-04-16 Thread D. Ryan Spott
This is what I am using: #Add a system script to make sure the router is backed up. /system script add name=backup policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive source=":global sysname [/system identity get name]\r\ \n:local datetime [/system clock get date]\r\ \n\r

Re: [Mikrotik] Emailing backup on v6

2015-04-16 Thread Josh Luthman
I tried body="some text" with no hope Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Thu, Apr 16, 2015 at 7:23 PM, Grand Avenue Broadband < grandav...@grandavebb.com> wrote: > Your “body” parameter seems to be missing a close quote. Maybe that

Re: [Mikrotik] Emailing backup on v6

2015-04-16 Thread Grand Avenue Broadband
Your “body” parameter seems to be missing a close quote. Maybe that’s the issue. I use /tool e-mail send file="$filename.rsc" to=“redac...@grandavebb.com" body="Backup file attached.\n\n" subject="Auto-export $subject” and it has worked fine in every release. On Apr 16, 2015, at 3:31

[Mikrotik] Emailing backup on v6

2015-04-16 Thread Josh Luthman
My backup script seems to not work on v6 anymore. I keep getting an invalid BODY error. The server is just GMail's SMTP server (first MX record). It's nothing more than this: /tool e-mail send server=64.233.191.27 file=backupfilehere.rsc to=" j...@imaginenetworksllc.com" subject=([/system identi