%PDF- %PDF-
Direktori : /mnt/tieto-nb/Documents/rsync/ |
Current File : //mnt/tieto-nb/Documents/rsync/rsync_etc_year.sh |
#!/bin/sh set -x mkdir -p /data/backup_etc_month/$(date +%d)/ rsync --progress -avzh --rsh='ssh -p22 -v' --delete root@vserver.varak.net:/etc/ /data/backup_etc_month/$(date +%d)/ >> /home/backup/rsync_$(date +%Y-%m-%d).log