Rsync adalah tool sinkronisasi file paling efisien di Linux. Hanya mentransfer perbedaan (delta), bukan seluruh file.
# Sinkronisasi lokal\nrsync -av /source/ /destination/\n\n# Sinkronisasi remote via SSH\nrsync -avz -e ssh /local/ user@remote:/remote/rsync -av --exclude="node_modules" --exclude=".git" /source/ /dest/rsync -av --bwlimit=1000 /source/ user@remote:/dest/Selalu test dulu dengan --dry-run sebelum eksekusi sebenarnya.
0 2 * * * rsync -avz /var/www/ backup@backup-server:/backups/Rsync adalah alat backup paling handal untuk Linux. Cepat, hemat bandwidth, dan otomatis.