# KopiaUI maintenance in windows resuming after sleep first fails, then works

**URL:** <https://kopia.discourse.group/t/kopiaui-maintenance-in-windows-resuming-after-sleep-first-fails-then-works/3696>\
**Category:** Support\
**Created:** [January 28, 2025, 11:21pm UTC](https://kopia.discourse.group/t/kopiaui-maintenance-in-windows-resuming-after-sleep-first-fails-then-works/3696 "2025-01-28T23:21:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jesus\_Lopez](https://yyz2.discourse-cdn.com/free1/user_avatar/kopia.discourse.group/jesus_lopez/32/803_2.png) [@Jesus\_Lopez](https://kopia.discourse.group/u/Jesus_Lopez)\
**Post date:** [January 28, 2025, 11:21pm UTC](https://kopia.discourse.group/t/kopiaui-maintenance-in-windows-resuming-after-sleep-first-fails-then-works/3696/1 "2025-01-28T23:21:53Z")

</div>

After update to kopiaUI 19 backups work OK but an annoyance started to happen. Now very frequently or always when my laptop goes to sleep and then I woke it up to resume working, then I gest a toast (tray) notification of an error about a maintenance task failure. Looking the logs, the maintenance task is retried and the second time succeeds.

Log is like  
Maintenance: Periodic maintenance  
**Error:** error updating maintenance schedule: cannot create temporary file: cannot create directory: can’t re-create top-level directory \nas\my-share\kopia-backup-data: top-level directory not found.  
23:49:56.105 due for full maintenance cycle  
23:49:56.105 Acquiring maintenance lock in file C:\Users\jesus\AppData\Roaming\kopia\repository.config.mlock  
23:49:56.357 scheduling next full cycle at 2025-01-29 23:49:56.3575618 +0100 CET  
23:49:56.357 scheduling next quick cycle at 2025-01-29 00:49:56.3575618 +0100 CET

 ![image](https://global.discourse-cdn.com/free1/uploads/kopia/original/2X/0/01577f60b1bc834e014e5bfe7af5ba9e549c123f.png)

\nas is a 24h ON linux machine with a samba share.

Is it only me?
