Jumat, 14 September 2012

Automatic backup mikrotik sending to FTP Server


been a long time I did not write this article on my blog.
okay .. on this occasion I would like to share a tutorial on how to perform automatic backup mikrotik which in this case I want to save it to my FTP server.

for the illustrations like this:

--- Mikrotik backup configuration - sending backup configuration to FTP Server - mikrotik configuration backup file stored on the FTP Server

This is useful if we do a lot of management to mikrotik router, and want to save your backup file from mikrotik into a lot of resources, and if one day there is an error on a router, we just download the backup files into the troubled mikrotik router

lets do it ..

A. we assume that we already have a FTP server with the IP: 10.20.30.254 (recommendation using Public IP) with the username: password Fathur: Fathur and running on port: 2100

2. we assume again that we've set up on a mikrotik that will be made of materials testing

3. log into the Mikrotik, then the first time that we will make is to add a script that will be created to perform automatic backups

example:

log info "Starting Automatic Backup Script Configure By cr0c0dil3"
:global thisdate [/system clock get date]
:global datetimestring ([:pick $thisdate 0 3] ."-" . [:pick $thisdate 4 6] ."-" . [:pick $thisdate 7 11])

/system backup save name="$[/system identity get name]_$datetimestring" 
:log info "Please wait...!!!"
:delay 5s
:log info "Sending Backup Mikrotik to FTP Server............."
/tool fetch address=10.20.30.254 src-path="$[/system identity get name]_$datetimestring.backup" user=fathur password=fathur port=2100 upload=yes mode=ftp dst-path="$[/system identity get name]_$datetimestring.backup"
:delay 1
:log info "Finished Backup Script...!!!!"

this tutorial have been finished, lets practice for out mikrotik router,, :)

1 komentar:

Blog27999 mengatakan...

Did you hear there is a 12 word sentence you can tell your crush... that will induce deep feelings of love and impulsive attraction for you deep inside his heart?

Because deep inside these 12 words is a "secret signal" that fuels a man's instinct to love, look after and guard you with his entire heart...

12 Words Will Trigger A Man's Love Response

This instinct is so hardwired into a man's mind that it will drive him to work harder than ever before to do his best at looking after your relationship.

Matter-of-fact, triggering this powerful instinct is so binding to achieving the best possible relationship with your man that as soon as you send your man a "Secret Signal"...

...You'll instantly notice him open his mind and heart for you in a way he haven't expressed before and he will see you as the only woman in the universe who has ever truly attracted him.

Posting Komentar

 
Design by Automotive | Bloggerized by Free Blogger Templates | Hot Deal