Firefly开源社区

标题: 请问如何备份镜像? [打印本页]

作者: Gang    时间: 2021-1-4 09:07
标题: 请问如何备份镜像?
板子上的环境配置好了,我想把这个环境复制下来,用于生产.
请我我要如何把当前板子上的镜像备份下来呢?
作者: 时间的蝴蝶    时间: 2021-1-4 09:42
http://wiki.t-firefly.com/zh_CN/ ... chu-she-bei-xi-tong
作者: Gang    时间: 2021-1-7 10:43
谢谢大神!
作者: Gang    时间: 2021-1-8 08:55
我尝试用ff_export_rootfs备份,ff_export_rootfs 可以在U盘上生成img文件,但是这个img文件mount上以后是空的,请问这个问题该如何解决?

root@firefly:/# ff_export_rootfs /media/firefly/Sandisk/
MEDIA FREE SPACE SIZE    27211   MBytes
EXPORT IMAGE SIZE        3473    MBytes
find: �/run/user/1000/gvfs�: Permission denied
BLOCK_COUNT 3623572
INODE_COUNT 254260
sync...
sync finish
rm: cannot remove '/media/firefly/Sandisk/tmp.GOvt6TenIq/': Device or resource busy
e2fsck 1.44.1 (24-Mar-2018)
Export rootfs to /media/firefly/Sandisk//Firefly_Ubuntu_18.04.4_LTS_ext4_202101080841.img Success
root@firefly mount -o loop /media/firefly/Sandisk//Firefly_Ubuntu_18.04.4_LTS_ext4_202101080841.img  ~/tmp/
root@firefly:/# ls ~/tmp
lost+found
root@firefly:/#

作者: 895816513    时间: 2022-7-12 09:44
你这个备份日志显示是失败的,你的U盘不能使用ntfs格式,不然会只读的导致写入失败。使用ext4或者FAT32格式




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1