• 0 Posts
  • 5 Comments
Joined 12 days ago
cake
Cake day: September 22nd, 2025

help-circle
  • You get incremental backups (snapshots) by using

    --link-dest=DIR         hardlink to files in DIR when unchanged
    

    To use this you pass in the previous snapshot location as DIR and use a new destination directory for the current snapshot. This creates hard links in the new snapshot to the files which were unchanged from the previous snapshot, so only the new files are transferred, and there is no duplication of data on disk (for whole-file matches).

    This does of course require that all of the snapshots exist in the same filesystem, since you cannot hard-link across filesystems.