Hi,

I am finally doing a real backup of my home account on my home debian
machine.  I have used tar many times but this stuff is so important to
me that I want to be extra extra sure everything is there...

(1) Does any one have any good ideas on how to verify a tar
    dump?

Here is one idea:

tar tzf billjhome.tar.gz | wc -l

and then

find /home/billj <NEED TO RTFM MORE TO FIGURE OUT WHAT TO PUT HERE> | wc -l

and then we know things are kosher if both wc -l's return the same number. (Oh, 
I'll bet they'll be off by one for some arcane reason).

Other simple ideas?

(2) Another approach is to give you a gander at what I did.  Does this
    look like I can trust my 10 thumbs to have done a tarring of
    /home/billj/ correctly?

[EMAIL PROTECTED]:/home$ pwd
/home
tar cvzf /tmp/home.tar.gz billj

and then, after the tarring completely finished i did...

[EMAIL PROTECTED]:/home$ df -m .
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/hda1                 3051      1892      1004  66% /

...this suggests that I have not filled my disk to 100% and that
therefore the tar was complete and did not get trunctated once the
disk was full because the disk never got full.

So hopefully folks out there can (1) suggest a simple heuristic sanity
check to verify the correctness of a tarfileand/or (2) re-assure me
that I did the tar correctly.

Thanks,

Bill

_______________________________________________
Siglinux mailing list
[EMAIL PROTECTED]
http://machito.utacm.org/mailman/listinfo/siglinux

Reply via email to