I did a full backup...
but now I want to restore it..
The file is pretty big, and will take up loads of bandwidth..
Is there a way to restore it while its already on the server??
SSH possibly? Will it restore ALL the files/settings?![]()
Cheers![]()
I did a full backup...
but now I want to restore it..
The file is pretty big, and will take up loads of bandwidth..
Is there a way to restore it while its already on the server??
SSH possibly? Will it restore ALL the files/settings?![]()
Cheers![]()
is there a backup already at the server ? then you can do it . else no matter whether you scp it or ftp it; your bandwidth is sure to go.
cPanel Certified Specialist
http://www.admin-ahead.com
https://ticketforge.com
AIM: tux image Skype: admin-ahead
yeah....
so what I can do is unzip it using the ungzip command?![]()
bandwidth is no problem![]()
you can use the restore account feature at the WHM for this. I do not think untaring it manually is a feasible solution.
It could have been done if you are restoring one account. Else it is better to make your WHM do the work.
cPanel Certified Specialist
http://www.admin-ahead.com
https://ticketforge.com
AIM: tux image Skype: admin-ahead
Place the full backup tar.gz file in /home and run
/scripts/restorepkg user ('user' being the cpanel account username for that backup)
or use whm to restore the backup as someone already mentioned.
Dedicated Servers - Reseller Hosting
cPanel Partner NOC - www.zentity.com
this is fine in case he has a single domain to restore. In case of multiple domains tar'd togather he will have to write a script to update all the users.
cPanel Certified Specialist
http://www.admin-ahead.com
https://ticketforge.com
AIM: tux image Skype: admin-ahead
Originally Posted by linux-image
Create a file (userlist) with all the user names, 1 per line in it, that you have back up files of in /home, place all the backup files in /home
Running that that would work ok for multiple accounts.Code:#!/bin/sh for user in `cat userlist` do /scripts/restorepkg $user done
Dedicated Servers - Reseller Hosting
cPanel Partner NOC - www.zentity.com
in case they are individual cpmove.tar files then this is good in case you want a complete server restore.
===========================================
#!/bin/sh
for user in `cat /etc/trueuserdomains | cut -d : -f 2`
do
/scripts/restorepkg $user
done
===========================================
cPanel Certified Specialist
http://www.admin-ahead.com
https://ticketforge.com
AIM: tux image Skype: admin-ahead