Skip to content

Instantly share code, notes, and snippets.

@d-oderbolz
Last active June 11, 2018 12:53
Show Gist options
  • Save d-oderbolz/b10d30639fb3ccaa0b8f589fae6346ba to your computer and use it in GitHub Desktop.
Save d-oderbolz/b10d30639fb3ccaa0b8f589fae6346ba to your computer and use it in GitHub Desktop.
#!/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
@d-oderbolz
Copy link
Author

This is the Backup script I use on my Synology NAS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment