[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Restore apache help



John Fleming wrote:
Continuing to restore my server -

I've installed apache and restored my home dirs and /etc/apache dir.
That's not adequate though, as other configs are needed.  Right now
every browse is directed to the default /var/www dir and my httpd.conf
is being ignored due to various references to other config files.

Rather than trying to figure out exactly what it wants and restoring
that, one thing at a time, is it safe/advisable for me to restore my
entire old /etc dir from my backup?

Googling around I've found some good material about restoring user
accounts.  Any other advice on what's safe/advisable to restore versus
having to individually install and configure?  Can I restore the
entire /usr and /var dirs, or is that not advisable?

Thanks - John


John,

Yes, you can just make a dir (say /etc_backup and dump your old /etc right into it. Then rename your new /etc and rename your /etc_backup to /etc and all your configs are back. As far as I know, you can do the same for /usr and most certainly the same for /var (not sure how this will play with /var/cache/apt and app-install). Someone more experienced on debian fs would have to answer that point more in depth then I can. However, if it were me, I would give it a shot. Just keep the old /var renamed so, if needed, you can get it back if apt does not like it.


On a separate personal note: are you getting this at 72 char. per line? As I type this it looks like it just goes and goes and when I receive them back, again, does not seem like it is 72 char/line.

--
Damon L. Chesser
damon@damtek.com



Reply to: