server-scripts/rsync-backup/rsync-backup.conf.example
Dennis 17baa237f9
Added rsync-backup.sh script and example config
This script can be executed in a cronjob and to regularly backup certain predefined files. AFter backing up, the script will send an email to inform the admin about the backup.
2020-04-05 15:43:32 +02:00

15 lines
346 B
Plaintext

#################################################################
# Config
#################################################################
EMAIL='' # Send confirmation email to this address
SSH_HOST='' # Target host
SSH_USER='' # User on target host
SSH_KEY='' # location of SSH key
SSH_PORT='22'
declare -a SRC_DIRS=(
#"/home"
)
DST_DIR=''