Skip to content

Commit

Permalink
backup: add sftp default values
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Nov 17, 2023
1 parent 55c72ed commit 90d2a58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/backup/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ backup_notify_rsync_complete: true

backup_google_template: '--drive-chunk-size="{{ backup_rclone_drive_chunk_size }}"'
backup_dropbox_template: '--dropbox-chunk-size="{{ backup_rclone_dropbox_chunk_size }}" --disable-http2 --dropbox-pacer-min-sleep=250ms'
backup_sftp_template: ""

################################
# Cleanup
Expand Down
2 changes: 2 additions & 0 deletions roles/backup2/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
backup2_ignore_containers: "{{ backup_ignore_containers }}"
backup2_user_defined_files: "{{ backup_user_defined_files }}"
backup2_async_batch_size: "{{ lookup('vars', 'backup2_async_batch_size_' + backup.rclone.template, default='1') }}"
backup2_async_batch_size_sftp: "8"
backup2_async_batch_size_google: "8"
backup2_async_batch_size_dropbox: "2"
backup2_rclone_env: "{{ backup_rclone_env }}"
Expand All @@ -19,6 +20,7 @@ backup2_rclone_upload_speed_limit: "{{ backup_rclone_upload_speed_limit }}"

backup2_google_template: '--drive-chunk-size="{{ backup_rclone_drive_chunk_size }}" --drive-stop-on-upload-limit'
backup2_dropbox_template: '--dropbox-chunk-size="{{ backup_rclone_dropbox_chunk_size }}" --disable-http2 --dropbox-pacer-min-sleep=1000ms'
backup2_sftp_template: ""

################################
# Cleanup
Expand Down

0 comments on commit 90d2a58

Please sign in to comment.