Well, more backup woes =/
I tried extracting one of the .tar.gz's on my offsite backup account for the first time, and it was corrupted. I then checked every single virtual server that was backed up, and they were all corrupted!
I tried changing the upload settings to use FTP instead of SSH, and it is still corrupt when it gets uploaded. However when running the same backup with the same settings and having it saved to a local file instead the tar.gz it is not corrupt.
I tried changing the settings to have it backup only 1 virtual server who's home directory is only about 7 megs in size, and it doesn't appear to be related to the size, as that one is consistently corrupted on the offsite backup account. To verify that tar on the server is not lying to me, I downloaded the backup to my local machine and WinRAR states that it is, in fact, corrupt.
I have no idea where to begin with this. Virtualmin states that the backup is completely successfully and without errors each and every time. Any ideas?
And thanks by the way.
Comments
Submitted by arjones85 on Wed, 11/18/2009 - 08:19 Comment #1
I also meant to say that according to ServerOrigin, the company where my offsite backup account is at, they do not see any "aborts" or errors with my uploads.
Submitted by JamieCameron on Wed, 11/18/2009 - 12:31 Comment #2
Could you provide some more details about the nature of the corruption - were the files truncated, or did they contain invalid data or files? Or better still, if you could email one to me at jcameron@virtualmin.com , I could take a look.
Also, how did you download the files from the backup location? If a Windows FTP client was used as part of the process, that can cause corruption due to Ascii -> Binary conversions.
Submitted by arjones85 on Wed, 11/18/2009 - 19:16 Comment #3
I have emailed you the log and a copy of the corrupted file.
I honestly do not know what kind of corruption it is. Tar just reports:
tar: Error exit delayed from previous errors.
Filezilla is set on "Auto", it appears to transfer in Binary. However I do not think this is causing the issue because I cannot untar it directly on the server as can be seen.
Submitted by JamieCameron on Wed, 11/18/2009 - 23:23 Comment #4
I tried the file you sent me, and it restored just fine.
If you run a manual tar listing of the backup with a command like :
tar tzf whatever.com.tar.gz
does that report any errors?
Submitted by arjones85 on Thu, 11/19/2009 - 15:48 Comment #5