# Problems using rsync to replicate files

**URL:** <https://forums.suse.com/t/problems-using-rsync-to-replicate-files/28985>\
**Category:** SLES Configure-Administer\
**Created:** [November 16, 2016, 5:16pm UTC](https://forums.suse.com/t/problems-using-rsync-to-replicate-files/28985 "2016-11-16T17:16:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jqueiroz](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jqueiroz](https://forums.suse.com/u/jqueiroz)\
**Post date:** [November 16, 2016, 5:16pm UTC](https://forums.suse.com/t/problems-using-rsync-to-replicate-files/28985/1 "2016-11-16T17:16:13Z")

</div>

Hi,  
We have a central backup system, and we use some scripts to replicate sensitive files from our servers to the central backup.  
A problem arises when we try to replicate the /etc dir to the central backup, because we get errors on files which have colons (":") on the names.

Does anyone knows how to avoid this error?

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [November 16, 2016, 6:15pm UTC](https://forums.suse.com/t/problems-using-rsync-to-replicate-files/28985/2 "2016-11-16T18:15:53Z")

</div>

It would help if you could show the commands as they are being executed.  
The colon is used as a delimiter on the rsync command line between the  
remote host and a path on that host to which files are copied, so if you  
have a colon in a path then it may need to be escaped, or handled  
somewhere other than the command line (such as an include file).

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…
