Skip to content

Commit

Permalink
Update settings.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chazlarson authored Jun 12, 2024
1 parent 3f12a41 commit 7a6c28c
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions docs/saltbox/backup/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ By default, Saltbox will keep all previous backups that have been pushed to an r
If you wish to change that you can use these variables in your inventory:

```
backup_cleanup_number: 99 #
backup_cleanup_enabled: false # Enable or disable this backup pruning [if this is false, the previous value is ignored]
backup_cleanup_number: 99 # How many previous backups to retain [excluding the most recent]
backup_cleanup_enabled: false # Enable or disable this backup pruning [if this is false, the previous value is ignored]
backup_cleanup_custom_rclone_flags: "" # Add these flags to the rclone run that performs the cleanup.
# A use case might be to add `--drive-use-trash=false`
# to delete immediately from Google Drive.
Expand All @@ -143,21 +143,3 @@ backup2_cleanup_number: 99
backup2_cleanup_enabled: false
backup2_cleanup_custom_rclone_flags: ""
```
```
backup_cleanup_number: 99 (1)
```
{ .annotate }
1. How many previous backups to retain [excluding the most recent]
`backup_cleanup_enabled: false` (2)
{ .annotate }

2. Enable or disable this backup pruning [if this is false, the previous value is ignored]

`backup_cleanup_custom_rclone_flags: ""` (3)
{ .annotate }
3. Add these flags to the rclone run that performs the cleanup. A use case might be to add `--drive-use-trash=false` to delete immediately from Google Drive.

0 comments on commit 7a6c28c

Please sign in to comment.