7 lines
602 B
Bash
7 lines
602 B
Bash
#!/bin/bash
|
|
PORT=222
|
|
BACKUP_SERVER=sauvkipeu.libre-en-communs.org
|
|
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}:/var/backups/borg/mirrors/${HOSTNAME}.libre-en-communs.org/
|
|
#BACKUP_SERVER=gardefou.libre-en-communs.org
|
|
#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}:/var/backups/borg/mirrors/${HOSTNAME}.libre-en-communs.org/
|