macOS server not staying on when logged out

New install to macOS backing up to an Azure Blob. We have everything configured and watching the data backup and show up in the blob. But when we log out of the Mac, or even when the screen locks, the backup stops. How do we get it to run in the background or even with out anyone logged in?? Does the installer come with a launch daemon we are missing?

It’s a classic macOS behavior - standard apps get closed at logout. To fix this, you have to run Duplicati in ‘Server’ mode as a system daemon. Check out the /Library/LaunchDaemons folder. If you set up a plist there, it’ll run as root from the moment the Mac turns on. Just remember that the UI (the tray icon) won’t show up until you log back in, but the backups will still happen in the background!

1 Like