title: How to backup an entire Raspberry Pi TF card's filesystem into an image via Linux or Mac
body: <p>Raspberry pi easily suffer the sudden cutoff of power supply, which may lead to a system corruption or data losing. So, it is important to find some methods for the purpose of system backup. </p>
  
  <p>I wish there exist some tools or scripts which can packet the entire  filesystem on TF card into an image. Then, when the system crashes and can't be repaired. I could restore it from these images. I feel that the images just act as snapshoots.</p>