LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-26-2012, 11:22 AM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,697

Rep: Reputation: 48
Multiple rsync's of data causing data to be recopied unnecessarily


I have a file server that we are doing rsync's of the data to two different servers for backup purposes. Only problem, is that it seems like every time it's trying to copy the same files over and over, overwriting the files that it should be skipping. I'm assuming this is because one rsync modifies a time stamp or something on the file, so the next rsync thinks it has been updated so copies it again.

Do you guys think that is the problem? I see options like --modify-window and stuff, but what do you think is best? I'm rsync'ing between ext3/4 volumes always.
 
Old 12-26-2012, 11:28 AM   #2
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,697

Original Poster
Rep: Reputation: 48
Looks like --size-only solved the issue the easiest in my testing, but do you think I had the scenario correct for the cause of the issue?
 
  


Reply


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
keeps one month data - rsync linuxguy08 Linux - Server 2 07-19-2011 09:31 PM
Need help understanding where this rsync script gets it's data Thaidog Programming 2 04-14-2011 10:17 AM
LXer: Data Replication Using rsync LXer Syndicated Linux News 0 11-11-2010 02:10 AM
backup script causing data to be lost on main server- RHEL fedora_user Linux - Newbie 4 02-16-2010 07:40 AM
Best Way To Move Data via Rsync? carlosinfl Linux - Server 3 09-23-2009 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:01 PM.

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