Differences
This shows you the differences between two versions of the page.
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:00:42] garrett.plasky Approved |
cpanel:restore-from-crash-or-hack [2011-04-14 22:05:51] garrett.plasky Approved |
||
---|---|---|---|
Line 10: | Line 10: | ||
Restoring the data is just a matter of rsync-ing over certain directories and configuration files. | Restoring the data is just a matter of rsync-ing over certain directories and configuration files. | ||
- | <note important> | + | <note important> |
Let's begin by syncing over important /etc/ configuration files: | Let's begin by syncing over important /etc/ configuration files: | ||
Line 17: | Line 17: | ||
vfilters exim* backupmxhosts proftpd* pure-ftpd* logrotate.conf passwd* group* *domain* *named* wwwacct.conf \ | 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* \ | cpbackup.conf cpupdate.conf quota.conf shadow* *rndc* ips* ipaddrpool* ssl hosts spammer* \ | ||
- | skipsmtpcheckhosts relay* localdomains remotedomains / | + | skipsmtpcheckhosts relay* localdomains remotedomains |
- | <note tip>You may also want to copy / | + | <note tip>You may also want to copy <c>/ |
Next up is Apache and its configuration: | Next up is Apache and its configuration: | ||
<sxh plain> | <sxh plain> | ||
- | # rsync -avHz / | + | rsync -avHz / |
- | # rsync -avHz / | + | rsync -avHz / |
Next is named (bind). This is only needed if you run your own DNS: | Next is named (bind). This is only needed if you run your own DNS: | ||
Line 54: | Line 54: | ||
<sxh plain> | <sxh plain> | ||
- | Root user MySQL configuration | + | Root user MySQL configuration: |
<sxh plain> | <sxh plain> |