resticprofile icon indicating copy to clipboard operation
resticprofile copied to clipboard

Error when unscheduling jobs

Open ilium007 opened this issue 6 months ago • 2 comments

How do I troubleshoot this one?

sudo resticprofile unschedule --all
2025/06/07 19:19:47 using configuration file: /etc/resticprofile/profiles.yaml
2025/06/07 19:19:47 cannot list user units: error running command: exit status 1
Failed to list units: Transport endpoint is not connected

Removed "/etc/systemd/system/timers.target.wants/[email protected]".
2025/06/07 19:19:47 scheduled job default/backup removed
Removed "/etc/systemd/system/timers.target.wants/[email protected]".
2025/06/07 19:19:47 scheduled job default/check removed

Turns out its when running as sudo only:

resticprofile unschedule
2025/06/07 19:21:12 using configuration file: /etc/resticprofile/profiles.yaml
2025/06/07 19:21:12 no scheduled jobs found

ilium007 avatar Jun 07 '25 09:06 ilium007

Sorry for the late reply

  • which OS are you using? if Linux, which distribution?
  • can you retry with the -v flag to display more information on each command?

creativeprojects avatar Jun 12 '25 20:06 creativeprojects

Sorry for the late reply

  • which OS are you using? if Linux, which distribution?
  • can you retry with the -v flag to display more information on each command?

Debian 12. I'll retry with -v later today.

ilium007 avatar Jun 12 '25 23:06 ilium007