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 e070801 commit fbfedd4
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions docs/saltbox/backup/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,16 @@ backup:

12. Port used by rsync on the target server.

13. How many previous backups to retain [excluding the most recent]

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

Options are: `true` or `false`

15. Add these flags to the rclone run that performs the cleanup.

A use case might be to add `--drive-use-trash=false` here to delete immediately on Google Drive.

!!! important

Nothing that is stored on the rclone or rsync destinations is encrypted by this backup process, so take care not to set those destinations to systems you do not control.
Expand Down Expand Up @@ -131,23 +141,13 @@ 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:

``` { .yaml .annotate }
backup_cleanup_number: 99 # (1)!
backup_cleanup_enabled: false # (2)!
backup_cleanup_custom_rclone_flags: "" # (3)!
``` { .annotate }
backup_cleanup_number: 99 # (13)!
backup_cleanup_enabled: false # (14)!
backup_cleanup_custom_rclone_flags: "" # (15)!
# if you are using backup2
backup2_cleanup_number: 99 # (1)!
backup2_cleanup_enabled: false # (2)!
backup2_cleanup_custom_rclone_flags: "" # (3)!
backup2_cleanup_number: 99 # (13)!
backup2_cleanup_enabled: false # (14)!
backup2_cleanup_custom_rclone_flags: "" # (15)!
```

1. How many previous backups to retain [excluding the most recent]

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

Options are: `true` or `false`

3. Add these flags to the rclone run that performs the cleanup.

A use case might be to add `--drive-use-trash=false` here to delete immediately on Google Drive.

0 comments on commit fbfedd4

Please sign in to comment.