scripts/bash/workflow_nextcloud/backups/sync_to_nas.sh

10 lines
404 B
Bash
Raw Normal View History

2022-07-06 16:25:25 +02:00
echo "############"
echo "syncro du dossier BORG local de fatland vers le NAS BROUMIAH"
echo "############"
SOURCE="/media/tykayn/DATA/backup_land4to/*"
rsync -avzP --perms --delete-after --progress $SOURCE -e ssh tykayn@192.168.0.3/var/services/homes/tykayn/archives/backup_land4to -p 20522
echo -e "${GREEN}############${NC}"
echo -e "${GREEN}syncro backup vers disque NAS BROUMIAH faite${NC}"