Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    May 2006
    Posts
    16

    Default How to restore account an account manually without cpbackup?

    Hi,

    I had to do a server restore because of a hack. I could restore all accounts from cpbackups, except for 2. I still have the old (hacked) drive and the 2 accounts are still on it. How can I restore them without loosing data? I want to copy mail, parked/add-on domains, mysql db and of course web content. Is there a good procedure for this without using the cpmove/backup utilities?

    Thanks,
    Bart
    Last edited by bartdc; 02-11-2007 at 08:40 AM.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by bartdc View Post
    I had to do a server restore because of a hack. I could restore all accounts from cpbackups, except for 2. I still have the old (hacked) drive and the 2 accounts are still on it. How can I restore them without loosing data?
    Are these two accounts infected? If not, I don't see any problem of using the WHM to resotre them.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #3
    Member
    Join Date
    Oct 2006
    Posts
    312

    Default

    If the 2 accounts are not infected, you can use root login to:

    1. /scripts/pkgacct USERNAME
    2. move the USERNAME.tar.gz over to the new server and then
    3. /scripts/restorepkg USERNAME
    .
    RTG (Asia) Network
    Unmetered ®cPanel VPS from $28.00
    Shared & Reseller Accounts from $2.00
    Unmetered Dedicated Servers from $58.00
    Your account will be setup AUTOMAGICALLY upon payment.

  4. #4
    Member
    Join Date
    May 2006
    Posts
    16

    Default

    Quote Originally Posted by brendanrtg View Post
    If the 2 accounts are not infected, you can use root login to:

    1. /scripts/pkgacct USERNAME
    2. move the USERNAME.tar.gz over to the new server and then
    3. /scripts/restorepkg USERNAME
    That's how I did it eventually. I had to go back to the DC for this. I hoped I could have restored the accounts without booting the infected disk.

    Thanks,
    Bart

  5. #5
    Member
    Join Date
    Dec 2005
    Posts
    117

    Question

    Hi,

    When I use this way of moving accounts instead of cpbackup I am losing the bandwidth usage of previous months, any idea why?

    how to get the accounts bandwidth usage of previous months transferred?

    Thanks

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 04-19-2011, 11:58 AM
  2. restore one account backup into another account on same server
    By pavemen in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-27-2010, 05:21 PM
  3. Manually backing up an account
    By GoWilkes in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-13-2009, 01:59 PM
  4. Bacup account manually
    By roax66 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-15-2005, 01:17 PM
  5. Can you manually edit an account?
    By hsitech in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-21-2005, 05:14 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube