logikstudios

Well-Known Member
Nov 2, 2006
156
0
166
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
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
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.
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
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
 

logikstudios

Well-Known Member
Nov 2, 2006
156
0
166
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
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
cPanel Access Level
Root Administrator
You need to use the command 'cp'

the commands will be like:

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

logikstudios

Well-Known Member
Nov 2, 2006
156
0
166
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.
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
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.
 

logikstudios

Well-Known Member
Nov 2, 2006
156
0
166
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
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
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.
 

logikstudios

Well-Known Member
Nov 2, 2006
156
0
166
Hi. I am going to try it now. How do you delete files using this command?

Nathaniel
 

logikstudios

Well-Known Member
Nov 2, 2006
156
0
166
Thanks. I have just tried it and it worked!!!.

Thanks
Nathaniel
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
cPanel Access Level
Root Administrator
MV moves files, so the source files will be removed once they are copied to the new place.
 

iakhan

Registered
Dec 19, 2007
4
0
51
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.