On Thursday 13 May 2010 14:34:41 Raj Mathur wrote:
On Thursday 13 May 2010, jtd wrote:
cat /dev/sda >tmp/clonedisk tar -jcvf /tmp/clonedisk /bkp/clonedisk.bz2
Won't that overwrite /tmp/clonedisk? Did you mean:
tar -jcvf /bkp/clonedisk2 /tmp/clonedisk
Arrgh. Sorry for the typo.
Also, you have to be sure that /, /tmp and /bkp are mounted on separate partitions otherwise the backup will just end up trying to back itself up recursively.
/tmp has to be on a different disk if he's cloning the disk.
But i am sure Harsh will figure out the minor details like booting from a different disk ( the reason for his live disk query), avoiding /proc and /dev etc.