implemented new remote backup solution

This commit is contained in:
2021-01-10 20:35:37 +01:00
parent 2328b411f6
commit dc0894f168
14 changed files with 120 additions and 10 deletions

View File

@@ -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;