Fabien BOURGEOIS
cf48101dfb
* 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.
5 lines
157 B
Bash
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
|