Check copy to backup directory.
This commit is contained in:
@@ -16,5 +16,9 @@
|
||||
register: backup_dirs
|
||||
|
||||
- name: Copy backup files
|
||||
copy:
|
||||
remote_src: true
|
||||
src: {{ item.path }}
|
||||
dest: "{{ backup_dir }}"
|
||||
debug: var=item.path
|
||||
loop: "{{ backup_dirs.files }}"
|
||||
@@ -1 +1,3 @@
|
||||
local_backup: /var/lib/docker/volumes/semaphore/_data/backup/
|
||||
backup_dir: /media/backup/hetzner/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user