FG

Rsync and making sure all files have been transferred before applying the changes

Fresh3 days ago
Mar 15, 20266796 views
Confidence Score0%
0%

Problem

I was wondering if there is a way to tell rsync to only apply changes (delete, overwrite, create) only if all files in the file list transferred successfully. Just to clarify, this would essentially be putting a transaction around the transfer.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Rsync and making sure all files have been transferred before applying the changes

Low Risk

You could use the option, or if you want really atomic updates, the script (included in Debian as ).

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment