Repository navigation
|
Hello, I'm wondering what is the difference between :
They look very similar the only notable difference is that retention can't be scheduled. Which one should i use ? Thanks |
Replies: 3 comments 5 replies
|
Hi @jee-r, In the day to day backup you may want to configure However it also depends on your use case. |
|
|
|
Hi! Below is an excerpt of my configuration (I removed some sensitive info). Is there something I miss or wrong? |
Hi @jee-r,
retentioncan be applied automatically afterbackupwhileforgetis a separate command that can be used independently. Technically, both sections userestic forget.In the day to day backup you may want to configure
retentionfor your general lifecycle management and useresticprofile forgetto manually adjust the general lifecycle, e.g. to remove snapshots if you accidentally saved something in the backup that you want to remove. So usually you would leaveforgetunconfigured and only configureretention.However it also depends on your use case.
restic forget(used by sectionsretention&forget) is a repository wide action, thus not every backup needs to run it if it creates…