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
Next 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:12:33]
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 +<code>cd /olddrive/etc/ && rsync -avHz user* trueuser* domainips secondarymx domainalias valiases vfilters exim* 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* 
-vfilters exim* backupmxhosts proftpd* pure-ftpd* logrotate.conf passwd* group* *domain* *named* wwwacct.conf +skipsmtpcheckhosts relay* localdomains remotedomains my.cnf /etc 
-cpbackup.conf cpupdate.conf quota.conf shadow* *rndc* ips* ipaddrpool* ssl hosts spammer* \ +</code> 
-skipsmtpcheckhosts relay* localdomains remotedomains my.cnf /etc</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 60:
 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>