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!

Missing cP Userfiles in roughly 200 Backups - What to do?

Discussion in 'General Discussion' started by stdout, Apr 2, 2006.

  1. stdout

    stdout Well-Known Member

    Joined:
    Apr 10, 2003
    Messages:
    189
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    Nelspruit, Mpumalanga, South Africa
    cPanel Access Level:
    Root Administrator
    root@shark [/backup/cpbackup/daily]# mv alto-sax.tar.gz /home
    root@shark [/backup/cpbackup/daily]# /scripts/restorepkg alto-sax
    Searching /home....
    Found alto-sax.tar.gz !
    <b>Moving Packge to /home/cprestore/alto-sax.tar.gz</b><Br>
    Extracting tarball....<script>window.scroll(0,175);</script>...............
    Done<br>
    Extracting Domain....Done<br>
    Sorry, the copy failed. Unable to find the cpanel user file. Is the archive missing (cwd: /home/cprestore loaded alto-sax/cp/alto-sax)?
    root@shark [/backup/cpbackup/daily]#
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. stdout

    stdout Well-Known Member

    Joined:
    Apr 10, 2003
    Messages:
    189
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    Nelspruit, Mpumalanga, South Africa
    cPanel Access Level:
    Root Administrator
    Re

    root@shark [/backup/cpbackup/daily]# cat /home/cprestore/cpmove*/cp/alto-sax
    IP=xxxx
    STARTDATE=1052683726
    DNS=alto-sax.com
    RS=bluetrix
    OWNER=root
    PLAN=safvan_Plan-1
    MAXFTP=99999
    BWLIMIT=1258291200
    MAXSQL=99999
    MAXPOP=99999
    MAXLST=99999
    MAXPARK=99999
    MAXADDON=99999
    MAXSUB=99999
    LANG=EnglishCP
    root@shark [/backup/cpbackup/daily]#
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Have you checked the actual tarball:

    tar -tzf /home/alto-sax.tar.gz
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ispro

    ispro Well-Known Member

    Joined:
    Apr 8, 2004
    Messages:
    628
    Likes Received:
    1
    Trophy Points:
    168
    Chirpy, you should to know that this caused by cPanel, not by the archive intergrity.

    We had had such issues periodically. Mostly they were for backups created by /scripts/pkgacct
    The restore using /scripts/restorepkg doesn't work, but file in question does exist.

    THE SOLUTION: Rename tar-ball from USERNAME.tar.gz to cpmove-USERNAME.tar.gz

    This is the 'feature' of cPanel restore. If you have created backups manually they named as cpmove-someusername.tar.gz and you need to keep them the same!

    EDIT: If you wish to create backups without cpmove prefix, like backups script does, use this command /scripts/pkgacct USERNAME /backup backup where USERNAME is the account username you need to copy.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 ispro, Apr 18, 2006
    Last edited: Apr 18, 2006
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