Recent Changes - Search:
NTLUG

Linux is free.
Life is good.

Linux Training
10am on Meeting Days!

1825 Monetary Lane Suite #104 Carrollton, TX

Do a presentation at NTLUG.

What is the Linux Installation Project?

Real companies using Linux!

Not just for business anymore.

Providing ready to run platforms on Linux

Created by Ed Leach? on February 25, 2010, at 11:54 PM


Chris taught me this some time ago to backup a full disk:

   gzip < /dev/sda > mybackup.img.gz 

I've had to restore from these backups several times and it has always worked.

An additional thing I do on the disk to be backed up before backing it up is:

   dd if=/dev/zero of=zzz.zero

to a file in each partition and then immediately delete the files.

In other words, filling each partition with zeros so gzip can compress those areas down to almost nothing.

I can almost picture gzip saying, "Wow 5 Gig of zeros. So exciting!"

Back to Site Blogs

Page last modified on February 26, 2010, at 01:01 AM