Community discussions

MikroTik App
 
AntoninSlovacek
just joined
Topic Author
Posts: 1
Joined: Mon Jul 04, 2022 1:03 pm

How to compare *.backup

Mon Jul 04, 2022 1:33 pm

Hello,

How could I compare two non-encrypted routerBoard backups to check config. differences? OS v7.3.1

I managed to unpacked it using https://github.com/BigNerd95/RouterOS-Backup-Tools
How could I read what is inside IDX and DAT files?

Or is there any straight forward way?

Cheers!

A.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to compare *.backup

Mon Jul 04, 2022 1:58 pm

Open the original device from where the backups coming from.
Make a new backup.
Export that backup and put it on a safe place (not the routerboard itself).

Copy the first backup you want compare and restore it.
After reboot, /export file=1stbacup.rsc
Save the file outside the routerboard.
Copy the second backup you want compare and restore it.
After reboot, /export file=2ndbacup.rsc
Save the file outside the routerboard.

Copy back the original backup of the routerboard, and reload it.

Now you have two file 1stbacup.rsc and 2ndbacup.rsc and you can compare it with apposite programs.
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: How to compare *.backup

Mon Jul 04, 2022 4:14 pm

He wanted straightforward. ;) And no, unfortunately there currently isn't.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: How to compare *.backup

Mon Jul 04, 2022 4:18 pm

¯\_( ͡° ͜ʖ ͡°)_/¯

I would have done so... ;)
 
Valerio5000
Frequent Visitor
Frequent Visitor
Posts: 92
Joined: Fri Dec 06, 2013 2:38 am

Re: How to compare *.backup

Tue Jul 05, 2022 6:30 pm

I had to do a comparison of .rsc files several months ago and used a linux / KDE program called "Kompare". Optimal !
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: How to compare *.backup

Tue Jul 05, 2022 6:51 pm

There's no problem with rsc files, it's just text. You can use anything that compares text files (file compare function in Total Commander works great for me). Or if it's from same router, you can put exported rscs in some version control system like git, and even have history when exactly something changed. But binary backup is different beast, you can't do much with that.

Who is online

Users browsing this forum: trmns and 42 guests