Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
cpanel:restore-from-crash-or-hack [2011-04-14 22:05:51]
garrett.plasky Approved
cpanel:restore-from-crash-or-hack [2014-12-29 21:15:14]
rory.blanchard [Data Restoration]
Line 14: Line 14:
 Let's begin by syncing over important /etc/ configuration files: Let's begin by syncing over important /etc/ configuration files:
  
-<sxh plain>cd /olddrive/etc/ && rsync -avHz user* trueuser* domainips secondarymx domainalias valiases +<sxh plain> 
-vfilters exim* backupmxhosts proftpd* pure-ftpd* logrotate.conf passwd* group* *domain* *named* wwwacct.conf +cd /olddrive/etc/ 
-cpbackup.conf cpupdate.conf quota.conf shadow* *rndc* ips* ipaddrpool* ssl hosts spammer* +rsync -avHz user* trueuser* domainips secondarymx domainalias valiases vfiltersexim* backupmxhosts proftpd* pure-ftpd* logrotate.conf passwd* group* *domain* *named* wwwacct.conf cpbackup.conf cpupdate.conf quota.conf shadow* *rndc* ips* ipaddrpool* ssl hosts spammer* skipsmtpcheckhosts relay* localdomains remotedomains my.cnf /etc 
-skipsmtpcheckhosts relay* localdomains remotedomains my.cnf /etc</sxh>+</sxh> 
 <note tip>You may also want to copy <c>/etc/crontab</c> and <c>/etc/cron.d/</c> if you have custom cron scripts.</note> <note tip>You may also want to copy <c>/etc/crontab</c> and <c>/etc/cron.d/</c> if you have custom cron scripts.</note>
  
Line 60: Line 61:
 Finally, all user data (mail, web files, etc.): Finally, all user data (mail, web files, etc.):
  
-<sxh plain>rsync -avHz /olddrive/home/* /home</sxh>+<sxh plain>rsync -avHz --exclude=virtfs/ /olddrive/home/* /home</sxh>