I was reading this issue #1380 and got thinking… generally, most users would probably not want to include these things in their backup:
- restic’s temporary files
- restic’s cache(s)
- the restic repository being backed up to
… and people would probably prefer to exclude those from a backup.
Does this sound right? If so, I’d be willing to look into patching restic to ignore these by default. Or perhaps some discussion about how to obtain these paths in the code of the
restic backup command (cmd_backup.go).
(Of course, if these are excluded by default I’m not sure how to force-include them, except perhaps to explicitly list them in the args of the
restic backup command.)