[tor-relays] PSA: exclude /var/lib/tor/diff-cache/ from your backups

Iain R. Learmonth irl at torproject.org
Tue Nov 14 09:37:29 UTC 2017


Hi,

On 14/11/17 05:03, Roman Mamedov wrote:
> Dear Tor project: this is very bad style to keep that in /var/lib, content
> with properties like this must go into /var/cache/ [1], where it would be
> automatically excluded from backups by default policies in most backup systems.

It does seem that all paths used by tor are relative to DataDirectory,
which has usually been /var/lib/tor. Perhaps a new configuration option
for CacheDirectory, and moving caches to that directory, would be
useful. It would be up to packagers to actually use that option though,
a default of using DataDirectory as CacheDirectory would not be entirely
unreasonable for cases where tor is embedded in other software.

This would seem worthy of a trac ticket if someone could write one up.

Thanks,
Iain.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 512 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20171114/451dd909/attachment.sig>


More information about the tor-relays mailing list