Skip to content

Commit

Permalink
README: add example for pruning old backups
Browse files Browse the repository at this point in the history
fixes #75
  • Loading branch information
Cogitri authored Aug 30, 2024
1 parent 0b743fa commit 8591d00
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ jobs:
# we can also disable google drive trash using flags
flags:
drive-use-trash: false
# In case we also want to prune backups that are older than 14 days
- name: Prune Old Backups
schedule: 10 5 * * *
command: delete
sources:
- 'hassbackup:'
flags:
min-age: 14d
dry_run: false
config_path: /homeassistant/rclone.conf
```
Expand Down

0 comments on commit 8591d00

Please sign in to comment.