I am testing the running of a .rsc backup to a netinstalled device. The net install runs fine but I see errors on logging in because there is obviously already a bridge in the default config:
2025-04-13 13:09:41 system,error,critical error while running autorun.scr script: failure: already have interface with such name (/interface/bridge/add; line 7)
The Linux netinstall command will not let me use -e and -s together:
➜ sudo ./netinstall-cli -v -e -s backup-test.rsc -a 192.168.88.2 routeros-7.18.2-arm.npk wireless-7.18.2-arm.npk
Version: 7.18.2(2025-03-11 13:07:03)
Cannot apply empty config and script at the same time
./netinstall-cli [-r] [-e] [-b] [-o] [-k <keyfile>] [-s <userscript>] {-i <interface> | -a <client-ip>} [PACKAGE]+
-r apply default configuration
-e apply empty configuration
-r and -e are mutually exclusive
by default existing configuration will be kept
-b remove branding
-o install devices only once
-v verbose mode
This is the backup-test.rsc file down to line 7 where it fails:
backup-test.rsc
# 2025-03-10 12:03:49 by RouterOS 7.18.2
# software id = 00DD-BCGX
#
# model = RBD53iG-5HacD2HnD
# serial number = HDJ08NXFTFM
/interface bridge
add admin-mac=48:A9:8A:1A:4E:EB auto-mac=no comment=defconf name=bridge
I know the device is not being erased because the user database remains after running the net install above.