Hi,
I need to backup all of my client accounts onto another server. I also need to make sure the DB's, addon domains, parked domains, email accounts, etc... all get backed up.
---------------------------------------------------------------------------------------
First of all...
In cpanel, users can create a backup of everything just by clicking a link which
creates a tar file in their homw directory.
Is there any way to generate a backup like this for every account all at once and then move them to another servers all at once? This would be idea? Can this be done?
---------------------------------------------------------------------------------------
I was thinking about using the SCP command but it wont grab everything.
What I want to know is if this will work....
I was thinking about using the cpanel transfer feature to move the accounts to another server
as a way of backing them up. Here' are my questions...
1. When you use the multi account transfer system, will it remove the accounts on the old server? I've done it before but just cant remember if it removed the accounts on the old server.
2. I do remember that when you transfer accounts to another server, a cpmove-account.tar file is made for each account on the old server. The problem is this takes up space on the old server. So what if before transferring the accounts, the current server with all of the accounts on them are taking up, for example, 30GB and there is only 5GB of available space left. All of thoses "cpmove" tar files will take up much more than 5GB. Do how do I keep the server from running out of disk space.
3. On the new server, will the new zone files contain the name servers of the new server along with the new servers' ip?
If the above is not the best way, what about using scp? How can I get everything?
a) Account data
b) DB's
c) Addon domains
d) parked domains
e) log files/stats
f) email accounts
g) anything else needed
-------------------------------------------------------------------------------
For the accounts, will this work?
-------------------------------------------------------------------------------
cd /home; tar czvf accountID.tar.gz accountID; scp accountID.tar.gz root@receivingserver.com:/home/yourtmp
Enter root PW on backup server
Then this command...
cd /home/yourtmp tar xzvf accountID.tar.gz
--------------------------------------------------------------------------------
Could I get the entire home directory like this?
--------------------------------------------------------------------------------
tar czvf home.tar.gz home; scp home.tar.gz root@receivingserver.com:/home/backup
Enter root PW on backup server
Then this command...
tar xzvf home.tar.gz
---------------------------------------------------------------------------------
Next, how do I get the following...
1. Addon and parked domains.
2. MySQL DB's
---------------------------------------------------------------------------------
Finally,
WHM has a backup feature that allows you to backup accounts onto another server.
Can someone post very detailed instructions on how to do this? Also, I see you can set it up to backup daily. How can I set it up to do a backup immediately.
Thank you very much!



LinkBack URL
About LinkBacks
Reply With Quote




