Problems with cpanel backup/restore

nsusa

Well-Known Member
Jun 30, 2004
92
1
158
Colorado, USA
I am moving servers and was hoping to use the WHM/cpanel backup/restore functionality inside WHM to move my sites. But 75% of the moves I initiate via WHM arrive corrupted in one form or the other. Some problem sites I was able to create a backup from cpanel and then moved the file to the new server into the root directory and then restored them successfully. But this does not work with all the sites.

Both servers are cpanel 11 (current) and pretty much equal in setup (PHP, MySQL, Perl, Apache). I am not able to tell if the problem happens when the backup is generated or when the sites are restored.

Are there any log files that would help me to find out where the problem is? What else can I do to fix this? I have almost 100 sites to move - some large sites included.

Chris
 

nsusa

Well-Known Member
Jun 30, 2004
92
1
158
Colorado, USA
No errors. The restore comes back all fine, but when you try to access the website(s) it is toast. I get blank pages or it does not work at all.

Chris
 

nsusa

Well-Known Member
Jun 30, 2004
92
1
158
Colorado, USA
Here is a transcript of a restore:

Part I (due to 10000 character limit per post)

Main >> Restore for mydomain
Restore for mydomain
Searching /home....
checked 28 files.....
No Restorable archives found!

Searching /usr/home....
checked 0 files.....
No Restorable archives found!

Searching /web....
checked 0 files.....
No Restorable archives found!

Searching /home2....
checked 0 files.....
No Restorable archives found!

Searching /home3....
checked 0 files.....
No Restorable archives found!

Searching /root....
Found backup-7.14.2007_13-58-22_mydomain.tar.gz !
Moving Packge to /root/cprestore/backup-7.14.2007_13-58-22_mydomain.tar.gz
Extracting tarball...................
Done
Extracting Domain....Done
Generating Account....

Checking input data......Done

WWWAcct 12.0 (c) 1997-2007 cPanel, Inc.......Done

Running pre creation script (/scripts/prewwwacct)......Done

Adding User......Done

Removing Shell Access (n)......Done

Copying skel files from /root/cpanel3-skel/ to /home/mydomain/......Done

Adding Entries to httpd.conf......Done

Setting up Mail & Local Domains......Done

Configuring DNS......Done

Setting up Frontpage®......Done

Restarting apache......Done

Updating Authentication Databases......Done

Sending Account Information...Notification => [email protected] via EMAIL [level => 3]
...Done

Running post creation scripts (/scripts/legacypostwwwacct, /scripts/postwwwacct, /scripts/postwwwacctuser)......Done

Setting up Domain Pointers......Done

Setting Reseller Privs......Done
 

nsusa

Well-Known Member
Jun 30, 2004
92
1
158
Colorado, USA
Please note that domain and IP address information has been changed in this transcript for security reason.



Part II

Account Creation Complete!!!......Done
Account Creation Status: ok (Account Creation Ok)
Forced Dns is enabled. +===================================+ | New Account Info | +===================================+ | Domain: mydomainname.com | Ip: 74.xx.xx.xx (n) | HasCgi: y | UserName: mydomain | PassWord: HIDDEN | CpanelMod: x3 | HomeRoot: /home | Quota: 0 Meg | NameServer1: ns7.mywebhost.com | NameServer2: ns8.mywebhost.com | NameServer3: | NameServer4: | Contact Email: | Package: moved +===================================+ Changing password for mydomain Password for mydomain has been changed Changing shell for mydomain. Shell changed. localdomains...valiases ...vdomainaliases...vfilters...Bind reconfiguring on keystone using rndc Updating ftp passwords for mydomain Ftp password files updated. Ftp vhost passwords synced wwwacct creation finished Account Creation Ok
Locking password for user mydomain. passwd: Success

Restoring cpanel user config file
Done


Restoring reseller privs (if any)
..reseller.accts.ipchange.08-31-2006-14-25-50.. ..reseller-resource-overselling.makemulti.pre.23548.. ..reseller.accts.ipchange.08-31-2006-15-58-15.. ..reseller-resource-limitst.. ..reseller-limits-bynumber.old.. ..resellers_old2.. ..resellers.bkp.demo.. ..old.reseller-resource-limits.130204.. ..reseller-limits.bak.. ..resellers.makemulti.pre.23548.. ..resellers.tar.gz.. ..resellers1.. ..resellers-nameservers.bak.. ..resellers_tmp.tgz.. ..old.reseller-limits.130204.. ..resellers.mbak.. ..reseller-resource-limits.o.. ..reseller-limits.sav.. ..reseller-resource-limits.makemulti.pre.23548.. ..reseller-resource-accounts.swap.1125047088.. ..reseller-number-accounts.bak.. ..reseller-bynumber.. ..resellers-nameservers.makemulti.preuniq.23548.. ..reseller-resource-limits_old.. ..reseller-limits.tmp.. ..reseller-limits-bynumber.. ..reseller-resource-accounts.bak.. ..reseller-resource-limits.old.18.2.2006.. ..resellers.tmp.. ..reseller-limits-bynumber1.. ..resellers.testbkp.. ..reseller-limits1.. ..resellers-nameservers.gz.. ..reseller.accts.ipchange.08-31-2006-15-57-39.. ..old.reseller-resource-accounts.130204.. ..reseller-limits.bkp.. ..resellersbackup.. ..resellerss.. ..resellers-nameservers.makemulti.pre.23548.. ..resellers.old.. ..reseller-limits.back.. ..reseller.accts.ipchange.08-31-2006-15-56-16.. ..reseller.BAK.. ..resellers.back.. ..reseller-limits-bynumber.bak.. ..reseller.accts.ipchange.08-31-2006-14-24-21.. ..resellers.file.. ..reseller-resource-limits.old.13.11.2003.. ..reseller-number-accounts.gz.. ..resellers.chris.. ..reseller.accts.ipchange.08-31-2006-15-59-30.. ..reseller.accts.ipchange.08-31-2006-15-54-27.. ..reseller-fix.tar.gz.. ..reseller.tar.. ..reseller-limits-bynumber.gz.. ..reseller-resource-overselling.. ..resellers-nameservers.. ..reseller-resource-accounts.swap.1125978808.. ..reseller-limits~.. ..reseller-resource-accounts.bak.mar25.ram.. ..reseller.accts.old.. ..resellers.o.. ..reseller-limits.old.. ..reseller-resource-limits.. ..reseller-accounts.gz.. ..resellers.makemulti.preuniq.23548.. ..resellerbackup.. ..resellers.bak.. ..reseller.accts.ipchange.08-31-2006-14-23-02.. ..reseller.tar-gz.. ..resellers.bkp1.. ..reseller-number-accounts-backup.. ..resellers-nameservers.tmp.. ..resellers~.. ..reseller.accts.. ..resellers.tar.. ..reseller-number-accounts1.. ..reseller-resource-accounts1.. ..reseller-limits-bynumber.o.. ..reseller-resource-overselling.tmp.. ..resellers-nameservers-bckup.. ..old.resellers.130204.. ..resellers-orig.. ..reseller-number-accounts_old.. ..resellers.1.. ..reseller-limits.o.. ..resellers.dkw.. ..resellers-limits.. ..reseller-number-accounts.makemulti.pre.23548.. ..resellers-nameservers_old.. ..reseller.bak.. ..reseller-resource-overselling.save.. ..resellers_old.. ..resellers-nameservers.o.. ..reseller_backup_cesar.. ..resellers.BCKbyEric.. ..reseller-resource-overselling_old.. ..ctwebusa.resellers.. ..reseller-resource-limits.sav.. ..reseller.. ..reseller-limits.tmp.tmp.. ..reseller-resource-accounts.o.. ..reseller-resource-limits.bak.. ..reseller-nameservers.gz.. ..reseller-limits.back1.. ..old.reseller-resource-overselling.130204.. ..resellers.bak1.. ..reseller-resource-limits1.. ..reseller-number-accounts.swap.1125047088.. ..reseller-limits-bynumber.tmp.. ..reseller-resource-accounts.. ..old-reseller-limits.bynumber.. ..old.reseller-limits-bynumber.130204.. ..reseller.tar.gz.. ..reseller-number-accounts.o.. ..reseller_fix.tar.gz.. ..reseller.txt.. ..reseller-limits-bynumber_old.. ..reseller-resource-overselling.makemulti.preuniq.23548.. ..resellers-old.. ..resellers.12oct2005.. ..resellers-nameservers.old.. ..resellerinfob2.tar.gz.. ..reseller-list-type.sh.bak.. ..old.resellers-nameservers.130204.. ..resellers.backup.. ..reseller-resource-overselling.bak.. ..reseller-limits.makemulti.pre.23548.. ..reseller-resource-limits.bkp.. ..reseller-resource-limits.tmp.. ..reseller-.tar.. ..resellersnewbackup.. ..reseller-resource-accounts.makemulti.preuniq.23548.. ..resellers.bkp.. ..reseller-number-accounts.. ..reseller-number-accounts.tmp.. ..resellers.tmpd.. ..resellers-nameservers1.. ..reseller-limits.b.. ..reseller-resource-limits.makemulti.preuniq.23548.. ..reseller-limits_old.. .._resellers-nameservers_.. ..reseller-move.tar.gz.. ..reseller.g.joiner.. ..reseller-resource-accounts_old.. ..reseller-resource-overselling1.. ..resellers-nameservers.save.. ..resellers.bk.. ..reseller-accounts.. ..resellerlist.. ..reseller-number-accounts.swap.1125978808.. ..reseller-resource-accounts.tmp.. ..resellers-nameservers~.. ..resellerstuff.tar.gz.. ..resellers.jeff.backup.. ..reseller-list-type.sh.. ..reseller-resource-limits.old.12.11.2003.. ..old.reseller-number-accounts.130204.. ..#resellers#.. ..reseller.tgz.. ..reseller-limits.makemulti.preuniq.23548.. ..reseller-resource-accounts.b.. ..resellers.. ..resellers-nameservers.jun23.. ..reseller-limits.. ..resellers.saved.old.. ..reseller-number-accounts.makemulti.preuniq.23548.. ..resellerinfo.tar.gz.. ..reseller-resource-accounts.makemulti.pre.23548.. ..reseller-nameservers.. ..resellers-134944.. ..resellers.bkup.. ..reseller-resource-overselling.o.. ..gameserv_resellers.cfg.. ..resellerss.tmp..

Restoring SSL keys and Certificates
Done


Restoring frontpage (if installed)
Done


Restoring access logs....
Done


Restoring MySQL databases....
Restoring database mydomain_articles...... ........... Done
Restoring database horde...... Done
Restoring database mydomain...... Done
Restoring database mydomain_geoads...... Done
Done

Restoring MySQL privs
Done


Reloading MySQL
Done


Restoring PostgreSQL databases....

Restoring Mailman lists
Done


Restoring Mailman Archives
Done


Restoring quota
Using Quota v3 Support
Done


Restoring shell
Changing shell for mydomain.
Shell not changed.
Done


Restoring password
Changing password for mydomain
Password for mydomain has been changed
Done


Restoring proftpd file
Done


Resyncing Ftp Passwords
Updating ftp passwords for mydomain
Ftp password files updated.
Ftp vhost passwords synced
Done


Parsing Domain Databases
...SubDomains......ParkedDomains......AddonDomains...

Restoring Domains



Restoring Bandwidth Data
Done

Restoring Counter Data


Restoring Dns Zones
Bind reloading on keystone using rndc zone: [mydomainname.com]
Changed all instances of [75.xx.xx.xx] -> [74.xx.xx.xx] in mydomainname.com.db

Restoring Files............. Done

Chowning Files......... ......... Done


Doing fileprotect conversion


Restoring nobody owned files
Done


Setting interchange permissions
Interchange is not installed for this account.
Done


Restoring Mail files
Done


Converting email to cPanel 5+ (if needed)
Done

Reconfiguring email Passwords (if needed)
Done

Cleaning up filters (if needed)
Updating vfilter files to latest format
vfilter converter v2.0.....running for mydomain.... (force=0) (has_spam_acl=1)
vfilter:mydomainname.com...No Updated Needed
Updating users .filter files....Done
Done

Fixing mail permissions
Done

Restoring crontab
Done

Converting to maildir if needed
Done


Restore Complete
Account Restore Complete Unlocking password for user mydomain. passwd: Success.

checked 7 files.....