1
Fork 0
mirror of https://github.com/Steffo99/backup-duplicity.git synced 2024-10-16 06:07:25 +00:00

Indent entrypoint

This commit is contained in:
Steffo 2024-06-05 09:13:15 +02:00
parent 264db5c72b
commit 116026c5e0
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -2,16 +2,16 @@
case "$MODE" in case "$MODE" in
backup) backup)
echo "Running first backup..." echo "Running first backup..."
/etc/periodic/daily/backup.sh /etc/periodic/daily/backup.sh
echo "Running cron for daily backups..." echo "Running cron for daily backups..."
crond -f -l 0 crond -f -l 0
echo "Cron has exited." echo "Cron has exited."
;; ;;
restore) restore)
echo "Restoring from latest backup..." echo "Restoring from latest backup..."
/usr/lib/backup-duplicity/restore.sh /usr/lib/backup-duplicity/restore.sh
echo "Done." echo "Done."
;; ;;
*) *)
echo "No such mode." >> /dev/stderr echo "No such mode." >> /dev/stderr