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.

Restoring a full backup is driving me nuts!

Discussion in 'Data Protection' started by echo_unlimited, Nov 3, 2007.

  1. echo_unlimited

    Joined:
    Dec 24, 2006
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello,

    I'm trying to restore a full backup. I have uploaded the full backup onto a cPanel account I have on the same server, that I want to restore the backup on. (Which I assume is correct) - the backup is in the home directory.

    However when I try and restore the full backup, it doesn't work! It says:

    ---
    ---
    ---

    Did I upload it to the right place?
     
  2. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    No, I don't think so.

    On the _new_ server, remove the account that you are wanting to restore from backup. Why? Because when you restore the backup, it will automatically create the account.

    You want to put the backup file in /home. But, if you had uploaded it into the already created users' space, that means you actually uploaded it to /home/username/backup_filename.tar.gz.

    So to recap:

    1. On the new machine, remove the user that you just created (the one you want to restore a backup for).
    2. Copy the backup file from the old machine (or wherever you have it backed up), and deposit it in /home (if /home is your main space for user accounts).

    3. Then do a restore - You should see the account come up in the list and it should give you the option to restore that account then.

    NOTE: If you are wanting to restore a 'full backup' of username_a into the account of username_b, I don't think that will work. I could be wrong though. A full backup I believe is a full backup, account username and data, etc.

    Mike


     
  3. stahrt

    stahrt Member

    Joined:
    Dec 9, 2010
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Precisely my problem. Yet how on earth do I upload or deposit the back up to the /home dir. I only see that i can do this by creating a cpanel account. Is there a feature in the WHM which allows me to upload a file to the /home dir? I have searched high and low. This is so frustrating. Any , and all help welcome. I need a sedative or something lol.

    Thanks
     
    #3 stahrt, Dec 11, 2010
    Last edited: Dec 11, 2010
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I recommend setting your FTP client to use SSH File Transfer (SFTP) and login using your root credentials. This will allow you to easily upload to /home (without using a cPanel account). If you do not have a FTP program, I know FileZilla and Cyberduck support SSH File Transfer and both are freely available online.
     
  5. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Not quite sure what's missing here for you. Simply copy the backup onto the server, any which way you like, then log in to shell or ConfigServer Explorer, and run the command mv <backupfile> /home

    When we say /home, we mean /home itself, not /home/account ...
     
Loading...

Share This Page