6 lines
310 B
Bash
6 lines
310 B
Bash
#!/bin/bash
|
|
PORT=222
|
|
for BACKUP_SERVER in sauvkipeu.libre-en-communs.org gardefou.libre-en-communs.org; do
|
|
rsync -aq -e "ssh -p ${PORT} -i /root/.ssh/backup_ssh_key" --numeric-ids --update --delete --delete-after --exclude '/dev/' --exclude '/proc/' --exclude '/sys/' / borg@${BACKUP_SERVER}:/mirror/
|
|
done
|