kopia lustrzana https://github.com/modem7/docker-borgmatic
13 wiersze
279 B
Bash
13 wiersze
279 B
Bash
#!/bin/sh
|
|
# Import your cron file
|
|
/usr/bin/crontab /etc/borgmatic.d/crontab.txt
|
|
#Variables
|
|
borgver=$(borg --version)
|
|
borgmaticver=$(borgmatic --version)
|
|
#Software versions
|
|
docker --version
|
|
echo borgmatic $borgmaticver
|
|
echo $borgver
|
|
# Start cron
|
|
/usr/sbin/crond -f -L /dev/stdout
|