Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-15-2014, 05:31 PM   #1
LQ Newbie
Registered: Oct 2014
Location: Land of the cheese, and home of the beer.
Posts: 7

Rep: Reputation: 0
To Rsync or not to Rsync?

Hi, and please be patient.

I am a total greenhorn (I would need a few lessons with Linux to be considered even a newbie).

I have been (by being the man with one eye in the kingdom of the blind) given the task of handling our company's back-ups. We currently have 25 employees, and we all run Windows. I run a daily and a monthly backup for each user. We are still running without a server, so just a simple peer-to-peer network; and yes I back-up to two different locales to avoid the 20 connection limit.

I haven't had any problems until now. "We" want to have our back-ups replicated off site, as we have grown into a mid-sized corporation, and are continuing to grow at a good clip. I have a Synology NAS and a QNAP NAS that I am using for storing our back-ups.

I am currently using Cobian for a daily backup of two directories on each user, and that size varies from 2-25 GB per day, based upon the user. I use Acronis to run a monthly image of each computer which varies from 45-250 GB in size, again based upon the user.

From what I have read so far, Rsync seems to be the best way to copy information from my Synology NAS at the office, to the QNAP NAS which will be off-site.

Now for some questions...

Will Rsync be able to perform a block level, "incremental" back-up so as not to use all of my bandwidth each day?

Should I be using Rsync on each workstation to backup daily as well? (Instead of Cobian) I am concerned that the single zip file from Cobian may leave some critical files corrupted on an "incremental" backup.

I have been toying with the Rsync but can not get it to connect over my LAN from my computer to the Synology (I do have SSH enabled on the Synology - but I again have no clue how to make that work either).

The batch file I had written to attempt to backup the users folder on WTL's computer is as follows...
SET CWRSYNCHOME=C:\Program Files (x86)\cwRsync\bin\CWRSYNC
SET PATH=C:\Program Files (x86)\cwRsync\bin;C:\WTL\
rsync -az -progress -e ssh /cygdrive/c/users/WTL/ root@

Now I am confident that I didn't follow the instructions properly, as it doesn't work. I get the following, root@'s password:
access denied, please try again. I do not have the NAS password protected. Is that my problem? Does SSH require that I have a password on my admin (or root in this case) account in order to work?

My apologies, and my thanks for any insight, and assistance.
Old 10-15-2014, 06:27 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,864

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Originally Posted by Bluehaze43 View Post
Will Rsync be able to perform a block level, "incremental" back-up so as not to use all of my bandwidth each day?
You can tell rsync what directories and/or subdirectories to back up. You can to tell rsync to only copy the files and/or directories to the backup which are newer than the backup copy, thus saving bandwidth as compared to a total copy of every file.

Originally Posted by Bluehaze43 View Post
Should I be using Rsync on each workstation to backup daily as well? (Instead of Cobian) I am concerned that the single zip file from Cobian may leave some critical files corrupted on an "incremental" backup.
Compressing files and/or packing multiple files into one backup file saves storage space. On the negative side they also complicate and slow down the restore process. If you have adequate backup space available then I recommend that you do not use compression and do not pack several files into a single backup file.

I do not have enough experience with SSH to answer your SSH questions. Perhaps somebody else can answer those.

Steve Stites
Old 10-15-2014, 06:59 PM   #3
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
You should setup passwordless SSH. Here are a couple of HOWTOs --> one, two Also, why backup as root? You should just backup as a regular user.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync giving rsync: fatal: open failed: error SunilEA Linux - Newbie 1 01-10-2014 02:24 PM
rsync solaris + rsync: fatal: open failed: xxx_anuj_xxx Solaris / OpenSolaris 25 02-23-2012 04:23 AM
[SOLVED] rsync execution issue with crontab - Have given full path to rsync too!! Prabagaran Linux - Server 6 04-15-2011 02:39 AM
[SOLVED] rsync fails in cron - ssh key prob for rsync? jonathansfl Linux - Server 6 12-09-2010 10:48 AM
Could I run rsync to download files from a server without rsync daemon? Richard.Yang Linux - Software 1 09-18-2009 05:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration