#1 (permalink)  
Old 11-10-2008, 05:18 PM
ed.kalk's Avatar
Registered User
 
Join Date: Jun 2008
Location: Minneapolis, MN
Posts: 76
ed.kalk is on a distinguished road
Exclamation CPANEL full backup??

How do I do a full backup of everything.
accounts, MAil, configs, even the exim advanced configs...everything i need to restore the entire server from a fresh install...




Last edited by ed.kalk; 11-10-2008 at 05:18 PM. Reason: more data
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-15-2008, 12:22 PM
Registered User
 
Join Date: Oct 2008
Posts: 24
nxweb is on a distinguished road
You could accomplish this either by making cpanel backups of all the sites on the server, and re-installing them on the new server. Or you could use rsync to move everything over to the new server (my preferred method).
__________________
Free cPanel hosting - Using cPanel in the most extreme conditions!
8 Years cPanel/WHM administration exp.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-17-2008, 09:31 AM
ed.kalk's Avatar
Registered User
 
Join Date: Jun 2008
Location: Minneapolis, MN
Posts: 76
ed.kalk is on a distinguished road
Question

Quote:
Originally Posted by nxweb View Post
You could accomplish this either by making cpanel backups of all the sites on the server, and re-installing them on the new server. Or you could use rsync to move everything over to the new server (my preferred method).
How does one do it with rsync?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-17-2008, 11:22 AM
Registered User
 
Join Date: Jul 2008
Posts: 121
sirotex is an unknown quantity at this point
Lol? Omg..SERIOUSLY google tutorials, these kind of questions are just using up peoples time...

If you do not know how to use rsync i suggest you just do a cPanel backup.

WHM > Backup > Configure Backup
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-17-2008, 12:40 PM
ed.kalk's Avatar
Registered User
 
Join Date: Jun 2008
Location: Minneapolis, MN
Posts: 76
ed.kalk is on a distinguished road
Question That's not what I meant.

Thanks for the rude comment.
I am asking for more information as to what directories and what not needs to be Rsynced... Sorry that I was not more clear the first time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-18-2008, 06:20 AM
Registered User
 
Join Date: Aug 2008
Posts: 24
Sean.barron is on a distinguished road
I would suggest you to take backup through Cpanel.By following the below steps you can easily generate the backup:-

1) To access the Backup Menu,WHM > Backup > Configure Backup

2) Click on Generate/Download a Full Backup

3) Now select the path of a folder on which you want to save the backup from the drop box next to Backup Destination:

4) Enter your email address in the field next to Email Address:. An email will be sent to this address when the backup is completed.

5) If you are backing up to a remote server, place the server's name, your username, and your password on that server in the appropriate fields.

6) Click on Generate Backup to start the backup process.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-18-2008, 09:43 AM
ed.kalk's Avatar
Registered User
 
Join Date: Jun 2008
Location: Minneapolis, MN
Posts: 76
ed.kalk is on a distinguished road
Mine is not like that

Under whm>backup>configurebackup, I do not have generate / download backup. Instead I have this

Configure Backup
Backup Status Enabled
Disabled
Restore Only
Backup Interval (Note: Selecting Daily backup will give you Monthly and Weekly as well unless you choose not to retain them below. Selecting Weekly backup will give you Monthly as well unless you choose not to retain them below.) Daily Weekly Monthly
Backup Retention Daily Weekly Monthly
Days to Run Backup Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Remount/Unmount Backup Drive (requires a separate drive/coda/nfs mount) Enabled Disabled
Bail Out If Backup Drive Mount Fails (Recommended if Remount/Mount set) Enabled Disabled
Incremental Backup (only backup what has changed. (**No Compression**, not compatible w/FTP backups) Enabled Disabled
Backup Accounts Enabled Disabled
Backup Configuration Files (not needed for account restoration) Enabled Disabled
Backup SQL Databases (at least "Per Account" is needed to use the restore feature) Per Account Only
Entire MySQL Directory
Per Account and Entire MySQL Directory
Backup Access Logs Enabled Disabled
Backup Type Standard
Remote FTP (Accounts Only)
Remote FTP Host (Remote FTP Backup Only)
FTP Backup User (Remote FTP Backup Only)
FTP Backup Password (Remote FTP Backup Only)
FTP Backup Directory (optional, a directory called cpbackup in the FTP account's directory root will be used if none specified)
examples: /home/fred/cpbackup, /backup/cpbackup, /files/cpbackup) (Remote FTP Backup Only)
FTP Backup Passive Mode (required if you are behind a firewall or FTP backups fail) Enabled Disabled
Backup Destination (this should be a directory/NFS/Coda mount with at least twice the space of all your /home* partitions. Setting this to /home is a very bad idea.)
Select Specific Users


I have used this to do a full backup to the directory specified which is a directory on the local machine. I then wrote a shell script for rsync to sync the dir to my workstation for backup.

This does accomplish my goal of backing up the machine.

I was wondering if restoreing from these backup files would 100% duplicate my original machine, or if there were other files or configs that I might be missing afterward...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-18-2008, 08:58 PM
Registered User
 
Join Date: Jul 2005
Location: Sticky On Internet
Posts: 474
mohit is on a distinguished road
hi,
you should consider searching forum for server migration.
there have been many expert threads which can walk you through the entire process.

The generate backup option "Sean.barron" was refering to should be in user cpanel and not root WHM.

Whm will let you specify what type of back up you wish to run for the server, however if you wish you can use the copy account from another server option from your new server, which will actually login to your accounts/server on old server, will package the account and move it to your new box.
__________________
Learn atleast A word Daily

6+1 Dedicated Boxes with cPanel...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-19-2008, 01:12 AM
Registered User
 
Join Date: Oct 2008
Posts: 9
KarenP is on a distinguished road
To take backups for cPanel server, you can do this in many ways

1. Account wise transfer
# /scripts/pkgacct username
this Is the best option as it takes care of emails / databases / ....
On destination just restore it using
# /scripts/restorepkg username

2. To transfer all the Accounts, On destination server GO to
WHM >> Transfers >> Copy multiple accounts/packages from another server

* provide the Information Like the Server type, IP , SSH port & Select the option "Do not compress transfers"
In the Authentication, Select the Login type as "Root"
Authentication method as "Password" & type the root password.
Click on the "Fetch Account List" , now select all those Accounts that need to transfered .....
Click on "Copy" and Its done

3. For Server Migration - "rysnc" is the best

# rsync -vrplogDtH -e "ssh -p ssh_port_no" /usr/local/apache/conf root@destination_server_IP:/usr/local/apache
Similarly, rsync these
/var/named
/home/
/usr/share/ssl
/usr/local/cpanel/3rdparty/mailman
/var/log/bandwidth
/var/spool/cron
/usr/local/cpanel/bin/leechprotect


* Once done, Fire these
# /scripts/upcp
# /scripts/updatenow
# /scripts/sysup
# /scripts/fixeverything
# /scripts/eximup
# /scripts/easyapache


--

These are best ones for migration
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-19-2008, 09:44 AM
ed.kalk's Avatar
Registered User
 
Join Date: Jun 2008
Location: Minneapolis, MN
Posts: 76
ed.kalk is on a distinguished road
Thanks

Thank you for all your help in this
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:47 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc