server-scripts/rsync-backup/README.md

497 B

This script is intended to be used in a cronjob and will make regular rsync-backups of certain directories and files that can be defined in rsync-backup.conf. Once executed, the script will send out an email with the rsync log.

The script makes use of the rsync --delete-flag. To prevent dataloss, backups can be interleave d to different target-directories. To do so, the script should be called with different configuration-files.

Usage

./rsync-backup.sh -c <CONFIG_FILE>