Mikrotik backup in form of text script

Taking care of your Linux box.

Mikrotik backup in form of text script

Postby osama1 » Sun Apr 24, 2011 11:53 am

I want to take backup of my dhcp setting. I just want to see the configuration in form of script and then take backup in form of text script not binary. ANy one know how to do that.
osama1
Lance Naik
 
Posts: 33
Joined: Fri Jul 17, 2009 10:02 am

Postby mudasir » Wed Apr 27, 2011 1:28 pm

Hi,

As for your first statement
I want to take backup of my dhcp setting
Is someone stopping you for this.

And as for your last statement
ANy one know how to do that
Yes many people here know how to do this, its very simple.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
mudasir
Captain
 
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Website: http://www.crystalnetworks.org
Location: Dubai

Postby osama1 » Thu Apr 28, 2011 12:03 pm

Well previously I didnt know about it but now I know.

Just to close the thread

/ip dhcp-server> export file=ip_backup
osama1
Lance Naik
 
Posts: 33
Joined: Fri Jul 17, 2009 10:02 am

Postby mudasir » Thu Apr 28, 2011 12:52 pm

Hi,

The command you have given will not work. Below is the command that will work like a charm

# For detailed info
/ip dhcp-server export file=dhcp.rsc

You can also perform the same from Linux like below

# Taking backup of mikrotik dhcp-server config from Linux
root@crystalnetworks:~#ssh admin@mikrotik-ip /ip dhcp-server export > /path/to/file.log

Same can be done for almost all other mikrotik services
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
mudasir
Captain
 
Posts: 565
Joined: Tue Oct 17, 2006 5:23 am
Website: http://www.crystalnetworks.org
Location: Dubai


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 2 guests

cron