Discussion:
rsync with delete option creates and deletes dot files
Chandana De Silva via rsync
2017-05-01 04:36:52 UTC
Permalink
All,
I have an rsync based backup process which uses rsyncd on the source,
to backup to a directory on the client.

I have rsync version 3.1.2 on the client and 2.6.8 on the source host
(daemon).

The rysnc command I use is;

/usr/bin/rsync -aHzS --partial --numeric-ids --delete --timeout=3600 \
--contimeout=180 \
--exclude-from=/path/to/excludelist \
--log-file=/path/to/logfile \
<sourcehostname>::host_backup /path/to/dest_dir

The rsync log on the client shows the following;

<quote>
2017/05/01 04:19:41 [90534] receiving file list
2017/05/01 04:20:03 [90534] *deleting bin/.zcat.19441
2017/05/01 04:20:03 [90534] *deleting bin/.gzip.19441
...
</quote>

Is this normal, or is there some configuration I am missing ?

Thanks
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Kevin Korb via rsync
2017-05-01 11:07:58 UTC
Permalink
--delete means delete from the target what isn't on the source (except
what is excluded). Those look like temp files. Possibly from another
rsync that is running at the same time.
Post by Chandana De Silva via rsync
All,
I have an rsync based backup process which uses rsyncd on the source,
to backup to a directory on the client.
I have rsync version 3.1.2 on the client and 2.6.8 on the source host
(daemon).
The rysnc command I use is;
/usr/bin/rsync -aHzS --partial --numeric-ids --delete --timeout=3600 \
--contimeout=180 \
--exclude-from=/path/to/excludelist \
--log-file=/path/to/logfile \
<sourcehostname>::host_backup /path/to/dest_dir
The rsync log on the client shows the following;
<quote>
2017/05/01 04:19:41 [90534] receiving file list
2017/05/01 04:20:03 [90534] *deleting bin/.zcat.19441
2017/05/01 04:20:03 [90534] *deleting bin/.gzip.19441
...
</quote>
Is this normal, or is there some configuration I am missing ?
Thanks
--
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. ***@FutureQuest.net (work)
Orlando, Florida ***@sanitarium.net (personal)
Web page: http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
Loading...