Select Page

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

 

Share This