mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-09 03:37:37 +02:00
implemented new remote backup solution
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
# Pulls the remote backups from multiple hosts
|
||||
hosts="{{pull_remote_backups_hosts}}";
|
||||
errors=0
|
||||
for host in $hosts; do
|
||||
bash /usr/local/bin/pull-remote-backup/pull-remote-backup.sh $host || ((errors+=1));
|
||||
bash /usr/local/bin/pull-remote-backup.sh $host || ((errors+=1));
|
||||
done;
|
||||
exit $errors;
|
||||
|
Reference in New Issue
Block a user