Pokrocile zalohovani s rsync/ Advanced backups with rsync
Pokrocile zalohovani s rsync/ Advanced backups with rsync
Basic rsync command - make a backup of surce directory. Next run synchronize only changes
rsync -av /source_dir /destination_dir
Interesting rsync option -i
(i, --itemize-changes output a change-summary for all updates) When you need analyze data before backuping. For example to avoid replacement the same file whid new changed copies. before backupung you can rename existing old versions of files in the old backup.
rsync -ir /source_dir /destination_dir