framps / raspiBackup

Create and keep multiple backup versions of your running Raspberries
https://raspibackup.linux-tips-and-tricks.de
GNU General Public License v3.0
821 stars 75 forks source link

gzip: stdout: Input/output error...tar: Child returned status 1 #640

Closed p1r473 closed 1 year ago

p1r473 commented 1 year ago

Hey Framps! Had a backup go bad last night and wanted to show you the logs

gzip: stdout: Input/output error
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Ever see this one before? Ive tried googling it but it seems inconclusive. raspiBackup.log

framps commented 1 year ago

It's tar which reports an io error when gzip was used to compress the tar file. Unfortunately tar doesn't tell you whether it's an input or output error. But it's usually an input error because the SD card dies.

You also can temporarily use a different backup target to verify it's and input error. Then it's time to restore your latest backup on a new SD card.

p1r473 commented 1 year ago

I am doing the backup (output) to my Windows server onto an SSD - no SD card involved in the output So it must be the input SD card dying I guess Thanks!

framps commented 1 year ago

Hey Framps!

My nick name is framp :wink: . Unfortunately I had to use framps for my github account because it's already registered by somebody else :cry:

p1r473 commented 1 year ago

Hey Framps!

My nick name is framp 😉 . Unfortunately I had to use framps for my github account because it's already registered by somebody else 😢

Could do fr4mp! My name is pirate.. also taken haha

framps commented 1 year ago

Nice suggestion. Even github will redirect links to the old account to the new account I will stick with framps. But now I get your nick :rofl: