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 full backup's

Discussion in 'General Discussion' started by logikstudios, Nov 5, 2006.

  1. logikstudios

    logikstudios Well-Known Member

    Joined:
    Nov 2, 2006
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Hey.
    I am new to the full admin of WHM (use to reseller) anyway. I have created full back up's on another server and downloaded them onto my hard drive. How to i get those backups onto my server so i can restore the account. what i have been doing is creating the users and copying the home directorys and emails and databases. I have about 12 accounts that has to much information that i don't no. e.g database passwords, Ftp accounts, Protected directory's etc.


    Thanks,
    Nathaniel
     
  2. krava

    krava Well-Known Member

    Joined:
    Sep 23, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello.

    Make some account for your backup files. Upload the files via FTP into the recently created account. Then log in to SSH of your new server and move the backup files in /home/. When it is done you can restore the accounts using "restore full backup from cpmove". The mentioned option is accessible via WHM.
     
  3. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    if you backup/restoration configured for your new box, once you have generated the backup, upload it to /backup/cpbackup/daily ( assuming you have backup configured and is mounted to /backup ), login to WHM > Restore Account, and you should see the account there. Restore from there and let Cpanel do the jobs for you :p
     
  4. logikstudios

    logikstudios Well-Known Member

    Joined:
    Nov 2, 2006
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Hey. I am going to have ago at doing krava idea. How do i move a file from the new created account into the home directory using ssh. What command do i use?

    Nathaniel
     
  5. krava

    krava Well-Known Member

    Joined:
    Sep 23, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    You need to use the command 'cp'

    the commands will be like:

    #cd /home/$ACCOUT_USERNAME/
    #cp backup* ../
     
  6. logikstudios

    logikstudios Well-Known Member

    Joined:
    Nov 2, 2006
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Hi. I have the full account back up on the server in one account. Is there a way to move the back up from one folder to another.
     
  7. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    are you trying to restore it from the WHM? you may use the cp command shows by krava or optionally use the command mv to move the files from one folder to another folder.
     
  8. logikstudios

    logikstudios Well-Known Member

    Joined:
    Nov 2, 2006
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Hey. I want to move the file so could you please right the code down i need to type in please. I am quite new to this thnx.

    Location of file is /home/backups/public_html/backups/daily/cpmove-media4sc.tar.gz

    I would then like to put this file into the home directory so i can restore it. Thanks
    Nathaniel
     
  9. krava

    krava Well-Known Member

    Joined:
    Sep 23, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    The correct command is:
    #mv /home/backups/public_html/backups/daily/cpmove-media4sc.tar.gz /home/

    just copy and paste the command.
     
  10. logikstudios

    logikstudios Well-Known Member

    Joined:
    Nov 2, 2006
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Hi. I am going to try it now. How do you delete files using this command?

    Nathaniel
     
  11. logikstudios

    logikstudios Well-Known Member

    Joined:
    Nov 2, 2006
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Thanks. I have just tried it and it worked!!!.

    Thanks
    Nathaniel
     
  12. krava

    krava Well-Known Member

    Joined:
    Sep 23, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    MV moves files, so the source files will be removed once they are copied to the new place.
     
  13. iakhan

    iakhan Registered

    Joined:
    Dec 19, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    full backup restoration?

    dear friends.
    i need help for the full backup restoraton.
    I have two servers a and b with root access.
    I full backup a site from its cpanel/backup on server1 and send it to server2.
    I login to server2 through root, and click on "restore full backup/cpmove files"
    but it shows "none" no backup files to restore.
    Please help me where are my backups on server2? and how to find it and then restore it.
    thanks.
     
  14. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
Loading...

Share This Page