how to backup a partition


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #backup
  2. dd if=/dev/hdaX of=~/file.img
  3.  
  4. #restore
  5. dd if=~/file.img of=/dev/hdaX

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.