LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-23-2001, 01:14 PM   #1
mstembri
LQ Newbie
 
Registered: May 2001
Posts: 14

Rep: Reputation: 0
rsync problem


Trying to synch two machines with rsynch.

1) Tried to sync files from main computer to backup. I set up a cron on the backup machine to update new/changed files (from the server machine) every minute. The command:

Code:
/usr/bin/rsync -azR server1:/var/www /
The problem is that it is copying over the entire directory, even though there is an identical file/directory structure already in place. It should only copy what's updated (which for now should be nothing).

Am I using the wrong switches?
 
Old 07-23-2001, 08:21 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
The -u option can be used for update only (does not overwrite newer files)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync problem venky_2_2000 Linux - Software 6 08-30-2005 07:48 AM
rsync problem bruse Linux - Networking 1 08-27-2005 09:26 AM
rsync problem... roshu Mandriva 1 04-11-2005 08:51 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
SSH and RSYNC problem pixie Linux - General 2 03-02-2004 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:29 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
Open Source Consulting | Domain Registration