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.

[Case 109705] Failed to restore account

Discussion in 'Data Protection' started by lldeepakll, Aug 17, 2014.

  1. lldeepakll

    lldeepakll Well-Known Member

    Joined:
    May 20, 2012
    Messages:
    86
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    I am also facing the same issue in restoring accounts on server with cpanel 11.44. The backup has been taken from a server running with cpanel 11.36. I have used the command "/scripts/pkgacct username" to create backup of the account. I am facing this issue with multiple account. Is there any bug in cpanel 11.44.1 ? Please help

    =================================================================
    The account backup to restore is a file: /home/cpmove-username.tar.gz
    cPanel restorepkg
    Archive user: “stockdun”
    Restricted: “no”
    Allow Reseller Privileges: “no”
    The system will attempt to restore the archive file “/home/cpmove-username.tar.gz”.
    ArchiveManager
    Preparing archive for restoration …
    ArchiveManager
    The archive is missing cpuser data.
    Skipped: Removed non-file, non-directory “/olddisk/cpanelpkgrestore.TMP.work._mJkiDPhZjW2dk2E/unsafe_to_read_archive/contents/cpmove-stockdun/homedir/www” at Find:_find_dir:360
    =========================================================================


    Thanks
     
    #1 lldeepakll, Aug 17, 2014
    Last edited: Aug 17, 2014
  2. 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 :)

    I have moved this post into it's own thread. Are you able to manually extract the archive and review the contents of the files within it's home directory?

    Thank you.
     
  3. lldeepakll

    lldeepakll Well-Known Member

    Joined:
    May 20, 2012
    Messages:
    86
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Sorry for delay in reply. Yes I was able to manually extract the archive and can view all the files/directories in it. I opened a support ticket for this issue and here is the reply from cpanel support with solution:

    ==================================================================
    It appears this restore process is hitting a known issue we have. The issue, appears to be resolved simply by untarring the cpmove file manually and then tarring it back up:

    tar zxvf cpmove-username.tar.gz
    tar czvf cpmove-username.tar.gz cpmove-username/

    Then using /scripts/restorepkg username I am able to restore the account without an issue.I've attached the internal case 109705 to the ticket however it does appear the issue has been fixed by our development team. Unfortunately I don't have ETA when the fix will be pushed out to the public, however you can keep an eye on the change logs we provide:

    http://documentation.cpanel.net/display/ALD/11.44+Change+Log

    The current work around would be to untar and tar the cpmove files.
    ==================================================================


    Thanks
     
    #3 lldeepakll, Aug 27, 2014
    Last edited: Aug 27, 2014
  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
Loading...

Share This Page