Code Monkey home page Code Monkey logo

raspberrybackup's Introduction

##RaspberryBackup

在Linux系统中一键备份树莓派系统SD卡的脚本 脚本文件来源:https://blog.csdn.net/qingtian11112/article/details/99825257

使用方法: step1:下载脚本文件rpi-backup.sh到Linux系统中

step2:把需要备份的SD卡插入Linux系统中,用 df -h 命令查询下 SD 卡对应的设备名。

step3:进入脚本文件 rpi-backup.sh 所在目录,只需要下面两行命令即可完成 SD 卡备份,最终 img 文件会生成在~/backupimg/文件夹下。

sudo chmod +x rpi-backup.sh #需要赋可执行权限

./rpi-backup.sh /dev/sdb1 /dev/sdb2 #脚本执行有两个参数,第一个参数是树莓派SD卡/boot分区的设备名:/dev/sdb1,第二个参数是/分区的设备名:/dev/sdb2,视情况修改)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.