The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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,146
    Likes Received:
    34
    Trophy Points:
    48
    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.
     
  3. ruyrocha

    ruyrocha Member

    Joined:
    Oct 12, 2010
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page