How to get into /home of VPS

Discussion in 'Site & Server Administration' started by Blythie, Nov 26, 2008.

  1. #1
    Sorry if this is a dumb question but this is my first time using a VPS. :)

    I have full root access to a Linux VPS (WHM included).

    I need to restore .tar.gz full back-ups from my old master reseller account. After reading tutorials on how to do this it says to upload in /home of the server. After looking around the main WHM I have no idea how to access the root server files.

    Could someone please direct me on where to upload the backup files - and how to get there?

    Please don't tell me to use some other type of transfer, restoring full back-ups is the only available method to me currently.

    Thank you so much!
     
    Blythie, Nov 26, 2008 IP
  2. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #2
    You can copy the files and place it on /home directory.
    To copy from another remote server, use cpanel SCP option or from command line see this

    For restoring cpanel tar backup see this

    These all my sites.
     
    olddocks, Nov 27, 2008 IP
    Blythie likes this.
  3. Blythie

    Blythie Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks...

    But I don't understand where or how I am able to move the files to my /home?
     
    Blythie, Nov 29, 2008 IP
  4. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #4
    you can move the backup file using mv command. For example, if your backup is in root folder then you can use

    mv /root/backup-file-name.tar.gz /home

    Kailash
     
    kailash, Nov 29, 2008 IP
  5. thatonealex

    thatonealex Member

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    #5
    I assume your trying to upload it via FTP?

    Most likely you are, which means you probably dont have root access, you have access to you /home/user/ folder.

    So what you need to do is go to your admin panel ad go to the file manager. Then you will have root access. Youll see folders like lib, usr, var, media and home. So go to home and upload it via http. Then use ssh to untar it.
     
    thatonealex, Dec 1, 2008 IP