Delete only run

Matt McCutchen matt at
Thu Jan 8 08:58:55 GMT 2009

On Thu, 2009-01-08 at 09:42 +0100, Fabian Cenedese wrote:
> I have a backup on a NAS that is quite full. So when I try to backup
> changed stuff it may run out of space, but only because rsync may
> try to write a new file before deleting the old one. That not only means
> changed files in the same place but also moved files, so delete-before
> wouldn't help.

You may be misunderstanding --delete-before.  It makes rsync perform all
necessary deletions at the beginning of the run, and yours is precisely
the use case that motivated it.


More information about the rsync mailing list