Table of Contents
DokuWiki Folder Backup CronJob
Meaning
These alerts monitor the Kubernetes Job created by the DokuWiki folder backup CronJob.
Alerts:
- `DokuWikiFolderBackupSucceeded` → Backup Job succeeded; DokuWiki folders (pages, media, plugins, configs) were archived and uploaded to MinIO.
- `DokuWikiFolderBackupFailed` → Backup Job failed; folders were not archived or upload to MinIO failed.
Impact
* Success → Backup completed successfully. Data is safely stored in MinIO. * Failure → DokuWiki data folders may not be backed up. Could affect disaster recovery if restoration is needed.
Diagnosis
1. Check Kubernetes Job status:
kubectl get job dokuwiki-folders-backup-job -n <NAMESPACE> kubectl describe job dokuwiki-folders-backup-job -n <NAMESPACE>
2. Check logs of the Job pod:
kubectl logs job/dokuwiki-folders-backup-job -n <NAMESPACE>
3. Verify backup in MinIO:
mc ls <MINIO_ALIAS>/dokuwiki-backups/ mc stat <MINIO_ALIAS>/dokuwiki-backups/<backup_file>
4. Check PVC mount if used:
kubectl get pvc -n <NAMESPACE> kubectl describe pvc <PVC_NAME> -n <NAMESPACE>
Possible Causes of Failure
* Pod in CrashLoopBackOff, OOMKilled, or Failed * PVC mount unavailable or insufficient space * MinIO credentials missing or misconfigured * Network issues preventing upload to MinIO * Disk space or permissions issues on the node * CronJob manifest misconfiguration
Mitigation
1. Inspect Job pod logs to identify errors. 2. Verify MinIO credentials and connectivity. 3. Check PVC status and disk availability. 4. Retry backup manually if needed:
kubectl create job --from=cronjob/dokuwiki-folders-backup-job dokuwiki-folders-backup-job-manual -n <NAMESPACE>
5. Correct any misconfigurations in CronJob YAML or MinIO bucket policy. 6. Escalate to SRE or admin team if repeated failures occur.
Escalation
* Escalate if backups fail for more than one consecutive run. * Notify on-call engineer if production DokuWiki data may not be recoverable.
Related Alerts
* DokuWikiFolderBackupSucceeded * DokuWikiFolderBackupFailed * HostOutOfDiskSpace (node running backup Job) * KubernetesPodCrashLooping
Related Dashboards
* Kubernetes → Jobs & CronJobs (namespace: <NAMESPACE>) * Grafana → Backup Job status metrics * MinIO → Backup object listings
