Policy like parameters for copy


Just noticed it would be useful to have policy parameters the forget command have for copy command. Use case for that is to partially replicate snapshots like in the following scenario: I have huge RAID volume with main restic repository aggregates all the backups and a smaller detachable disk just to have another copy of the same-ish data locally. So currently I have no option to copy let’s say daily snapshots only without scripting selection of them and copy one-by-one.

Thanks in advance for any thoughts about it

The suggestion sounds reasonable. Though the main question is whether this feature would be worth adding more than 10 additional options to the copy command. Could you open a feature request on GitHub?

Sure, here it is: parameters to copy to allow filter snapshots like forget does · Issue #4425 · restic/restic · GitHub