tweaks to backup & verifydata tool to make a typical backup+verifydata produce no output

for easy use in a crontab
This commit is contained in:
Mechiel Lukkien
2023-06-01 11:34:28 +02:00
parent d25131f2f2
commit cafbfc5fdf
4 changed files with 10 additions and 13 deletions

View File

@ -509,9 +509,6 @@ func backupctl(ctx context.Context, ctl *ctl) {
}
p := srcpath[len(srcDataDir)+1:]
if p == "queue" || p == "acme" || p == "tmp" {
if p == "tmp" {
xwarnx("skipping entire tmp directory", nil, mlog.Field("path", p))
}
return fs.SkipDir
}
l := strings.Split(p, string(filepath.Separator))