<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,</p>
<p>my goal is to restore a previous cache state in squid 3.x running
on Ubuntu 16.04.</p>
<p>So far I have tried to create a copy of the /var/spool/squid and
/var/log/squid folders.<br>
When restoring the cache, I first shutdown squid using<br>
<i>sudo squid -k shutdown</i><i><br>
</i><i>sudo service squid stop -k<br>
</i>and then restore the previously copied folder contents. I then
start squid again using<br>
<i>sudo service squid start.</i><br>
</p>
<p>Unfortunately, this does not restore the previous cache contents,
as the spool/squid/swap.state<br>
file is modified during squid startup.</p>
<p>Thanks in advance!<br>
Arne<br>
</p>
</body>
</html>