creativeprojects / resticprofile

Configuration profiles manager and scheduler for restic backup
https://creativeprojects.github.io/resticprofile/
GNU General Public License v3.0
762 stars 33 forks source link

[question] step/one-by-one execution #411

Closed DenisBY closed 1 month ago

DenisBY commented 1 month ago

I couldn't find in documentation and issues how to execute commands one by one. I.e. I want to execute backup, then forget and then prune. How to achieve it?

creativeprojects commented 1 month ago

It's actually quite easy, you can make use of 2 flags on the retention target like so:

profile:
  backup:
    source: ...
  retention:
    after-backup: true
    prune: true
DenisBY commented 1 month ago

Got it, thanks!