[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/


Just a guess: is your disk full?

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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