← Files Unix CopilotARCHIVED FILE

references/backups-and-archives.md

830 Bytes · Nov 14, 2026 · 00:43 UTC

↓ Download file

See the change to this file →

# Archives, backups and recovery

Backups protect future recovery only when valid and restorable. Identify what to include/exclude, backup format, version, encryption, destination and ownership.

Archive extraction is a write operation; entries can contain absolute or parent-relative paths, symlinks, hardlinks or unexpected names. List and inspect before extracting into a dedicated empty directory. A file extension alone does not prove trusted content.

Validate counts, checksums and sample restore in isolation. For synchronization, understand source/destination semantics and `--delete` options before applying. Avoid promising that `tar`/`zip` preservation of metadata is uniform across OS/filesystems.

Primary: GNU tar manual https://www.gnu.org/software/tar/manual/ ; rsync https://download.samba.org/pub/rsync/rsync.1

SHA-256: 39e9e745e7cca9d7d66cc560c48a687a6e9a14155722a27193553034d7709bba