Chandana De Silva
2017-May-01 04:36 UTC
rsync with delete option creates and deletes dot files
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
--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. On 05/01/2017 12:36 AM, Chandana De Silva via rsync wrote:> 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. Kevin at FutureQuest.net (work) Orlando, Florida kmk at sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 224 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/rsync/attachments/20170501/ec9ce1b4/signature.sig>