docker_images/backups/rsyncvolumes/launch.c7.sh
Fabien BOURGEOIS cf48101dfb [IMP][ADD]RsyncVolumes : allow options and remote sync
* Do not use envsubst anymore but python os.environ ;
* Options for config : PLAN, SOURCE and DEST, EXCLUDE_WORDS ;
* Add synchronization with rsync+SSH with REMOTE env variables.
2021-03-12 19:48:43 +01:00

5 lines
157 B
Bash

#!/bin/bash
envsubst < /opt/backup/rsync.template > /opt/backup/rsync.sh
crontab ./crontab && touch /var/log/cron.log && crond && tail -f /var/log/cron.log