If no files found in configured directories warn in log about it

This commit is contained in:
eleksir
2026-04-04 16:03:08 +03:00
parent 7b001d710a
commit 729b147b90

View File

@@ -111,6 +111,10 @@ func NewServer(configPath string) (*ServerWrapper, error) {
return
}
if len(files) == 0 {
log.Warnf("No files found to backup in configured directories")
}
var (
archive io.ReadCloser
extension string