Excluding `/var/cache` is dangerous

Asked by Sparhawk

Despite the savings, I think excluding `/var/cache` is dangerous. I ran into a few problems because of this exclusion.

https://unix.stackexchange.com/questions/150487/how-should-i-restore-var-cache

I had to manually re-create subdirectories, change ownership and permissions, and reinstall a package. I was fortunate enough to have a copy of my system without this directory excluded, but if I were restoring from scratch, I'd probably have missed some files.

Question information

Language:
English Edit question
Status:
Solved
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Solved by:
Germar
Solved:
Last query:
Last reply:
Revision history for this message
Best Germar (germar) said :
#1

That's right. There was already a discussion in bug #1081775 about [Cc]ache* exclude. I removed that in next major version 1.1. Only /var/cache/apt/archives/*.deb will be excluded by default.

Revision history for this message
Sparhawk (sparhawkthesecond) said :
#2

Great! Thank you for the quick response once again.

Revision history for this message
Sparhawk (sparhawkthesecond) said :
#3

Thanks Germar, that solved my question.