Skip to content

Instantly share code, notes, and snippets.

@mike2718
Last active July 24, 2024 12:09
Show Gist options
  • Select an option

  • Save mike2718/792e1a0943d498ac4dfdd97e2290b8e5 to your computer and use it in GitHub Desktop.

Select an option

Save mike2718/792e1a0943d498ac4dfdd97e2290b8e5 to your computer and use it in GitHub Desktop.
各种系统备份命令笔记

各种系统备份命令笔记

树莓派

取消挂载:

sudo umount /dev/sdc*

备份:

sudo dd bs=4M if=/dev/sdX status=progress | zstd -c > ./PiOS.img.zst

sudo sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment