Community discussions

MikroTik App
 
denovo
just joined
Topic Author
Posts: 1
Joined: Tue Nov 17, 2020 2:39 pm

RSC backup restore failing on same model hardware and routerOS version

Tue Nov 17, 2020 2:48 pm

We are generating a rsc backup file using command
/export file=backup.rsc
and then trying to restore same file on a new device which is same model Hardware and also same RouterOS version using command
/system reset-configuration run-after-reset=flash/backup.rsc

But restore is replicating configuration available in the rsc backup file on the same model Hardware.

We get some random configuration commands like loop-protect=0s, or inclusion of source MAC on ethernet interface configuration which seems to be breaking the backup restore.

Please suggest a way forward.

We have tested this on Hex Gr3 Mikrotik with both 6.44.5 (LT) and 6.46.8(latest LT) separately.
 
User avatar
Bongo
newbie
Posts: 37
Joined: Thu Aug 11, 2011 4:28 am

Re: RSC backup restore failing on same model hardware and routerOS version

Mon Dec 07, 2020 11:55 pm

hi

export file=backup.rsc
then on the new device reset it to factory with no default config
***Important: Use notepad++ and edit your backup and make sure the ports for example are labeled exactly the same ( example: ether1 )***
then use netinstall or winbox and attach the backup file and restore the backup
 
mducharme
Trainer
Trainer
Posts: 1126
Joined: Tue Jul 19, 2016 6:45 pm

Re: RSC backup restore failing on same model hardware and routerOS version

Tue Dec 08, 2020 12:52 am

and then trying to restore same file on a new device which is same model Hardware and also same RouterOS version using command
/system reset-configuration run-after-reset=flash/backup.rsc
This won't work because it will start running the .rsc file before all of the interfaces have initialized, so it will try to apply configuration to non existent interfaces and will stop processing at that point. You will need to edit the .rsc file to add a delay at the beginning if you want to use run-after-reset like that.

Who is online

Users browsing this forum: Sob and 35 guests