rsync tips

  • snapshot style backups
  • using filters
  • securing access

Links

Here is how the "rsync --link-dest=DIR" algorithm creates files in destination:

    if destination does not exists,
        create destination

    if DIR exists (where DIR is the previous backup),
        compare source to DIR
        hard link unchanged files to DIR
        copy changed files from source
    else
        copy all files from source

By default, rsync does not compressed files. Restoring files is as simple as a cp command.