So to be clear this is the command I was wanting to run on another server with more CPU available. nice -n 19 restic -r {{ repo }} prune --repack-uncompressed --compression max
Does it use the cache at all? Or is the is “RESTIC_CACHE_DIR” ignored for this command.
Any machine can run the prune command. The beefier the CPU and RAM, the faster it’ll go. Yes, it uses the cache. If it isn’t present on the other machine, Restic will take care of that.
So if I’m running the compression command for several servers in a row I should make sure it clears the temporary cash on the server doing the processing between each server right?
Not at all unless you are desperate for disk space. Cache is repo specific so no issue with operating on multiple different repositories from a single computer (can be even at the same time).