02-05-2009
Quote:
Originally Posted by
danmero
Usage: rsync [OPTION]... SRC [SRC]... DEST
Just switch SRC(source) and DEST(destination).
Thanks for your reply.
I have to setup configuration for another computer so that the rsync works.
Just like doing the configuration for twice.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have to update my files to 2-4 servers and I tar all the files and ftp to every server. I have heard about Rsync, but are there any other ways that are the same as Rsync?> (1 Reply)
Discussion started by: darknite87
1 Replies
2. UNIX for Dummies Questions & Answers
Hi guys,
I will be copying data from one FS to another. (only once)
These are local Filesystems...
Which tool would be more efficient to use in this case?
There is a huge amount of data that needs to be copied... (1.5TB)
John (1 Reply)
Discussion started by: jsy
1 Replies
3. Shell Programming and Scripting
I'm just trying to use rsync to retreive the file from different servers with script. i want to look for a file, if the file exists, then retreive the file from different servers, and put it in one file. I have the following command.
rsync -v -e ssh jerry@openbsd.nixcraft.in:~/webroot.txt /tmp ... (5 Replies)
Discussion started by: s_linux
5 Replies
4. Programming
Problem
- Linux Client/Server Socket Application: Preventing Client from quitting on server crash
Hi,
I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64.
I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Discussion started by: varun.nagpaal
2 Replies
5. Shell Programming and Scripting
Am I correct in assuming that the following command:
rsync -a /a /b
does not make any changes on /a if there are files on /b that are newer (2 Replies)
Discussion started by: jgt
2 Replies
6. SuSE
I'm trying to use rsync to sync some data from my windows laptop to my linux openSUSE home sytem using cwRsync.
The process has always worked until I got a new laptop and more or less at the same time decided to rebuild my linux box.
on linux
rsync --version
rsync version 3.0.7 protocol... (2 Replies)
Discussion started by: giessenw
2 Replies
7. UNIX for Dummies Questions & Answers
Hi everyone,
I'm pretty new to rsync and I've been tasked to "fix" an existing .sh to make it work the way I need it to.
I have the following rsync set up on a cron job:
/usr/local/bin/rsync --stats -qPzrtpl --delete --password-file=/var/run/.appprodrsync ... (2 Replies)
Discussion started by: Russell P
2 Replies
8. AIX
Hi.
I change my client's IP and hostname but I forgot to change anything on the master. How can I redefine or modify my client's resource from my master, or with using smit niminit from my client ?
Tks (2 Replies)
Discussion started by: stephnane
2 Replies
9. Shell Programming and Scripting
I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location
I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies
LEARN ABOUT DEBIAN
ocf_heartbeat_rsyncd
OCF_HEARTBEAT_RSYNCD(7) OCF resource agents OCF_HEARTBEAT_RSYNCD(7)
NAME
ocf_heartbeat_rsyncd - Manages an rsync daemon
SYNOPSIS
rsyncd [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
This script manages rsync daemon
SUPPORTED PARAMETERS
binpath
The rsync binary path. For example, "/usr/bin/rsync" (optional, string, default rsync)
conffile
The rsync daemon configuration file name with full path. For example, "/etc/rsyncd.conf" (optional, string, default /etc/rsyncd.conf)
bwlimit
This option allows you to specify a maximum transfer rate in kilobytes per second. This option is most effective when using rsync with
large files (several megabytes and up). Due to the nature of rsync transfers, blocks of data are sent, then if rsync determines the
transfer was too fast, it will wait before sending the next data block. The result is an average transfer rate equaling the specified
limit. A value of zero specifies no limit. (optional, string, no default)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 20s.
stop
Stops the resource. Suggested minimum timeout: 20s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 60s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 20s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
EXAMPLE
The following is an example configuration for a rsyncd resource using the crm(8) shell:
primitive p_rsyncd ocf:heartbeat:rsyncd
op monitor depth="0" timeout="20s" interval="60s"
SEE ALSO
http://www.linux-ha.org/wiki/rsyncd_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_RSYNCD(7)