by Cristian Balan | Oct 19, 2016 | Backup, Linux
The following is a simple example of using rsync to backup remote data in a cron scheduled fashion. */5 * * * * rsync -vrupogtzh -e “ssh -p 22” –exclude “.git” [email protected]:/path/from/ /path/to/ > /dev/null