Outra solução:
Tente executar crontab -e
e adicione algo como o abaixo: (veja aqui para detalhes)
#
# some comments are here
#
#
# rsync archive every day at midnight change /dev/null to a file name if you want to see the logs
0 0 * * * rsync –avu /path/to/source ~/rsync/daily > /dev/null
# rsync every sunday at 4am change /dev/null to a file name if you want to see the logs
0 4 * * 0 rsync –avu ~/rsync/daily ~/rsync/weekly > /dev/null
# rsync every 1st of the month use gzip to use less space change /dev/null to a file name if you want to see the logs
0 0 1 * * tar -cvzf ~/rsync/monthly/monthly_$(date +%m%d%Y).tar.gz ~/rsync/daily/
E para criptografar as pastas, você poderia fazer algo como:
tar -cvz /path/to/directory | openssl des3 -salt > name_of_encrypted.tar.gz
E para descriptografar:
cat name_of_encrypted.tar.gz | openssl des3 -d -salt | tar -xvz new_name_of_directory