Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add verification of backup connections in ansible playbooks -ocrvs_8280 #372

Merged
merged 7 commits into from
Jan 27, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
correction: backup server dir name in staging
alsmk committed Jan 23, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 23b67b792486f585f12d929cde4289e364eb2826
2 changes: 1 addition & 1 deletion infrastructure/server-setup/backups.yml
Original file line number Diff line number Diff line change
@@ -200,7 +200,7 @@
- backups

- name: Download the test connection file from the backup server
shell: rsync -avz -e "ssh -o StrictHostKeyChecking=no" {{ backup_server_user }}@{{ destination_server }}:{{ backup_server_remote_target_directory }}/downloaded_from_backup.txt /tmp/downloaded_from_backup.txt
shell: rsync -avz -e "ssh -o StrictHostKeyChecking=no" {{ backup_server_user }}@{{ destination_server }}:{{ backup_server_remote_source_directory }}/downloaded_from_backup.txt /tmp/downloaded_from_backup.txt
remote_user: '{{ crontab_user }}'
when: "'backups' in groups and groups['backups'] | length > 0 and periodic_restore_from_backup"
tags: