restic backup /home/user

Category: Backup & Restore

restic backup /home/user

Back up a directory into the restic repository

Adds a new snapshot (point-in-time copy) of /home/user to the repository. Only changed file chunks are uploaded, so repeat runs are fast thanks to deduplication. List several paths on one line to back them up together. Related: restic snapshots shows what you have.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.