The rewrite command in Restic lets you remove specific files or folders from a backup. I’ll show you how to remove files and how to use a text file when removing lots of files.
Restic website – https://restic.net
Restic on GitHub – https://github.com/restic/restic
Restic documentation – https://restic.readthedocs.io/en/latest