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.
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago | |
rsync-backup.conf.example | 3 years ago | |
rsync-backup.sh | 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>