[Borgbackup] Cache Question

Felix Schwarz felix.schwarz at oss.schwarz.eu
Sat Nov 30 04:50:01 EST 2019


Am 30.11.19 um 10:19 schrieb Joseph Hesse:
> I use borg to back up my entire home directory.  It seems to me that I should
> exclude .cache/borg and .config/borg.  My reasoning is that if I have to
> restore my entire home directory into a new computer, borg will recreate these
> directories and restoring the old ones will interfere with the restoration. 
> Is this correct?

You should be able to exclude ~/.cache entirely (assuming all applications use
that directory properly). I still backup ~/.config/borg because I have
multiple (encrypted) borg repos and that way I still have these keys covered.

If you only use a single borg repo on that computer you don't need ~/.config/borg.

Felix


More information about the Borgbackup mailing list