Affected versions: Debian 12

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Backup jobs fail partially, leaving inconsistent or incomplete dataset copies.

Environment & Reproduction

Happens when destination permissions, ACLs, or remote account rights are insufficient.

Root Cause Analysis

Rsync process cannot read source files or write metadata to target path.

Quick Triage

Determine whether errors are source-read, destination-write, or metadata preservation failures.

Step-by-Step Diagnosis

Review rsync exit codes, file ACLs, mount options, and user identity context.

Illustrative mockup for debian-12 β€” terminal_or_shell
Rsync transfer logs showing permission denied and failed file operations β€” Illustrative mockup β€” Progressive Robot

Solution – Primary Fix

Adjust ownership and ACLs, ensure target path write access, and rerun rsync with proper flags.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Illustrative mockup for debian-12 β€” log_or_config
ACL, ownership, and mount options checked for backup source and target β€” Illustrative mockup β€” Progressive Robot

Solution – Alternative Approaches

Use dedicated backup service account with controlled sudo rights for privileged paths.

Verification & Acceptance Criteria

Rsync exits with code 0 and post-run file integrity checks pass.

Rollback Plan

Remove partial destination snapshot and restore last successful backup set.

Prevention & Hardening

Preflight permission checks and immutable backup retention policies reduce silent drift.

rsync error code 13 permission denied; failed to set times; operation not permitted.

Related tutorial: View the step-by-step tutorial for debian-12.

View all debian-12 tutorials on the Tutorials Hub β†’

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

rsync manual, POSIX ACL documentation, and Debian backup operations guides.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β€” we respond within one business day.