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-09-15 21:11:21]
garrett.plasky Approved
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:
  
-<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>​