2023-03-18 20:17:53 +01:00
|
|
|
#!/bin/bash
|
|
|
|
PORT=222
|
|
|
|
BACKUP_SERVER=sauvkipeu.libre-en-communs.org
|
2023-03-19 01:43:43 +01:00
|
|
|
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/
|
2023-03-18 20:17:53 +01:00
|
|
|
#BACKUP_SERVER=gardefou.libre-en-communs.org
|
2023-03-19 01:43:43 +01:00
|
|
|
#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/
|