Automated Config Backup

Rory
 

Automated Config Backup

Wed Oct 15, 2014 5:26 pm

One thing I was thinking of is that my cisco's are all configured to backup the config to a tftp server anytime I do a write mem. That would be a great feature, regardless if it supported tftp, ftp, sftp, smb, or even email. Automated config backups serve not only as an easy way to replace failed hardware, but a good reference in the event that someone misconfigures a piece of hardware.

User avatar
rebelwireless
Experienced Member
 
Posts: 607
Joined: Mon Sep 01, 2014 1:46 pm
Has thanked: 31 times
Been thanked: 136 times

Re: Automated Config Backup

Thu Oct 16, 2014 12:49 pm

I should add that the backups should be unit agnostic (unlike mikrotik) so it's simple to drop in a backup on a new/replacement unit!

User avatar
JimBouse
Member
 
Posts: 15
Joined: Mon Jul 14, 2014 8:40 pm
Has thanked: 16 times
Been thanked: 3 times

Re: Automated Config Backup

Fri Oct 17, 2014 10:07 pm

I run a FTP server for this exact reason on my network.

Each Mikrotik FTPs to the ftp:\\server\deviceName-Internet.Protocol.Address.Number\Date-Time.cfg each night. This gives me a record of each router each night.

User avatar
rebelwireless
Experienced Member
 
Posts: 607
Joined: Mon Sep 01, 2014 1:46 pm
Has thanked: 31 times
Been thanked: 136 times

Re: Automated Config Backup

Fri Oct 17, 2014 10:10 pm

JimBouse wrote:I run a FTP server for this exact reason on my network.

Each Mikrotik FTPs to the ftp:\\server\deviceName-Internet.Protocol.Address.Number\Date-Time.cfg each night. This gives me a record of each router each night.


yeah, but configs dont drop directly in on 'tik. Both the 'backup' utility and export command produce configs w/ hard coded MAC addresses. You have to 'sanitize' the config before dropping in onto new hardware :/ lame.

User avatar
rkelly1
Experienced Member
 
Posts: 147
Joined: Wed Aug 20, 2014 10:06 pm
Location: Clermont, FL
Has thanked: 12 times
Been thanked: 27 times

Re: Automated Config Backup

Fri Oct 17, 2014 10:18 pm

rebelwireless wrote:
JimBouse wrote:I run a FTP server for this exact reason on my network.

Each Mikrotik FTPs to the ftp:\\server\deviceName-Internet.Protocol.Address.Number\Date-Time.cfg each night. This gives me a record of each router each night.


yeah, but configs dont drop directly in on 'tik. Both the 'backup' utility and export command produce configs w/ hard coded MAC addresses. You have to 'sanitize' the config before dropping in onto new hardware :/ lame.


the backup files on MT drop right in on a new device as long as the device is the same and the operating system version is the same.

User avatar
rebelwireless
Experienced Member
 
Posts: 607
Joined: Mon Sep 01, 2014 1:46 pm
Has thanked: 31 times
Been thanked: 136 times

Re: Automated Config Backup

Fri Oct 17, 2014 10:19 pm

or they mangle up the bridge-local and wlan1 because of different MAC addresses.

User avatar
JimBouse
Member
 
Posts: 15
Joined: Mon Jul 14, 2014 8:40 pm
Has thanked: 16 times
Been thanked: 3 times

Re: Automated Config Backup

Sat Oct 18, 2014 7:24 pm

rebelwireless wrote:
JimBouse wrote:I run a FTP server for this exact reason on my network.

Each Mikrotik FTPs to the ftp:\\server\deviceName-Internet.Protocol.Address.Number\Date-Time.cfg each night. This gives me a record of each router each night.


yeah, but configs dont drop directly in on 'tik. Both the 'backup' utility and export command produce configs w/ hard coded MAC addresses. You have to 'sanitize' the config before dropping in onto new hardware :/ lame.


Ahem... /export compact instead of /export

It doesnt include the mac when you use the compact switch

User avatar
maglito
Member
 
Posts: 9
Joined: Sat Nov 14, 2015 3:35 pm
Location: Newark, IL
Has thanked: 0 time
Been thanked: 1 time

Re: Automated Config Backup

Tue Aug 23, 2016 4:40 pm

email the backup config as an attachment on config change (or just on demand) would be nice, I could setup a TFTP server too but email is already working so well on these.

I use a similar feature via script on all my mikrotik stuff and it works great.
Example: email script for mikrotik
Code: Select all
/export file=export
/tool e-mail send to=my@email.com subject="$[/system identity get name] export" body="$[/system clock get date] configuration file" file=export.rsc


I schedule that script to fire off weekly on my mikrotik stuff and believe this is a pretty common practice.
Just an idea for future firmware.

User avatar
sirhc
Employee
Employee
 
Posts: 7415
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Automated Config Backup

Tue Aug 23, 2016 5:07 pm

Our switches offer TFTP backup every time you save a new config, turn it on under Device/Configuration Tab
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 33 guests