Backing up, copying and restoring over 500 accounts.

isp

Member
Mar 3, 2014
5
0
1
cPanel Access Level
Root Administrator
So looks like I am a victim of a trojan. Guess that`ll teach me for using cpanel support and not changing my password....


So I have a server with over 500 accounts on it... and now I have to do a full reinstall of the operating system. There is simply no reasonable way I can sit there restoring account after account. Its just too many.

Is there a way to do a mass backup of all the accounts. Format, reinstall, and then a mass import of all the accounts?
 

isp

Member
Mar 3, 2014
5
0
1
cPanel Access Level
Root Administrator
Re: Backing up, copying and restoring over 500 accounts...

Then that would be server down time + DNS down time + The additional cost of a new server. That is too much down time, too many IP changes. It would break too much (like I would literally have thousands of people contact me when Outlook rejects their password because of the IP change).

Surely cPanel has a way to back up all your data from command line, then restore it en-masse?
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
DNS Clustering, mentioned in the docs I've linked you to above, is the way to go. The only thing that changes is the host.name.com of the server. Nameservers reused, mail settings: main.domain.com reused as well.
No clue who your Hosting Provider is, but you're not buying a new server, you're moving to another one. You might contact them and ask what your options are. Most will give you some assistance here, a week or so to move your accounts and be credited for the second server once you're done.
Users shouldn't be connecting to your name based Shared Hosting server via IP address.

With 500 accounts on a server, a Disaster Recovery Plan should have been put in place long ago. Servers drop over dead, accounts get hacked, things go wrong, as you now know first hand unfortunately.

If you're unsure of the best way forward, you might be interested to know that there are listings on cPanel AppCat for System Administration that you may find useful:
cPanel Application Catalog