diff --git a/Services/backup-contabo-db.timer b/Services/backup-contabo-db.timer index 35c69bb..c56753a 100755 --- a/Services/backup-contabo-db.timer +++ b/Services/backup-contabo-db.timer @@ -1,10 +1,9 @@ [Unit] -Description=Backup contabo db dayly +Description=Backup contabo db daily [Timer] -OnCalendar=*-*-* 11:00:00 Persistent=true -AccuracySec=1h +OnCalendar=*-*-* 10:00:00 WakeSystem=true [Install] diff --git a/Services/backup-contabo-files.timer b/Services/backup-contabo-files.timer index 33bcc15..c8025f3 100755 --- a/Services/backup-contabo-files.timer +++ b/Services/backup-contabo-files.timer @@ -2,10 +2,10 @@ Description=Backup contabo files once per week [Timer] -#DayOfWeek Year-Month-Day Hour:Minute:Second -OnCalendar=*-*-* 11:03:00 Persistent=true -AccuracySec=1h +OnCalendar=*-*-* 10:03:00 +WakeSystem=true +#DayOfWeek Year-Month-Day Hour:Minute:Second [Install] WantedBy=timers.target diff --git a/Services/backup-db.sh b/Services/backup-db.sh index 0f71c5a..167ee56 100755 --- a/Services/backup-db.sh +++ b/Services/backup-db.sh @@ -1,4 +1,5 @@ #! /bin/bash +sleep 50 sshKey=$(<.sshKey) serverBackupPath=$(<.serverBackupPath) localPath=$(<.localBackupPath) diff --git a/Services/backup-files.sh b/Services/backup-files.sh index 6927cb6..30e2f17 100755 --- a/Services/backup-files.sh +++ b/Services/backup-files.sh @@ -1,4 +1,5 @@ #! /bin/bash +sleep 60 sshKey=$(<.sshKey) serverBackupPath=$(<.serverBackupPath) localPath=$(<.localBackupPath)