@enboig Okay, sorry then. I don’t using think
rescript testrepo forget have any problems. Rescript just wraps restic commands and using it that way is like using
restic forget; obviously, you have to specify the snapshots you want to forget or policies, that way, because
forget for rescript is just part of an array of restic commands you can use. So, short answer,
rescript testrepo forget [flags|snapshotID|policies] should work just fine.
If you want to use the part of the “archive” you can just copy it to your own script and edit the paths used for
restore|backup; so right now it creates
/tmp/archive. You can just edit it and point it to
/home/enboig/archive for example; also, edit the variables containing these paths so at the end it deletes the correct directories.