Re: [squid-users] reinstalling from backup

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 01 Jul 2001 04:06:10 +0200

Stuart Clark wrote:
>
> Hi,
> Oh No!!
> One of my staff have just deleted my whole cache_dir.
> Lucky cause i got a copy of it on tape from about one week ago.
> Can i just re-install this directory from backup?

Yes, but make sure to remove swap.state if Squid is running while you
restore the backup..

The following should work

1. restore backup
2. stop squid
3. remove swap.state
4. start squid

But in most cases it is not worth the effort to restore a backup of the
cache.. caches are temporary data with a relatively short lifespan.

--
Henrik Nordstrom
Squid Hacker
Received on Sat Jun 30 2001 - 20:15:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:53 MST