Adding the rclone step, still missing db backups
This commit is contained in:
parent
e912ee0133
commit
fb7c3ddbad
@ -189,3 +189,15 @@
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
loop: "{{ oldest_file_paths }}"
|
||||
- name: Trigger rclone backup
|
||||
hosts: nfsserver
|
||||
become: true
|
||||
become_method: sudo
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Run rclone
|
||||
ansible.builtin.shell:
|
||||
cmd: "rclone sync /backups dropbox:Backup/infrastructure --progress --dropbox-chunk-size 128M --dropbox-batch-mode sync --dropbox-batch-size 100 --tpslimit 12 --tpslimit-burst 0"
|
||||
changed_when: false
|
||||
async: 3600
|
||||
poll: 60
|
||||
|
||||
Loading…
Reference in New Issue
Block a user