LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2004, 08:45 AM   #1
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
Rsync not updating properly?


Hey all,

I'm having a weird problem with rsync on a FC2 system. I have this system mapped to a Windows server, and each day I have it running an rsync to copy over a daily folder, usually with anywhere between 1000-5000 files in it. So, I'm running the rsync command with the following parameters:

Code:
rsync --verbose --progress --stats --compress --recursive --times --perms --links /source /destination
I run this, and everything seems to work fine. It creates the folders, and moves most of the files. I say most, because sometimes it will show how many files there are total, and move all but 1 or 2. Sometimes it will read different amounts of files. And the really weird thing is that if I run the rsync again, it will copy at least half the files all over again, even though they're already there.

It's for this reason alone that I can't set up an automated cron job to simply rsync the top level folder each day. I have folders set up for the past couple years, and this copy job would take forever to do... and would apparently try to do it at least twice!

So, I guess I'm wondering if there are any known issues with running rsync from a Windows share to a local folder. I'm curious to know why it reads the number of files differently if I run the job back to back. For instance, today's folder had 4843 files. I've run it at least 10 times now, and I'll get 4840, 4841, 4842, and 4843, all within seconds of each other. Nothing is changing in this folder either, and nothing has changed since last night.

Any ideas what's up with this?
 
  


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
rsync not doinf its jub updating bird603568 Slackware 9 06-25-2005 12:19 PM
System won't boot properly knoppix doesn't initialize properly rodewan Linux - Software 0 01-23-2005 03:35 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
Nautilus filemanager not updating files properly Kilahchris Linux - Newbie 3 08-28-2004 10:01 PM
user control panel is not updating properly Peacedog LQ Suggestions & Feedback 8 05-18-2004 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:32 AM.

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
Open Source Consulting | Domain Registration