Usage: sayebackup.sh [options] sources... OPTIONS: --inc make reverse incremental backup --dry run and show rsync with --dry-run option --help print usage summary -C <dir> backup directory (default: '.') -E <exclfile> file with rsync exclude list -l <account> ssh user name to use (see ssh(1) -l) -i <identity> ssh identity key file to use (see ssh(1) -i) -P <sshport> ssh port to use on the remote system -L <linkdest> hardlink dest files from <linkdest>/ -o <prefix> output directory name (default: 'bak') -q, --quiet suppress progress information -c perform checksum based file content comparisons --one-file-system -x disable crossing of filesystem boundaries --version script and rsync versions DESCRIPTION: This script creates full or reverse incremental backups using the rsync(1) command. Backup directory names contain the date and time of each backup run to allow sorting and selective pruning. At the end of each successful backup run, a symlink '*-current' is updated to always point at the latest backup. To reduce remote file transfers, the '-L' option can be used (possibly multiple times) to specify existing local file trees from which files will be hard-linked into the backup. Full Backups: Upon each invocation, a new backup directory is created that contains all files of the source system. Hard links are created to files of previous backups where possible, so extra storage space is only required for contents that changed between backups. Incremental Backups: In incremental mode, the most recent backup is always a full backup, while the previous full backup is degraded to a reverse incremental backup, which only contains differences between the current and the last backup. RSYNC_BINARY Environment variable used to override the rsync binary path.