Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 23
  1. #1
    Member
    Join Date
    Dec 2001
    Location
    Bodo, Norway
    Posts
    32

    Default Unpacking homedir.tar on desktop computer?

    Hi y'all

    Does anybody know a way to unpack the homedir.tar on a regular Windows machine so that all files are unpacked properly? We get many requests from people who only need a single file from their backups and we keep all the backups on harddrives connected to windows computers. I've tried both winrar and 7zip, but no go.

    thanks,

    T

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by thernes View Post
    Hi y'all

    Does anybody know a way to unpack the homedir.tar on a regular Windows machine so that all files are unpacked properly? We get many requests from people who only need a single file from their backups and we keep all the backups on harddrives connected to windows computers. I've tried both winrar and 7zip, but no go.

    thanks,

    T
    I've used 7zip on multiple occasions to extract homedir backups as well as full website backups. When you say "unpacked properly" - what is happening that leads you to make the implication these tools are unpacking these files improperly?

  3. #3
    Member
    Join Date
    Dec 2001
    Location
    Bodo, Norway
    Posts
    32

    Default

    Hey David

    After checking more than one file, it seems that the first file I tried to unpack is somehow damaged. Strange thing is that all the backups of the same account have the same error.

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,172
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    I'm just looking into this myself as I've had a user contact me about the homedir not unpacking properly. I've backed up two of my own accounts, one is 1.74GB and the other is 230MB. Both backups unpack, but the the homedir is corrupt.

    cPanel 11.24.4-C32901

  5. #5
    Member
    Join Date
    Mar 2004
    Posts
    83
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    homedir.tar seems to be corrupted when using winrar or 7zip to extract it 'on windows', while it extracts just fine on the server using the tar command.


    try : tar -xvf homedir.tar

    cPanel 11.24.4-R32603 - WHM 11.24.2 - X 3.9
    REDHAT Enterprise 3 i686 on standard
    Last edited by Compubuster; 01-08-2009 at 01:14 PM.
    me@life# cd memories
    me@life# rm -rf bad

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default

    Quote Originally Posted by Compubuster View Post
    homedir.tar seems to be corrupted when using winrar or 7zip to extract it 'on windows', while it extracts just fine on the server using the tar command.


    try : tar -xvf homedir.tar

    cPanel 11.24.4-R32603 - WHM 11.24.2 - X 3.9
    REDHAT Enterprise 3 i686 on standard
    Yes, I also had two separate incidents where clients' desktop winrar gave an error that homedir.tar was corrupt while I could extract it fine on CentOS using tar command.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  7. #7
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    There is a bug in winzip that make it fail to extract symlinks that are made to absolute unix filesystem paths. If you delete the access-logs symlink before making the backup you should be able to extract it on windows. In the future we plan to add this symlink to the cpbackup-exclude.conf automatically as this bug has persisted in winzip for so long its not realistic to believe they will EVER fix it.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. These forums are not an official support channel.

  8. #8
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,172
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    I'm aware of what you speak of Nick, but this is different. Those errors about simlinks can be ignored and the backup would unpack still.

  9. #9
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,172
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    From winrar:

    ! D:\SitesBackups\backup-1.8.2009_09-24-55_username\backup-1.8.2009_09-24-55_username\homedir.tar: The archive is corrupt
    From Winzip:

    Error reading header after processing 652 entries.
    I dug up a full backup from 11.21.2008 and tried to unpack it. That one unpacks the homedir without error using winzip or winrar, but inside there is no public_html dir. homedir.tar was 1.93GB, unpacked homedir/ is 312MB.

    Compressing public_html via File Manager to zip opens as expected locally after downloading.

    There's an issue here somewhere.

  10. #10
    Registered User
    Join Date
    Jan 2009
    Posts
    3

    Default

    hey guys!

    I have the same problem to extract the homedir.tar in windows xp and windows vista.

    For example with WinRAR I get a error in the symlink "public_html (www --> public_html)"

    I tried with WinRAR, WinZIP, PeaZip, 7-zip, PowerArchive, and more.... all said "homedir.tar corrupt"

    regards!!

  11. #11
    Registered User
    Join Date
    May 2005
    Posts
    3

    Default

    Quote Originally Posted by tracktor View Post
    hey guys!

    I have the same problem to extract the homedir.tar in windows xp and windows vista.

    For example with WinRAR I get a error in the symlink "public_html (www --> public_html)"

    I tried with WinRAR, WinZIP, PeaZip, 7-zip, PowerArchive, and more.... all said "homedir.tar corrupt"

    regards!!
    Hello, I agree

    I just noticed something else....I just did a full Cpanel backup of an account 57mb and when downloading the downloaded file size is only 10mb, so there is still missing data

    It is still not fixed

    Greg V

  12. #12
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Try extracting the archive on a mac or a linux machine. I've yet to have a problem on either of these platforms.


    MrFredbear: Check the permissions on /bin/tar. If there is no homedir.tar file inside the cpbackup file, please open a ticket @ https://tickets.cpanel.net/submit/ so we can figure out what is broken on the server that is generating the backups.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. These forums are not an official support channel.

  13. #13
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,172
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by cpanelnick View Post
    Try extracting the archive on a mac or a linux machine. I've yet to have a problem on either of these platforms.


    MrFredbear: Check the permissions on /bin/tar. If there is no homedir.tar file inside the cpbackup file, please open a ticket @ https://tickets.cpanel.net/submit/ so we can figure out what is broken on the server that is generating the backups.
    Hi Nick, be happy to have you take a peek over here. I've generated a Full Backup from within the account and moved to a directory to unpack. I used the File Manager.

    Attached is the message when unpacking the homedir.rar

    cPanel 11.24.4-C33245
    Attached Thumbnails Attached Thumbnails Unpacking homedir.tar on desktop computer?-probftchnglst.jpg  

  14. #14
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,514

    Default

    Quote Originally Posted by Infopro View Post
    Hi Nick, be happy to have you take a peek over here. I've generated a Full Backup from within the account and moved to a directory to unpack. I used the File Manager.

    Attached is the message when unpacking the homedir.rar

    cPanel 11.24.4-C33245
    Can you check the error log?
    -Nick
    cPanel Inc.

    Need support? Submit a request here. These forums are not an official support channel.

  15. #15
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,172
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Unpacking the homedir via shell logged in with user it ends like this:

    [snipped previous above]
    ./cpanel3-skel/public_html/500.shtml
    ./cpanel3-skel/public_html/403.shtml
    ./cpanel3-skel/public_html/index.html
    ./cpanel3-skel/public_html/404.shtml
    ./cpanel3-skel/public_html/401.shtml
    ./cpanel3-skel/public_ftp/
    ./_usr_bin_psql_--version
    ./_usr_local_apache_bin_httpd_-v
    ./quota_-v
    tar: Error exit delayed from previous errors

Similar Threads & Tags
Similar threads

  1. Trying to extract homedir.tar
    By fkatzenb in forum Data Protection
    Replies: 6
    Last Post: 07-14-2010, 07:57 AM
  2. ERROR: tar of homedir returned error 2
    By str0ke in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-19-2010, 10:54 AM
  3. Shortcut for extracting homedir.tar subdirectories
    By sebby in forum Data Protection
    Replies: 3
    Last Post: 02-12-2009, 09:01 PM
  4. CoD4 not unpacking
    By Lestat in forum cPGS Discussions
    Replies: 7
    Last Post: 12-29-2007, 08:51 PM
  5. SP2 Backups tar.tar or tar.gz
    By JudgeJeffries in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-19-2004, 06:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube