Self-Hosting a Cloud – SMB File Server with Rsync/Rclone Backups

PHOTO EMBED

Mon Jan 03 2022 23:14:30 GMT+0000 (UTC)

Saved by @pirate #bash #windows

LOG=nightly-`date '+%Y-%m-%d_%H:%M:%S'`.log

rsync -av --delete --exclude '$RECYCLE.BIN' --exclude 'System\ Volume\ Information' --exclude 'found.000' --exclude 'Recovery' $SOURCE $DESTINATION | tee ~/logs/$LOG
content_copyCOPY

https://spin.atomicobject.com/2019/05/18/smb-self-hosting-rsync/