Community discussions

MikroTik App
 
flexus
just joined
Topic Author
Posts: 22
Joined: Wed Feb 16, 2011 11:35 pm
Location: Ukraine

How to send backup files of RouterOS5 to linux tftp server ?

Tue Jun 28, 2011 12:07 pm

Hi!
Is there some script that can send backups to ubuntu scp\ftp\tftp server ?
Reading guides, googling - nothing.
 
 
flexus
just joined
Topic Author
Posts: 22
Joined: Wed Feb 16, 2011 11:35 pm
Location: Ukraine

Re: How to send backup files of RouterOS5 to linux tftp serv

Tue Jun 28, 2011 4:47 pm

Thank you.

But when try to using this script
:log info "backup beginning now"
:global backupfile ([/system identity get name] . "-" . [/system clock get time] . ".backup")
/system backup save name=$backupfile
:log info "backup pausing for 10s"
:delay 10s
:log info "backup being emailed"
/tool e-mail send to="to@me" subject=([/system identity get name]) from=lala@lalala file=$backupfile 
:log info "backup finished"
Writing in log: error handling file
What i do wrong ?
 
User avatar
petrn
Member Candidate
Member Candidate
Posts: 180
Joined: Thu Jul 29, 2010 3:56 am
Location: Dubai

Re: How to send backup files of RouterOS5 to linux tftp serv

Tue Jun 28, 2011 5:55 pm

What i do wrong ?
You are not posting enough information, error message appears when you do backup or trying to email it?
 
flexus
just joined
Topic Author
Posts: 22
Joined: Wed Feb 16, 2011 11:35 pm
Location: Ukraine

Re: How to send backup files of RouterOS5 to linux tftp serv

Tue Jun 28, 2011 9:50 pm

Sorry.
So,full log message:
Error sending email <mail subject> error handling file
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: How to send backup files of RouterOS5 to linux tftp serv

Wed Jun 29, 2011 4:20 pm

you etiher do not have sensitive permissions for the user that tried to send the e-mail or files is not finished when you try to send it
 
flexus
just joined
Topic Author
Posts: 22
Joined: Wed Feb 16, 2011 11:35 pm
Location: Ukraine

Re: How to send backup files of RouterOS5 to linux tftp serv

Thu Jun 30, 2011 11:23 am

Thank you!
Really, haven't sensetive rigths.

Who is online

Users browsing this forum: No registered users and 60 guests