This repository contains miscellaneous handy scripts to automate or maintain things.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
server-scripts/rsync-backup
Dennis Potter ef6a22efc1
Added Markdown-extension to README filte
3 years ago
..
README.md Added Markdown-extension to README filte 3 years ago
rsync-backup.conf.example Added rsync-backup.sh script and example config 3 years ago
rsync-backup.sh Added rsync-backup.sh script and example config 3 years ago

README.md

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>