Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
cpanel:restore-from-crash-or-hack [2014-12-29 13:12:33]
rory.blanchard [Data Restoration]
cpanel:restore-from-crash-or-hack [2014-12-29 13: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:
  
-<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* +<sxh plain> 
-skipsmtpcheckhosts relay* localdomains remotedomains my.cnf /etc +cd /​olddrive/​etc/​ 
-</code>+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 
 +</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>​