restorepkg error - /bin/gtar: This does not look like a tar archive

ruyrocha

Member
Oct 12, 2010
24
0
51
Brasil
Hi guys,

For security purposes we check some backup files daily. Basically we restore, check for issues and package the account again. Got the following on restore phase:

[ 5489][RESTORE:1 ][A:account1 ]: Progress: 24%
[ 5489][RESTORE:1 ][A:account1 ]: Homedir
[ 5489][RESTORE:1 ][A:account1 ]: Restoring Homedir…
[ 5489][RESTORE:1 ][A:account1 ]: Invalid log entry: [/bin/gtar failed creation!
[ 5489][RESTORE:1 ][A:account1 ]: ]
[ 5489][RESTORE:1 ][A:account1 ]: Invalid log entry: [/bin/gtar: This does not look like a tar archive
[ 5489][RESTORE:1 ][A:account1 ]: ]
[ 5489][RESTORE:1 ][A:account1 ]: Invalid log entry: [/bin/gtar: Error exit delayed from previous errors
[ 5489][RESTORE:1 ][A:account1 ]: ]
[ 5489][RESTORE:1 ][A:account1 ]: Unable to copy home directory for user: account1

The full backup size went down to 2MB from 143MB, so this is a big problem as it looks like we're missing entire home folders.

Do you have any thoughts on this?
 

ruyrocha

Member
Oct 12, 2010
24
0
51
Brasil
Hey sir, looks like no errors when creating the backups for this specific server. We restore and package the account on another one, and after that I saw backup file size reducing a lot to something around 2MB.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello :)

Could you try manually backing up that account through the "/scripts/pkgacct $username" command? Does it generate a valid archive successfully with this method?

Thank you.