[squid-users] Backing up squid cache and restoring it

Arne-Tobias Rak arne-tobias.rak at stud.tu-darmstadt.de
Thu Jan 17 13:47:14 UTC 2019


Hi,

my goal is to restore a previous cache state in squid 3.x running on 
Ubuntu 16.04.

So far I have tried to create a copy of the /var/spool/squid and 
/var/log/squid folders.
When restoring the cache, I first shutdown squid using
/sudo squid -k shutdown//
//sudo service squid stop -k
/and then restore the previously copied folder contents. I then start 
squid again using
/sudo service squid start./

Unfortunately, this does not restore the previous cache contents, as the 
spool/squid/swap.state
file is modified during squid startup.

Thanks in advance!
Arne

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20190117/e07154c6/attachment.html>


More information about the squid-users mailing list