简体   繁体   English

在Linux上备份connman设置

[英]Backing up connman settings on linux

I am tasked to do backup and restore for networking settings on linux which uses ConnMan. 我的任务是为使用ConnMan的linux上的网络设置进行备份和还原。 Is it possible for me to do so by copying settings inside /var/lib/connman and place them in the same folder when doing restore? 我可以通过在/var/lib/connman复制设置并将其放在还原时的相同文件夹中来做到这一点吗?

If not, any suggestion that I can use instead? 如果没有,我可以使用任何建议吗? Thanks in advance. 提前致谢。

I have emailed Jukka Rissanen, the person who works behind ConnMan. 我已经给ConnMan背后的工作人员Jukka Rissanen发了电子邮件。 He replied this; 他回答了这个。

Yes, you can backup /var/lib/connman and /var/lib/connman-vpn directories and restore them to same places to get the settings back. 是的,您可以备份/ var / lib / connman和/ var / lib / connman-vpn目录,并将它们还原到相同位置以取回设置。

Note that if you restore to different machine than what the backup is from, some settings might not be available because network interface mac address is part of the path name of the settings file. 请注意,如果还原到的计算机与备份所用的计算机不同,则某些设置可能不可用,因为网络接口mac地址是设置文件路径名的一部分。

Cheers, Jukka 干杯,干杯

Hope this helps anyone who is looking for the answer in the future. 希望这对将来寻找答案的人有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM