-- name: "Compress directory {{ nextcloud_data_path }} into {{ nextcloud_tmp_path }}/data.tar.gz"
- become_user: "{{ nextcloud_websrv_user }}"
- become: true
- community.general.archive:
- path: "{{ nextcloud_data_path }}"
- dest: "{{ nextcloud_tmp_path }}/data.tar.gz"
- format: gz
- force_archive: true
- mode: '777'
+# replace by rsync -t -P --delay-updates -F --compress --archive --partial ateliers:/home/www/data/org/heureux-cyclage/nuages/instances/clavette-gre/data /opt/nuage/backups/clavette-gre/
+# - name: "Compress directory {{ nextcloud_data_path }} into {{ nextcloud_tmp_path }}/data.tar.gz"
+# become_user: "{{ nextcloud_websrv_user }}"
+# become: true
+# community.general.archive:
+# path: "{{ nextcloud_data_path }}"
+# dest: "{{ nextcloud_tmp_path }}/data.tar.gz"
+# format: gz
+# force_archive: true
+# mode: '777'