How to Upload to /root?

Discussion in 'Site & Server Administration' started by donny, Jan 17, 2007.

Thread Status:
Not open for further replies.
  1. #1
    Hi,

    I have no idea where to upload my cpanel backup file to now that I bought myself a vps. It says that I have to upload it to /root but where is that :p lol? How can I upload it to /root, /usr, or /home (any is fine according to WHM).

    Thank You,
    Donny

    PS, Both old and new server are powered by Cpanel.
     
    donny, Jan 17, 2007 IP
  2. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well, you can go to your current cPanel and do a backup to your new server. Use the scp transfer type so that it can be transfer to the /root partition.

    Let me know if you need help
     
    tanfwc, Jan 17, 2007 IP
  3. Valrod

    Valrod Peon

    Messages:
    189
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Root is basically

    /

    The beginning of your directory if you will. You really should read up on this sort of thing if you don't know where root is, before installing backups and such. I would also contact your host for help.
     
    Valrod, Jan 18, 2007 IP
  4. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #4
    1.
    more precisely
    /root is "home" directory of root account
    while the "root-directory" would be as mentioned
    /
    and NOT /root
    much of the login or security (serverkey, etc ) of a root server is in the /root directory when server admin is done by root.
    while webserver-root is a totally different root relative to your directory where your public HTML files start. henc ein apache config files webserver AND / refer to that directory where your public files are located for your web site.
    webserver-root normally would be the directory to upload most NON-admin files and scripts.

    2.
    to upload to /root or any other directory outside your public folders - simply use either

    scp

    OR

    rsync

    depending on exact needs - rsync is an upload / download tool that allows easy and efficient maintenance of offline or online mirrors. the manifold configuration options of rsync allows to adapt to your precise needs and upload/download only those files having changed since last upload/download.
    to do so - best is to establish a SSH connection
    for security purpose you would want to have a ssh-serverkey login instead of password login.
     
    hans, Jan 18, 2007 IP
Thread Status:
Not open for further replies.