Die Basis bildet dabei das erste Vollbackup wie man es auch von der inkrementellen Backup-Software kennt:
backup_timestamp=“$(date +%Y%m%d_%H%M%S)“
rsync -av –stats „${source_path}“ „${backup_path}/${backup_timestamp}“
Bei allen folgenden Backups nutzen wir aber nun über ‚–link-dest‘ das Backup des Vortages: