Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'Migrate to cPanel' started by ruyrocha, Aug 5, 2015.

  1. ruyrocha

    ruyrocha Member

    Joined:
    Oct 12, 2010
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    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?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,858
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you getting error while creating this account backup ? I think your backup file corrupted and due to that you are getting this issues.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ruyrocha

    ruyrocha Member

    Joined:
    Oct 12, 2010
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    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.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,720
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice