Skip to content

raspberry pi backup,树莓派系统备份,最小镜像备份

Notifications You must be signed in to change notification settings

nemoyn/rpi-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

rpi-backup

树莓派系统备份脚本

1、back.sh(备份脚本,需要root权限)

用法:./back.sh xxx.img (xxx.img为备份文件名,自行修改)

**如果需要备份到外部设备,设备务必挂载到/mnt,不要挂载到/media,因为创建的镜像会挂载到/media进行操作

2、resize.sh(扩容脚本,需要root权限)

用法:恢复系统后执行 ./resize.sh 扩容root分区,也可以用树莓派raspi-config进行扩容

3、参考资料
1)、https://blog.csdn.net/lzjsqn/article/details/72058293
2)、4.14.114-OPENFANS+20190602-v8 64位debain系统 /usr/sbin/resize.root 脚本

About

raspberry pi backup,树莓派系统备份,最小镜像备份

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%