Rsync My NAS’d RAID1 in MacOS Catalina | Mac Hates Devs
https://github.com/MasonMcGerry/RemoteNASRAID
# generate the key pair
ssh-keygen -t rsa
# send public key to server or host whichever you want auto login
sh-copy-id -i ~/.ssh/id_rsa.pub user@host
Youtube won't let me post the script because it has angled brackets, I'll see if I can comment it.
# https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories-on-a-vps#how-to-use-rsync-to-sync-with-a-remote-system
# https://apple.stackexchange.com/questions/38861/where-is-the-cron-log-file-in-macosx-lion
# https://linuxize.com/post/bash-redirect-stderr-stdout/
# https://discussions.apple.com/thread/8133298
# https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories-on-a-vps
# https://serverfault.com/questions/166030/crontab-rsync-nothing-happens
# https://www.ssh.com/ssh/copy-id
# https://developer.apple.com/forums/thread/126497
# https://blog.bejarano.io/fixing-cron-jobs-in-mojave/
# https://bobcares.com/blog/rsync-error-code-23/
# https://unix.stackexchange.com/questions/12203/rsync-failed-to-set-permissions-on-error-with-rsync-a-or-p-option
# https://stackoverflow.com/questions/13280699/crontab-is-not-running-my-script
# https://superuser.com/questions/649186/how-can-i-get-the-scp-command-to-overwrite-the-destination-folder
# https://kb.iu.edu/d/agye
# https://www.tecmint.com/sftp-upload-download-directory-in-linux/
# http://macosxautomation.com/automator/calendar/index.html #tech #sysadmin