Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

[root@centosvm01 /]# tar --create --exclude="storage/thumbs/" --file="storagebackup.tar" storage/ tar: storagebackup.tar: Wrote only 8192 of 10240 bytes tar: Error is not recoverable: exiting now

I am trying to backup the entire /storage directory but exclude /storage/thumbs/

share|improve this question

1 Answer 1

Just a guess: is your disk full?

share|improve this answer
2  
That would be my guess as well. –  Dave Drager Dec 3 '10 at 15:11
2  
Also, add -v to the tar command to see each file as it's added. It might help you see where it's breaking. –  SmallClanger Dec 3 '10 at 15:19
    
/storage isn't full, i know that –  Andrew Fashion Dec 3 '10 at 19:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.