Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder Backup Rule "Delete content after successful snapshot" #80

Open
quantum-byte opened this issue May 3, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@quantum-byte
Copy link
Contributor

I see a use case where i want restic-android to delete the contents of the folder once it made a successful snapshot of it.

For example my Mi9 has a way to backup app and os settings and i can configure it to create a backup file each day but it does not allow me to only keep backup files for the last 7 days. So they just accumulate until i manually delete them.

Through this feature they would be automatically deleted locally once a successful snapshot has been taken. This combines really well with the "folder retain for x days" feature.

@lhns lhns added the enhancement New feature or request label May 3, 2022
@lhns
Copy link
Owner

lhns commented May 3, 2022

Yes I've also seen several apps that do this so this would be a nice utlity. Might need an option to only delete files older than x though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants