Last active
June 11, 2018 12:53
-
-
Save d-oderbolz/b10d30639fb3ccaa0b8f589fae6346ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple Backup Script (inspried by https://zarino.co.uk/post/synology-rsync-backup/) | |
rsync -a -v --log-file="/var/services/homes/admin/log/backup.$(date +%Y-%m-%d-%H%M).log" \ | |
--exclude '*@SynoResource' \ | |
--exclude '@eaDir' \ | |
--exclude '*.vsmeta' \ | |
--exclude '.DS_Store' \ | |
/volume1/data/ /volumeUSB2/usbshare/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the Backup script I use on my Synology NAS