How to restore from VPS?

Status
Not open for further replies.

greekbb

Active Member
65
2009
0
0
Hi i have a VPS with CentOS but im totally noob on vps.I also have whm/cpanel installed but now the problem is that i have a full backup but i dont know how to upload it!!!
I have tried to create an account and via the cpanel upload the sql database but the size its big and cannot restore it.
In whm i saw there is one option to restore full backups but i have to upload my backup into /root of server. I didnt find anything on how to upload files on my server!
I need some advices or tutorial on how to do that. I saw some commands to do it but i dont know where to put them!! :(

help please
 
8 comments
Well you can create an account, and upload via FTP to that account. (do NOT make it the same username or the same domain as the account you will restore, just do something like -> backup yourdomain.com)

Then, log into SSH.
Do the following commands

cd /home/username/
//You will then be in the directory of where you uploaded to.
ls -l
// gives you a list of the files in that directory, if you need to go into another folder, do the same -> cd folder

Then to move the file:

mv filename.tar.gz /home
// This moves the full backup to the home directory.

Then you should be able to log into WHM, go to backups, and it should tell you that there is 1 backup there. Put the username (probably 8 letters or less username) in the box. and it will start the upload!


Hope that helps!


PS -- here are some SSH commands to get familiar with -> http://www.webhostgear.com/35.html
 
Status
Not open for further replies.
Back
Top