Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 23 of 23
  1. #16
    Member
    Join Date
    Nov 2005
    Posts
    125

    Default

    cPanel Transferring is and has always been very faulty...

    I think cPanel in the next edition should create a new system..
    Shock Hosts
    __________________________________________________
    Simply Hosting. Simply Good. | Quality Web Hosting.

    Sales: Sales@ShockHosts.Net | Support: Support@ShockHosts.Net

    Visit ShockHosts Now!

  2. #17
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,093
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Try manually importing it with pkgrestore from SSH command line. I think that's what I've used in the past. If the account name is "acct" you would use:

    pkgrestore acct

    This may give the same error, as it's the underlying tool that the restore process uses, but at least you'll probably see more of what's happening.

    Is the suffix .tar.gz? For instance, /home/cpmove-acct.tar.gz ?

  3. #18
    Member
    Join Date
    May 2003
    Posts
    20

    Default

    Where would pkgrestore be found? It's not in the /scripts directory.

    Yes the suffix is .tar.gz.

  4. #19
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,093
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Uhhh ... sorry ... my mistake, pkgrestore is actually called "restorepkg" and is found in /scripts.

    You should be able to use "/scripts/restorepkg accountname" to restore a file - it gives a helpful error message, which also makes clear it's the underlying tool that cpanel calls to restore an account when you do a restore via WHM. I seem to remember when WHM doesn't work that restorepkg worked.

  5. #20
    Member
    Join Date
    May 2003
    Posts
    20

    Default

    Welp, it didn't work. Here's my results:

    Code:
    root@cpanel [~]# cd ..
    root@cpanel [/]# cd home
    root@cpanel [/home]# ls
    
    ./                                       emhs/           taes/
    ../                                      gtg/            tameone/
    admin/                                   justen/         timothy/
    backup-6.12.2006_11-37-02_alexis.tar.gz  last2act/       tiwonge/
    bethesda/                                maxx/           uswf/
    client/                                  moms/           vcw/
    .cpan/                                   MySQL-install/  warz/
    cpmove-alexis.tar.gz                     naw/            willow/
    cptmp/                                   patriot/
    eblade/                                  roe/
    
    root@cpanel [/home]# /scripts/restorepkg cpmove-alexis.tar.gz
    Searching /home....
    No Restorable archives found!
    Searching /usr/home....
    No Restorable archives found!
    Searching /web....
    No Restorable archives found!
    Searching /home2....
    No Restorable archives found!
    Searching /home3....
    No Restorable archives found!
    Searching /root....
    No Restorable archives found!
    Searching /usr....
    No Restorable archives found!
    <br><br><b>No archives where found!!</b><br><br>
    This feature will restore full backups, cpanel backups and cpanel move files in the format of:
          cpmove-user.tar.gz, user.tar.gz, backup-date_time_user.tar.gz<br><br>
    The files must be in one of these directories on the server:
          /home,/usr/home,/web,/home2,/home3,/root,/usr<br><br><b>You must upload the file to one of the above locations before
          using this feature.</b>
    root@cpanel [/home]#
    As you can see, I have a copy of the file both with the backup* and cpmove* prefixes on them, they're in the /home directory, and the script cannot fid any files with with those prefixes.

  6. #21
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,093
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    No wonder it's not working!

    It's:

    /scripts/restorepkg alexis


  7. #22
    Member
    Join Date
    May 2003
    Posts
    20

    Default

    Huzzah! Yep that works. Thanks for taking the time to show me how it all works. This has been darn fustrating!

  8. #23
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,093
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I remember being confused about the same thing when I first used it - you'd expect to restore the file, but cpanel wants to know the user! (which I suspect you can't change - but it would be interesting to try!).

Similar Threads & Tags
Similar threads

  1. Moving servers, how to recreate accounts from backups?
    By Knyteguy in forum Enkompass Discussions
    Replies: 3
    Last Post: 02-03-2011, 02:56 PM
  2. Replies: 0
    Last Post: 06-15-2009, 07:02 PM
  3. Problems witrh account moving between servers
    By nbento in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-09-2006, 02:36 PM
  4. Moving accounts between clustered servers
    By Dacsoft in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-07-2006, 10:45 AM
  5. Seting up cluster servers and moving accounts
    By nbento in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-06-2006, 09:10 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube