Cat /tmp/my_config | uci import && reboot

Hi folks,

Could you please tell me, is
cat /tmp/my_config | uci import && reboot
the fastest way how to load different configuration / revert to previous configuration exported by
ssh root@192.168.1.1 uci export > saved_config
?

The reason I'm asking I'm confused that there is no option like uci import --file /tmp/my_config which I would expect...

Thank you.

T.

I can advise you to operate with this function present on "luci" as it also restores other configuration files that you have defined as to be saved and which the "uci" system will not restore...

https://openwrt.org/docs/guide-user/troubleshooting/backup_restore