# Backups

Backups: Backups That Work: rsync.

Updated: November 10, 2026

1. [Backups That Work: rsync](https://www.ask-codey.com/lessons/bash-rsync) (Journeyman): rsync -a copies a folder and, every time after the first, only the files that changed; a slash at the end of the source means "what's inside"; --delete makes the backup a mirror, so rehearse it with -n first; and a backup counts only once you've restored from it and compared the result with diff -r.

Source: https://www.ask-codey.com/courses/bash-in-depth/topics/bash-backups
