Skip to content

Commit

Permalink
add playbook to backup raw sensor data
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f authored Jan 15, 2024
1 parent a6e3dbd commit 9628a67
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions services/ansible_openvpn/playbooks/backup_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- name: rsync data archive to an external ssh
hosts: 127.0.0.1
connection: local
become: false
vars:
source: '/home/semaphore/data/archive/'
destination: 'backup_noisesensor/'
tasks:
- name: data synchronization
ansible.posix.synchronize:
src: '{{ source }}'
dest: '{{ destination }}'

0 comments on commit 9628a67

Please sign in to comment.