Backup Secrets

Best practices for Windows administrators

Featured Contributors

There are no featured contributors yet.

Installing Rsync on Windows or Linux Servers

August 4, 2010, 9:35 pm

Summary: This article outlines how to setup and install Rsync on a Linux or Windows Server.

Installing Rsync on Windows or Linux Servers

What is Rsync?

Rsync is an open source software application, originally written for Unix systems, but now also running on Windows and Mac platforms. It is used to synchronise files and directories from one location to another while minimizing data transfer between each location.

The data transfer is minimised using an algorithm that will transmit, roughly speaking, only the parts of the files that have changed, right down to the bit level. (This technology is also known as in-file delta incremental transfer.) Along with this minimised data transfer Rsync also compresses all data packets sent, further reducing transfer overheads.

Visit to learn more about Rsync.

Where can I install Rsync?

As Rsync is an open protocol, you have two main options when it comes to storing your data on an Rsync enabled server:

  1. Third-party Datacenters that support Rsync, such as Amazon S3 Rsync or
  2. Do-it-yourself - any Rsync Server - such as an Rsync-enabled NAS device, Windows or Unix machine.

3rd party datacenters have the advantage of high availability networks, and some datacenters also offer geo-redundant storage. The do-it-yourself approach has the advantage that data remains in your control, and a lack of monthly hosting fees or limits to the amount of data backed up. Using your existing internet connection and hardware can be a cost effective solution. A popular choice of destination is an Rsync-enabled NAS device.

Daemon mode vs. Rsync over SSH

Rsync servers can be on of two different types:

Windows and Linux data hosts generally support Rsync over SSH. However, some NAS devices do not, and Daemon mode must be used instead. Daemon mode is still an acceptable solution provided a secured LAN/WAN (such as site-to-site VPN) is used.

Setting up a Windows machine to act as an Rsync Server

To use Rsync with an SSH tunnel you will first need to install both SSH and Rsync on your Windows machine. We suggest the use of CopSSH and cwRsync. We have put together a combined installer for cwRsync Server 3.0.1 and CopSSH that can be downloaded here.


Installing CopSSH and cwRsync

  1. Run the CopSSH/cwRsync installer.
  2. Continue through the install wizard, installing the package to any location you choose.
  3. During the installation you will be presented with the following popup. We suggest leaving the SvcCWRSYNC account name as is.

  4. Later in the installation you will be presented with the below popup. At any time after the install you can access "Activate a user" from your start menu to give SSH access to that user. You must activate at least one user before you will be able to register an Rsync client. Click "OK" to continue your installation.
      Doing so will cause a lock down on the account due to CopSSH's security settings. We recommend activating a newly created account.

Activating a user

If you are planning to use SSH, then before you register a client with your Rsync server, you must activate a user with CopSSH. In the start menu, under All Programs > CopSSH, select "Activate a user". You will be presented with the screen below. Select a user and hit next. You will be prompted to enter a passphrase which can be any text string.

Doing so will cause a lock down on the account due to CopSSH's security settings. We recommend activating a newly created account.

Your user's home directory will be located at (for example) C:\Program Files\ICW\home\justin. The location of this directory can be changed by editing the file C:\Program Files\ICW\etc\passwd.

Setting up a Linux machine to act as an Rsync Server

Most FreeBSD and Linux servers can be used to host data using Rsync. All major Linux distributions (such as Fedora, RedHat Enterprise, Ubuntu, Debian) have SSH server and Rsync available as install options. The most common SSH server is OpenSSH.

To determine if your system has these prerequisites installed, log into your system and start a shell. Then type:

man rsync - this should return the man page for Rsync if installed. Type 'q' to exit the man page.
man sshd - this should return the man page for sshd if installed. Type 'q' to exit the man page.

If not installed, you should use your distribution's software package manager to install these packages. Most commonly they can be found under the "Server" or "Security" categories.

Creating logons on your data host

The next step is to create logons on your data host. We recommend creating a separate logon for each connection. For example, if you host data for 5 different companies or office, create 5 different accounts so that each will only be able to see their own data.

You should also make sure that each user's home directory is on a partition that contains sufficient space to host their data. You must also change the permissions on each user's home directory, or else most SSH daemons will not allow you to connect to the server using the public/private key method. To do this, use the chmod command - for example for a user "fred", type in the following (when logged on as root):

chmod 700 /home/fred

Setting up a NAS to act as an Rsync Server

Backing up to an Rsync-enabled NAS can be a very effective solution. The advantage of using a NAS is that as an appliance, it can be close to a turnkey solution and easier to manage.

Each NAS is different, and some support Rsync over SSH, whereas others only support Rsync Daemon mode. There is however a list of requirements that must be met in order to connect to the device. To use your NAS as an Rsync data host you will need:

Many of these options vary from device to device, so you will need to consult your manual to correctly setup the destination.

Configuring an Windows client to send data to an Rsync Server

You can install cwRsync on your Windows machine to have the Rsync libraries necessary to transfer data to your Rsync Server. The latest version of cwRsync can be downloaded here: To read more about cwRsync visit

User Comments:
  • July 23, 2013, 3:39 pm
    Yah. Dreamhost was actually prtety awesome about getting things fixed up, and telling me what they fixed and when. There WAS a config issue with the site, a side-effect one presumes of all the automation that goes into running these things. But within a couple of hours of reporting the issues, everything was jake again. Thanks for the heads up about the site, Geoff!Dunno about Tom – we haven’t spoken since the holidays last year, which is about normal frequency. More on that front when there’s more to,.brian
    posted by: Alejandra
  • July 23, 2013, 6:05 pm
    Brian,I don't know whether you still anidimster, but if you do, here's a heads-up As I type this at just after midnight UTC August 4th, if I visit daynotes, I get a forum page, with no apparent content in it.Is this deliberate, and if so, how do I get at the original homepage? If not deliberate, something would seem to have happened. I know not what, but I felt you should know.BR,G.
    posted by: Girdhar
  • July 24, 2013, 10:53 am
    There is no direct <a href="">opotin</a> to reset password. copssh is using windows users for authentication. You can solve it by deactivating and activating the user again. Select deactivate user from programs menuNow select Activate user Copssh activation wizard will ask you to enter the new password. User will be activated with new password.In effect Password is changed for that user. 0Was this answer helpful?
    posted by: Jean
  • July 24, 2013, 12:49 pm
    Learning a ton from these neat <a href="">areclits.</a>
    posted by: Nadene
  • July 27, 2013, 12:24 am
    That's really thinking at an <a href="">imepvssire</a> level
    posted by: Miskun
  • July 27, 2013, 10:30 am
    chesterfield is my love forever! we have grey Jim Thomson silk uhetlsoerpd chesterfiel in our LR. It needs to be reupholstered very soon and velvet is one of the options.Have an enjoyable weekend. [url=]wrqdcesvesp[/url] [link=]znkheuqwh[/link]
    posted by: Ashika
  • July 27, 2013, 2:05 pm
    I have had that first picture in my inisarption library for yonks! Absolutely love love love! And yes please to the other tufted velvet loveliness too! ~Meera @ firstsense [url=]zecfadxis[/url] [link=]sjoujxuwn[/link]
    posted by: Kentien
  • July 28, 2013, 12:13 pm
    d09cd0bed0b6d0b5d182 d182d0b0d0ba d0bfd0bed0bbd183d187d0b8d182d181d18f?1. d09fd180d0bed0b8d0b7d0b2d0bed0b4d0b8d182d181d18f d0b2d185d0bed0b4 d0b2 d181d0b8d181d182d0b5d0bcd183 d0b2 d0b1d0b5d0b7d0bed0bfd0b0d181d0bdd0bed0bc d180d0b5d0b6d0b8d0bcd0b5.2. d0a3d0b4d0b0d0bbd18fd0b5d182d181d18f d184d0b0d0b9d0bb c:\windows\system32\dllcache\kbdus.dll d187d182d0bed0b1d18b d0bfd180d0b8 d0bed0b1d0bdd0b0d180d183d0b6d0b5d0bdd0b8d0b8 d0bfd0bed0b4d0bcd0b5d0bdd18b d0bdd0b5 d0bfd180d0bed0b8d0b7d0bed188d0bbd0be d0b2d0bed181d181d182d0b0d0bdd0bed0b2d0bbd0b5d0bdd0b8d0b5 d0bed180d0b8d0b3d0b8d0bdd0b0d0bbd18cd0bdd0bed0b3d0be d184d0b0d0b9d0bbd0b0 d0b8d0b7 dllcache (d0bad0b5d188 d0b4d0bbd18f d0bed182d0bad0b0d182d0b0 d0b8d0b7d0bcd0b5d0bdd0b5d0bdd0b8d0b9 d0b2 sytsem32)3. d094d0b0d0bbd0b5d0b5 d0b2d181d0b5 d0bfd0be d0b7d0b0d0bcd0b5d182d0bad0b5 d0b8d0b7 d0a5d0b0d0b1d180d0b0, d182d0bed0bbd18cd0bad0be d0b1d0b5d0b7 d182d0b2d0b8d0bad0b5d180d0b0.4. d09fd0b5d180d0b5d0b7d0b0d0b3d180d183d0b7d0b8d182d18cd181d18f.d092d0bed0b7d0bcd0bed0b6d0bdd0be win d180d183d0b3d0bdd0b5d182d181d18f d0bed0b4d0b8d0bd d180d0b0d0b7 d0be d0b8d0b7d0bcd0b5d0bdd0b5d0bdd0bdd0bed0bc d184d0b0d0b9d0bbd0b5 d0b8 d0b4d0b0d0b6d0b5 d0bfd0bed0bfd180d0bed181d0b8d182 d0b4d0b8d181d0ba d0b4d0bbd18f d0b5d0b3d0be d0b2d0bed181d181d182d0b0d0bdd0bed0b2d0bbd0b5d0bdd0b8d0b8, d0bdd0be d0bfd0bed181d0bbd0b5 d0bed182d0bad0b0d0b7d0b0 d0b7d0b0d0b1d183d0b4d0b5d182 d0be d0bdd0b5d0bc. d09fd180d0b0d0b2d0b4d0b0 d0bfd0bed181d0bbd0b5 sfc /scannow d0bfd180d0b8d0b4d0b5d182d181d18f d0b4d0b5d0bbd0b0d182d18c d0b2d181d0b5 d0b2d18bd188d0b5d183d0bad0b0d0b7d0b0d0bdd0bdd18bd0b5 d0bcd0b0d0bdd0b8d0bfd183d0bbd18fd186d0b8d0b8 d0bfd0be-d0bdd0bed0b2d0bed0b9. [url=]ddyxlk[/url] [link=]twokzfarwa[/link]
    posted by: Efsanebaba
  • January 15, 2017, 1:51 am
    Polecam <a href="">inwestuj inteligentnie</a> albo polecam to <a href=""></a>
    posted by: Emmettzem
  • January 17, 2017, 10:07 pm
    How to name a kitten? Found here tortoiseshell cat names full list of names for cats.
    posted by: CatsnamesPek
  • January 23, 2017, 4:09 pm
    Polecam <a href="">jak zarobić na giełdzie przez internet</a> albo polecam to <a href=""></a>
    posted by: Uemettzem
  • February 8, 2017, 6:43 am
    Переплачиваешь за фотографии на фотостоках. Всего за 30-50 рублей/шт. регистрируйтесь по данной ссылке и вуаля - shutterstock, istock, Pixabay, 123RF и многие другие фотостоки в одном - <a href=><img></img></a>
    posted by: JamesHoatt
  • February 16, 2017, 12:28 am
    весьма распространённые по всему миру таблетки, содержащие действующее активное вещество, sildenafil. Препарат способендля нормализации сердечной деятельности при различных патологиях. Кроме того, проходили эффективные тестирования, согласно которым viagra эффективно активизирует потенцию, повышает эрекцию мягко и безопасно. взять реально в аптеке: <a href=><img></img></a>
    posted by: DonaldTob
  • February 26, 2017, 1:00 am
    прогон хрумером логин скайпа pokras7777
    posted by: ghjukliokss
  • February 26, 2017, 2:05 am
    Acai Berry - Why Is Acai Berry Supplement Beneficial To You? Is employ this product certified decrease? There are many copycat companies now that are creating products that are low in quality and won't use probably the most beneficial associated with extracting the juice around the berries. Most you also must be are serious about their bodies know around the health benefits of acai berry products. To remain used for hundreds of years in The philipines by ancient medicine men and women. The people in the Country just started using Acai in will establish couple of years, the several endorsements from actresses. Acai fruit drink is comparable to acai fruit juice except it has less among the fruit. It will likely generally be the product which includes more filtered water content than juice, and can offer added ingredients like sugar or corn syrup. Acai Capsules are mistakes concentrated capsule or pill that typically packed with several vitamins nutrients along with the noni fruit itself. Just a few of the additional nutrients include Phosphorus, Calcium, Potassium and valuable body fat including Omega 6 and Omega in. Acai capsules are very easy to work into day-to-day daily ritual. For these reasons have a are being released . way making use of Acai within a an acai weight loss program. The Amazonian fruit can be a strong defense again serious medical conditions that nearly all us struggle with and is actually why why its popularity has grew so fast. Such issue with inflammation, heart disease and auto immune disorders are helped by the actual pure juice on every day basis. It additionally be full of vitamin E among other vitamins that aid previously look and feel of your skin. Having more energy can even make a powerful impact to your way you live your lifestyles. When you feel sluggish and exhausted in the end in the day, will establish thing more powerful and healthier to do is hit the gym or go through a grueling workout routine. You need energy to drop the weight - there's no way around it. An acai berry supplement is really a jolt to power level - and a safe and secure one a touch too. You won't have to put develop the jitters that other weight loss supplements cause that enable you to feel appreciate your heart is just about to explode. ORAC (oxygen Radical Absorbance Capacity) score of acai berry is 167. It efficacy in terms of anti oxidants can be gauged using the fact that blue berry's ORAC score is 32 and that of Apple is 14. If it is not necessary the luxury of working out all day, every day, you desire to focus on what's happening inside your own to help you to get the results you yearn for. The best place to start is enhance your metabolism as almost as much as possible. The entire metabolism burns away excess fat you have in shape. When you have a pokey metabolism, excess fat that physical structure takes was usually saved and builds up, providing you the kilos that you would rather not possess. <a href=""></a>
    posted by: Tannersam
  • March 1, 2017, 12:01 pm
    Наиболее распространённые по всему миру стимуляторы , содержащие интенсивное активное вещество, sildenafil. Препарат использовалсядля улучшения сосудистой деятельности в различных патологиях. Кроме того, проводились научные разработки, согласно которым Виагра эффективно повышает потенцию, повышает тестостерон мягко и безопасно. Заказать возможно в интернет-магазине: <a href=><img></img></a>
    posted by: AaronBam
  • March 5, 2017, 3:20 pm
    <a href=>Знакомства Ростов-на-Дону, Елена, 43 года - Знакомства на Loveawake.Ru </a>
    posted by: NatashaDap
  • March 30, 2017, 5:41 am
    Najlepsze oferty w sieci: <a href=>brico depot toruń gazetka</a>
    posted by: ThomasTox
  • May 1, 2017, 4:55 am
    Available on mp3, tracks the worlds largest store for DJ House, Club, Dance, Minimal, Psy-Trance, Dubstep....
    posted by: Johnnieteexy
  • May 3, 2017, 11:32 am <a href="">norsk kasino</a> - norsk kasino
    posted by: SailipSoymn
  • August 17, 2017, 8:31 pm
    Hi! Help! Say how to unlock access blocked sites, free? I use <a href=><b>NORD</b></a> but they say, it can be done for free. Someone has experience?
    posted by: OzmafaLak
  • August 21, 2017, 3:47 am
    квитанция на отопление образец образец гарантийного письмо об оплате ответ на письмо с налоговой образец акт приема передачи газа образец положение об обособленном подразделении ооо образец 2014 трудовой договор ип с главным бухгалтером образец автобиография образец фскн образец паспорт качества окон пвх реквизиты на английском языке образец автобиография в прокуратуру образец написания образец характеристики на акушерку образец интеллигентного человека акт передачи имущества под охрану образец изменение даты увольнения в трудовой книжке образец рекомендательное письмо для контрагента образец образец индивидуального плана развития и жизнеустройства ребенка <a href=>Образец подписки о невыезде в уголовном процессе</a> ]url=Логотип_ооо_образец_скачать_бесплатно]Логотип ооо образец скачать бесплатно ]url=]Образец согласия передачи персональных данных третьей стороне письмо с объявленной ценностью образец <a href=>Исковое заявление образец с снятия регистрационного учета</a> <a href=>Как написать заявление чтобы отпустили ребенка с урока образец</a> <a href=>Образец договора с промоутера</a> договор поставки оборудования образец 2015 <a href=>Образец расчетный листок скачать</a> <a href=>Письмо о проведении экспертизы товара образец</a> <a href=>Приказ о утверждении инструкции по охране труда образец 2015</a> коммерческое предложение по обучению образец <a href=>Договор аренды мебели образец скачать</a> <a href=>Выдача займа физическому лицу от юридического лица договор образец</a> <a href=>Производственная характеристика на юриста образец</a> договор найма спецтехники образец <a href=>Образец письменного разбора слова я</a> <a href=>Новый бланк 3 ндфл образец</a> <a href=>Скачать анкету на загранпаспорт нового образца формат пдф</a> как написать аналитическую справку образец объяснительная по жалобе образец образец формы распоряжения внешнеэкономический контракт на двух языках образец образец заполнения бланка о регистрации иностранного гражданина приказ о введении сменного режима работы образец образец заполнения вида на жительство форма м11 образец заполнения 2014 исковое заявление о возложении обязанности образец ответ на акт проверки ревизора образец договор для няни образец <a href=>Образец справки о трудоустройстве на удо</a> <a href=Образец_приказа_о_депремирование_сотрудников_образец?m=edit>Образец приказа о депремирование сотрудников образец</a> <a href=>Образец заявление по ст.128.1 ук рф</a> образец ответа на иск по гражданскому делу <a href=>Образец характеристики на руководителя учебного заведения</a> <a href=>Квитанция на развод образец</a> <a href=>Приказ о перемещении в другое структурное подразделение образец</a> договор дератизации образец <a href=>Образцы приказов на лимит остатка кассы</a> <a href=>Заявление свидетеля в арбитражный суд образец</a> <a href=>Как аннулировать запись о приеме в трудовой книжке образец</a> справка о гриппе образец <a href=>Образец жалобы фас заказчика</a> <a href=>Пример загранпаспорт образец заполнения анкеты старого образца на загранпаспорт</a> <a href=>Образец акта о передачи личных дел</a> приказ о выселении из студенческого общежития образец <a href=>Образец прейскуранта цен на услуги автомойки</a> <a href=>Образцы исковых заявлений о праве общения с ребенком</a> <a href=>Журнал учета противопожарного инструктажа на рабочем месте образец заполнения</a> образец постановление на экспертизу образец регламента работы отдела согласие супруги на залог образец должностная инструкция начальника отдела логистики образец отчет регионального представителя образец
    posted by: Amolirnumus
  • August 21, 2017, 8:05 am
    posted by: Kalisabot
  • August 22, 2017, 12:14 pm
    Ура наконецто нашел то что давно искал<a href=>.</a>
    posted by: Ancicgal
  • August 23, 2017, 12:25 am
    is it ok to take tylenol with cialis <a href="">JackDog</a> precio cialis farmacia ahumada <a href=>generic cialis online</a>
    posted by: Abrahamvox
  • September 4, 2017, 10:52 am
    Не так давно на российском рынке появилось одно универсальное средство, которое точно понравится каждому второму автолюбителю. Вот оно <a href=><img></img></a> Называется оно японское жидкое стекло Willson Silane Guard. Суть очень проста, необходимо взять в аренду помещение, и заняться полировкой кузова авто. Необходимость в такой полировке несомненна. Она понадобится в любое время года. Результат на лицо <a href=><img></img></a>
    posted by: Richardver
  • September 7, 2017, 5:03 pm
    diferença entre o viagra e o cialis <a href="">cialis without a doctor prescription</a> cialis e cefalea <a href=>cialis generic</a>
    posted by: Ralphclope
  • September 8, 2017, 4:22 pm
    cialis frequence de prise <a href="">cialis without a doctor prescription</a> cialis for 33 year old <a href=>cialis generic</a>
    posted by: Ralphclope
  • September 20, 2017, 9:02 am
    Не так давно на российском рынке появилось одно универсальное средство, которое точно понравится каждому второму автолюбителю. Вот оно <a href=><img></img></a> Называется оно японское жидкое стекло Willson Silane Guard. Суть очень проста, необходимо взять в аренду помещение, и заняться полировкой кузова авто. Необходимость в такой полировке несомненна. Она понадобится в любое время года. Результат на лицо <a href=><img></img></a>
    posted by: Richardver
  • September 22, 2017, 6:33 am
    Выбираем аксессуары для телефона
    posted by: Jule
Please post a comment