mirror of
https://github.com/Steffo99/backup-duplicity.git
synced 2024-12-21 11:14:19 +00:00
Indent entrypoint
This commit is contained in:
parent
264db5c72b
commit
116026c5e0
1 changed files with 8 additions and 8 deletions
|
@ -2,16 +2,16 @@
|
|||
|
||||
case "$MODE" in
|
||||
backup)
|
||||
echo "Running first backup..."
|
||||
/etc/periodic/daily/backup.sh
|
||||
echo "Running cron for daily backups..."
|
||||
crond -f -l 0
|
||||
echo "Cron has exited."
|
||||
echo "Running first backup..."
|
||||
/etc/periodic/daily/backup.sh
|
||||
echo "Running cron for daily backups..."
|
||||
crond -f -l 0
|
||||
echo "Cron has exited."
|
||||
;;
|
||||
restore)
|
||||
echo "Restoring from latest backup..."
|
||||
/usr/lib/backup-duplicity/restore.sh
|
||||
echo "Done."
|
||||
echo "Restoring from latest backup..."
|
||||
/usr/lib/backup-duplicity/restore.sh
|
||||
echo "Done."
|
||||
;;
|
||||
*)
|
||||
echo "No such mode." >> /dev/stderr
|
||||
|
|
Loading…
Reference in a new issue