Hmm… I removed all snapshots from my local (temporary) repository. I store the bulk of my snapshots in SharePoint, and copy them down to a local SSD if I think I’ll need them. When I ran prune --max-unused 0
it said it removed everything, but I noticed a few data packs were left. They all appear to have “tmp” or “temp” in the name. Shouldn’t Restic clean these up? I also wonder why some say “tmp” and others “temp” just out of curiosity.
Yes, but it’s not implemented so far: prune does not remove all superfluous files · Issue #4372 · restic/restic · GitHub . You can just delete those temp files. Hmm, sftp uses -restic-temp-
, whereas the local backend use -tmp-
.
1 Like
I was apparently subscribed to it and forgot
1 Like
For anyone else wondering about this, I just do:
rclone --include ".davfs.tmp*" --include "*-restic-temp-*" --include "*-tmp-*" -n delete your-backend:
at the end of my backup scripts